Troubleshooting
Problem
After migrating RTM from one node to another, if the RTM top directory has been changed, the LSF pollers are not able to work and some error messages show up in the cacti log file which go like this: LSFPOLLERD: Error file '/opt/IBM/rtm/lsf91/bin/gridhosts' does not exist
Resolving The Problem
RTM determines the LSF poller binary directory by retrieving the information configured in table grid_pollers. In the situation of migration, the paths configured in this table are still pointing the directory on the original node which doesn't exist in the new RTM node. This issue can be solved simply by updating table grid_pollers with the new paths.
1. Check the contents of table grid_pollers.
[cacti]> select poller_lbindir, lsf_version from grid_pollers;
+--------------------------+-------------+
| poller_lbindir | lsf_version |
+--------------------------+-------------+
| /opt/IBM/rtm/lsf701/bin/ | 701 |
| /opt/IBM/rtm/lsf702/bin/ | 702 |
| /opt/IBM/rtm/lsf703/bin/ | 703 |
| /opt/IBM/rtm/lsf704/bin/ | 704 |
| /opt/IBM/rtm/lsf705/bin/ | 705 |
| /opt/IBM/rtm/lsf706/bin/ | 706 |
| /opt/IBM/rtm/lsf8/bin/ | 8 |
| /opt/IBM/rtm/lsf91/bin/ | 91 |
| /opt/IBM/rtm/lsf101/bin/ | 1010 |
+--------------------------+-------------+
2. Update the table based on new paths (It's assumed that your RTM top directory has been changed to /usr/IBM after migration).
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf701/bin/" where lsf_version='701';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf702/bin/" where lsf_version='702';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf703/bin/" where lsf_version='703';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf704/bin/" where lsf_version='704';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf705/bin/" where lsf_version='705';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf706/bin/" where lsf_version='706';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf8/bin/" where lsf_version='8';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf91/bin/" where lsf_version='91';
[cacti]> UPDATE grid_pollers SET poller_lbindir="/usr/IBM/rtm/lsf101/bin/" where lsf_version='1010';
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1024061