Setting up remote DiskU client pollers

This section describes the requirements and steps for installing and configuring remote DiskU client pollers for IBM Spectrum LSF RTM.

Procedure

  1. Log in to the RTM host as root.
  2. Download the rtm-poller-10.2.0-<ARCH>.tar.gz into the remote host and uncompressed it:
    # tar zxvf rtm-poller-<VERSION>.<ARCH>.tar.gz
  3. Install the rtm-client-10.2.0.<ARCH>.rpm.

    The rtm-client-10.2.0.<ARCH>.rpm file is in the directory with the installation packages, such as /mnt/rtm/ x86_64.

    #rpm –ivh /mnt/rtm/ x86_64/ rtm-client-10.2.0.<ARCH>.rpm
    Note: If you are installing the RTM client on RHEL or SLES, use the following to install:
    rpm --ivh --prefix=Client_TOP/mnt/rtm/x86_64/rtm-client-<version>.<arch>.rpm

    If you are installing the RTM client on Ubuntu, use the following to install:

    rpm --ivh --nodeps /mnt/rtm/x86_64/rtm-client-<version>.<arch>.rpm
  4. Modify the <RTM_TOP>/rtm/client/etc/rtmc.conf file to change the DB_Host to the hostname of the RTM database server:
    #vim /opt/IBM/rtm/client/etc/rtmc.conf
  5. Grant the remote poller host access to the RTM database:
    # mysql
    mysql > grant all on cacti.* to 'cacti'@'mypollerhost.mydomain' identified by 'admin';
    mysql > flush privileges;
    mysql > quit;
  6. Reload systemd manager configuration to aware of rtmclientd.
    # systemctl daemon-reload
  7. Start the DiskU client pollerd:
    # systemctl start rtmclientd

What to do next

For an NFS installation, perform the following additional steps after installing the DiskU client pollers on one host as above.

  1. Install the unixODBC and ODBC driver for MySQL (for example, dbcmysql-connector-odbc) on all other client hosts.
  2. Run <RTM_TOP>/rtm/client/bin/odbc_config.sh on all other client hosts, to update the /etc/odbc.ini file and /etc/odbcinst.ini file on all other client hosts.
  3. Copy /etc/init.d/rtmclientd from the installed host to all other client hosts.
  4. Login to the RTM Server cacti database and grant access to all hosts. (As in step 5 grant the remote poller host access to the RTM database.)
  5. Start the DiskU client pollerd on all other client hosts.. (As in step 6 and 7, start the DiskU client pollerd.)
Note: The DiskU client binary may not work on all hosts if they have different operating systems.