Installing the collector

The RPM package pscollect-<version>.<arch>.rpm holds all files required for configuring and running the collector and the agents. This package must be installed on each compute node monitored afterwards. It also must be installed on an additional collector node, unless this node is already part of the cluster. On the collector node, the command pscollect implementing the collector and database is run. Whereas on the monitored nodes, only the agent script psvalue is started, remotely controlled by the collector. Installing this package requires 10MB of disk space located in /opt.

Important

The pscollect command requires a glibc version of 2.3.3-118 or higher. Using previous versions of glibc will result in crashes of pscollect command due to a glibc problem.

To install the collector, the RPM package pscollect-<version>-<arch>.rpm must be installed using the command

    rpm -Uv pscollect-5.0.11-1.x86_64.rpm
      

While installing the package, an additional unprivileged user account called pscd is created on this node. This user will run the collector and agent scripts.

To enable the startup of the agents from the collector, a ssh auto-login for user pscd from the collector node to all other nodes must be enabled. See the section called “Configuring the collector – enable pscd auto-login” for more information.

On the collector node, the configuration file /etc/pscollect/cluster.conf must be edited to set up the list of monitored nodes, switches, etc. See the section called “Configuring the collector – step by step” for details. In addition, a valid license file must be copied to /etc/pscollect/license.

After installing the package on all nodes and configuring the collector, the pscollect daemon may be started on the collector node using

    /etc/init.d/pscollect start
      

All agents are started automatically by the collector (see note about ssh auto-login above). In addition, the required database files are created and initialized, if not already present. This script may also be used to install the collector as a service which might be started up while booting the system. Refer to insserv(8) and chkconfig(8) for details.