Move Platform9 Logs Directory to a Different FileSystem to Mitigate Space Issues on PMK Nodes.

Problem

Platform9 logs directory mounted on the root filesystem needs to be moved to a separate filesystem in order to avoid space issues on the root filesystem for PMK nodes.

Environment

  • Platform9 Managed Kubernetes - All Versions

  • Logging

Resolution

  • Stop the services on the node in the following sequence.

systemctl stop pf9-hostagent.service
systemctl stop pf9-nodeletd.service
systemctl stop pf9-muster.service
systemctl stop pf9-comms.service
systemctl stop pf9-sidekick.service
  • Verify once using # systemctl list-units

  • Create a separate filesystem /var/log/pf9with enough space and Copy the old files to this filesystem. Make sure the new entry is added to /etc/fstab

  • Now reboot the node so that pf9-hostagent will restart pf9-nodelet which in turn will start PMK stack (this might take some time) which will configure Docker and then start pf9-kubelet.

Last updated