Configure Guardian/Local Interface to show statistics when CloudLinux/CageFS is used

From Wiki

(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "If you have CloudLinux on your servers and you also use CageFS you need to follow the steps below in order to see the Guardian statistics in the Local Interface: 1. Copy the Gua...")
Newer edit →

Revision as of 10:54, 7 April 2014

If you have CloudLinux on your servers and you also use CageFS you need to follow the steps below in order to see the Guardian statistics in the Local Interface:

1. Copy the Guardian status file from the global /tmp folder to your /usr/share/cagefs-skeleton/dev/shm directory:

 cp -a /tmp/guardian.status /usr/share/cagefs-skeleton/dev/shm/

2. Modify the following configuration files:

 /usr/local/1h/etc/guardian.conf
 /usr/local/1h/etc/lifesigns.conf
 /usr/local/1h/etc/templar.conf
 /usr/local/1h/lib/perl/config_checks.pm
 /home/1h/etc/guardian.conf
 /etc/guardian.conf

Replace the "/tmp/guardian.status" string with the following string:

/usr/share/cagefs-skeleton/dev/shm/guardian.status

You also need to edit one more configuration file:

 /home/1h/etc/portal_local.conf

but this time replace the default guardian.status location with the following string:

/dev/shm/guardian.status

3. Restart all of the services. You can use the following command:

 /etc/init.d/templar restart; /etc/init.d/guardian stop && /etc/init.d/lifesigns restart && /etc/init.d/guardian start
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox