Manually installing the Performance Monitoring tool
The Performance Monitoring tool is automatically installed by the installation toolkit. You can also install the Performance Monitoring tool manually for the releases that are not supported by the installation toolkit.
For more information, see Understanding the installation toolkit options. For more information about the Performance Monitoring tool, see Configuring the performance monitoring tool.
- Download the
installation images and install the Performance Monitoring packages, which are extracted to
following directories depending on the target Linux
distribution.
- RHEL 7.x: /usr/lpp/mmfs/4.2.3.0/zimon_rpms/rhel7
- RHEL 6: /usr/lpp/mmfs/4.2.3.0/zimon_rpms/rhel6
- SLES 12: /usr/lpp/mmfs/4.2.3.0/zimon_rpms/sles12
- Other supported distributions: /usr/lpp/mmfs/4.2.3.0/zimon_rpms
Performance Monitoring packages
Then use your operating system’s native package management mechanism.gpfs.gss.pmsensors_version-release.os.target_arch.file_format gpfs.gss.pmcollector_version-release.os.target_arch.file_format gpfs.pm-ganesha_version-release.os.target_arch.file_format
For example:
- To install 4.2.*-0 sensors on a Red Hat 7
x86_64 node use the following
command:
rpm -ivh gpfs.gss.pmsensors-4.2.*-0.el7.x86_64.rpm
- To install 4.2.*-0 sensors on a SLES 12
x86_64 node use the following
command:
rpm -ivh gpfs.gss.pmsensors-4.2.*.sles12.x86_64.rpm
- To install 4.2.*-0
sensors on a Red Hat 6 x86_64 node use the following
command:
rpm -ivh gpfs.gss.pmcollector-4.2.*-0.el6.x86_64.rpm
- To install 4.2.*-0 sensors on a Ubuntu amd64
node, use the following
command:
dpkg -i gpfs.gss.pmsensors-4.2.*-0.U*amd64.deb
- To install a 4.2.*-0 collector on a Red Hat
7 PPC64LE node use the following
command:
rpm -ivh gpfs.gss.pmcollector-4.2.*-0.el7.ppc64le.rpm
- To install 4.2.*-0
sensors on a Red Hat 6 x86_64 node use the following
command:
rpm -ivh gpfs.gss.pmcollector-4.2.*-0.el6.x86_64.rpm
- To install a 4.2.*-0
collector on a Red Hat 6 ppc64 node use the following
command:
rpm -ivh gpfs.gss.pmcollector-4.2.*-0.el6.ppc64.rpm
- To install a 4.2.*-0 Ganesha sensors use the
following
command:
rpm -ivh gpfs.pm-ganesha-4.2.*.el7.x86_64.rpm
- A single collector can easily support up to 400 sensor nodes. The collector can be any node on the system. All sensors will report to this
node. Select any node in the system to be the collector node. For information on configuring the
sensors and collectors, see Configuring the performance monitoring tool.the
Configuring the performance monitoring tool section in the IBM Spectrum
Scale: Problem
Determination Guide.
- To enable performance monitoring for Object, install the pmswift RPM:
rpm -ivh pmswift-<version>-<release>.noarch.rpm
where <version> is equal to or greater than 4.2 and <release> is equal to or greater than 0.
The installation of the pmswift RPM also copies SWIFT related sensors configuration files, namely, SwiftAccount.cfg, SwiftContainer.cfg, SwiftObject.cfg and SwiftProxy.cfg to the Performance Monitoring tool’s installation directory, /opt/IBM/zimon/. The pmswift rpm converts the operational metrics for Object into a form that is usable by the Performance Monitoring tool.
After installation of the pmswift RPM, the following steps must be carried out:For more information on how to manually upgrade pmswift, see the Manually upgrading pmswift topic.- Edit the Object configuration files for all Object servers that reside in cluster configuration
repository (CCR), using the following command:
CCR will then propagate modified configuration files to /etc/swift/ directory on all the protocol nodes within the cluster. The modified configuration files are:/usr/local/pmswift/bin/pmswift-config-swift set
- account - *.conf
- container - *.conf
- object - *.conf
- proxy - *.conf
- Use the /usr/local/pmswift/bin/pmswift-config-zimon set command to edit the
sensors configuration information stored in the CCR. This adds the SWIFT related following sensors
entries:
These entries are then automatically propagated to the ZIMonSensors.cfg file in /opt/IBM/zimon on all the nodes in the cluster.{ # SwiftAccount operational metrics name = "SwiftAccount" period = 1 type = "generic" }, { # SwiftContainer operational metrics name = "SwiftContainer" period = 1 type = "generic" }, { # SwiftObject operational metrics name = "SwiftObject" period = 1 type = "generic" }, { # SwiftProxy operational metrics name = "SwiftProxy" period = 1 type = "generic" },
- Start the pmswiftd.service using the following command:
systemctl start pmswiftd.service
- Start/restart the pmsensors.service using the following command:
systemctl start|restart pmsensors.service
- Edit the Object configuration files for all Object servers that reside in cluster configuration
repository (CCR), using the following command:
- To enable performance monitoring for Object, install the pmswift RPM:
- If the protocol sensors are enabled on a GPFS-only node, you will see an error regarding them being unavailable, however, the other sensors will continue running.
- Start the sensors on each node using the systemctl start pmsensors.service command.
- On the collector nodes, start the collector, using the systemctl start pmcollector.service command.
- To ensure that sensors and collectors are restarted after the
node reboots, you can enable them using the following commands:
- Sensors
- To disable sensors, use the systemctl disable pmsensors.service command.
- To enable sensors, use the systemctl enable pmsensors.service command.
- Collector
- To disable the collector, use the systemctl disable pmcollector.service command.
- To enable the collector, use the systemctl enable pmcollector.service command.
Metrics can be retrieved from any node in the system using the mmperfmon query command. For more information, see mmperfmon command.
For more information about the Performance Monitoring tool, see Configuring the performance monitoring tool.