This section describes the requirements and steps for installing and
configuring remote DiskU client pollers for IBM Spectrum LSF RTM.
Procedure
-
Log in to the RTM host as
root.
-
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
-
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
-
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
-
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;
- Reload systemd manager configuration to aware of rtmclientd.
# systemctl daemon-reload
-
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.
- Install the unixODBC and ODBC driver for MySQL (for example, dbcmysql-connector-odbc) on all
other client hosts.
- 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.
- Copy /etc/init.d/rtmclientd from the installed host to all other client
hosts.
- 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.)
- 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.