File-based configuration

This topic describes how to configure Cloud services with the performance monitoring tool by using file-based (manual) configurations.

Note: You must delete the sensors that are used in the earlier releases. If the scope of your Cloud services configuration is file system, then you do not need to configure the sensor files that start with TCTFset*. Similarly, if the scope of your Cloud services configuration is fileset, then you do not need to configure the sensor files that start with TCTFs*.
To integrate the performance monitoring tool with Cloud services server nodes, do the following steps:
  1. Copy /opt/IBM/zimon/defaults/ZIMonSensors.cfg to /opt/IBM/zimon. This configuration file determines which sensors are active and their properties.
    Note: If the sensors are already configured at /opt/IBM/zimon/defaults/ZIMonSensors.cfg, use the same sensors.
  2. Edit the /opt/IBM/zimon/ZIMonSensors.cfg file and set an IP address for the “host” attribute in the “collectors" section.
    Note: If the collectors are already configured at /opt/IBM/zimon/ZIMonSensors.cfg, use the same collectors.
  3. Edit the /opt/IBM/zimon/ZIMonSensors.cfg file to append the following sensors at the end of the sensor configuration section:
    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"
      }
    Note: Each sensor should be separated by a comma. The period is the frequency in seconds at which the performance monitoring tool polls the cloud service for statistics. The period is set to 10 seconds but it is a configurable value. The sensor is turned off when the period is set to 0.
  4. Copy the following files from /opt/ibm/MCStore/config folder to /opt/IBM/zimon folder.
    • TCTFsGpfsConnectorStats.cfg
    • TCTFsIcstoreStats.cfg
    • TCTFsetGpfsConnectorStats.cfg
    • TCTFsetIcstoreStats.cfg
    • TCTDebugLweDestroyStats.cfg
    • TCTDebugDbStats.cfg
  5. Restart the sensors by using this command: service pmsensors restart .
  6. Restart the collectors by using these commands: service pmcollector restart
    Note:

    If the collector is already installed and is running, then only pmsensors service needs to be restarted. If you are installing both pmcollectors and pmsensors, then both services need to be restarted.