Upgrading the Cloud services sensors
The sensors in earlier versions of the Cloud services are no longer valid in the 1.1.4 version. Therefore, you must change the sensors after upgrading to Cloud services version 1.1.4 from either 1.1.3.x or 1.1.2.x version as described below.
You must know which sensors are configured and active.
Perform the following steps to upgrade the sensors:
-
Remove configuration of the old sensors by issuing the following commands:
-
mmperfmon config delete --sensors MCStoreGPFSStats
-
mmperfmon config delete --sensors MCStoreIcstoreStats
-
mmperfmon config delete --sensors MCStoreLWEStats
-
-
Remove the old sensors files from the /opt/IBM/zimon folder of every Cloud services node:
-
rm MCStoreGPFSStats.cfg
-
rm MCStoreIcstoreStats.cfg
-
rm MCStoreLWEStats.cfg
-
-
Copy the following sensor files from the /opt/ibm/MCStore/config/ folder
to the /opt/IBM/zimon folder:
- TCTDebugDbStats.cfg
- TCTDebugLweDestroyStats.cfg
- TCTFsetGpfsConnectorStats.cfg
- TCTFsetIcstoreStats.cfg
- TCTFsGpfsConnectorStats.cfg
- TCTFsIcstoreStats.cfg
-
On each Cloud services server node, create a new
MCStore-sensor-definition.cfg
file under /opt/IBM/zimon/ and copy the following sensors text into it:sensors= { #Transparent cloud tiering statistics name = "TCTDebugDbStats" period = 10 type = "Generic" }, { #Transparent cloud tiering statistics name = "TCTDebugLweDestroyStats" period = 10 type = "Generic" }, { #Transparent cloud tiering statistics name = "TCTFsetGpfsConnectorStats" period = 10 type = "Generic" }, { #Transparent cloud tiering statistics name = "TCTFsetIcstoreStats" period = 10 type = "Generic" }, { #Transparent cloud tiering statistics name = "TCTFsGpfsConnectorStats" period = 10 type = "Generic" }, { #Transparent cloud tiering statistics name = "TCTFsIcstoreStats" period = 10 type = "Generic" }
-
Specify the following command to register the sensors:
mmperfmon config add --sensors MCStore-sensor-definition.cfg
-
Specify the following command to verify that all the sensors are added:
The system displays output similar to this:mmperfmon config show
# This file has been generated automatically and SHOULD NOT # be edited manually. It may be overwritten at any point # in time. cephMon = "/opt/IBM/zimon/CephMonProxy" cephRados = "/opt/IBM/zimon/CephRadosProxy" colCandidates = "jupiter-vm856.pok.stglabs.ibm.com", "jupiter-vm934.pok.stglabs.ibm.com" colRedundancy = 2 collectors = { host = "" port = "4739" } config = "/opt/IBM/zimon/ZIMonSensors.cfg" ctdbstat = "" daemonize = T hostname = "" ipfixinterface = "0.0.0.0" logfile = "/var/log/zimon/ZIMonSensors.log" loglevel = "info" mmcmd = "/opt/IBM/zimon/MMCmdProxy" mmdfcmd = "/opt/IBM/zimon/MMDFProxy" mmpmon = "/opt/IBM/zimon/MmpmonSockProxy" piddir = "/var/run" release = "5.2.0-x" sensors = { name = "CPU" period = 1 }, { name = "Load" period = 1 }, { name = "Memory" period = 1 }, { name = "Network" period = 1 }, { name = "Netstat" period = 10 }, { name = "Diskstat" period = 0 }, { name = "DiskFree" period = 600 }, { name = "Infiniband" period = 0 }, { name = "GPFSDisk" period = 0 }, { name = "GPFSFilesystem" period = 10 }, { name = "GPFSNSDDisk" period = 10 restrict = "nsdNodes" }, { name = "GPFSPoolIO" period = 0 }, { name = "GPFSVFS" period = 10 }, { name = "GPFSIOC" period = 0 }, { name = "GPFSVIO64" period = 0 }, { name = "GPFSPDDisk" period = 10 restrict = "nsdNodes" }, { name = "GPFSvFLUSH" period = 0 }, { name = "GPFSNode" period = 10 }, { name = "GPFSNodeAPI" period = 10 }, { name = "GPFSFilesystemAPI" period = 10 }, { name = "GPFSLROC" period = 0 }, { name = "GPFSCHMS" period = 0 }, { name = "GPFSAFM" period = 0 }, { name = "GPFSAFMFS" period = 0 }, { name = "GPFSAFMFSET" period = 0 }, { name = "GPFSRPCS" period = 10 }, { name = "GPFSWaiters" period = 10 }, { name = "GPFSFilesetQuota" period = 3600 restrict = "jupiter-vm856.pok.stglabs.ibm.com" }, { name = "GPFSFileset" period = 300 restrict = "jupiter-vm934.pok.stglabs.ibm.com" }, { name = "GPFSPool" period = 300 restrict = "jupiter-vm934.pok.stglabs.ibm.com" }, { name = "GPFSDiskCap" period = 86400 restrict = "jupiter-vm856.pok.stglabs.ibm.com" }, { name = "TCTDebugDbStats" period = 10 type = "Generic" }, { name = "TCTDebugLweDestroyStats" period = 10 type = "Generic" }, { name = "TCTFsetGpfsConnectorStats" period = 10 type = "Generic" }, { name = "TCTFsetIcstoreStats" period = 10 type = "Generic" }, { name = "TCTFsGpfsConnectorStats" period = 10 type = "Generic" }, { name = "TCTFsIcstoreStats" period = 10 type = "Generic" } smbstat = ""
-
Specify the following commands to restart your
pmsensors
andpmcollector
on the nodes:-
service pmsensors restart
-
service pmcollector restart
-
-
Verify the status of your
pmsensors
andpmcollector
on the nodes:-
service pmsensors status
-
service pmcollector status
-