How do I use a newer lmstat with RTM?

The lmstat utility is used to poll the FlexNet license manager. If a new version of FlexNet license manager is released, RTM can be configured to use a newer lmstat utility that is compatible with the new FlexNet license manager.

About this task

To configure RTM to use a newer lmstat, replace the lmstat binary shipped with RTM with the newer one. For example, if the new lmstat utility is located at RTM_TOP/flexlm-new/lmstat, then do the following:

Note: In the following example, it is assumed that RTM is installed in its default location: RTM_TOP/. If this is not the case in your environment, modify the commands below accordingly.

Procedure

  1. Backup your current lmstat.
    # cd RTM_TOP/flexlm/bin/
    # mv lmstat lmstat.ORIG
  2. Copy your new lmstat to replace the old one.
    # cp -p RTM_TOP/flexlm-new/lmstat RTM_TOP/flexlm/bin/lmstat
  3. Verify that the license poller is configured correctly to use the new lmstat by running the license poller manually. ID is the ID of your license server and can be found at Console >> License Management >> License Services.
    # cd RTM_TOP/rtm/lic/bin
    # ./licflexpoller -C <ID>  -d |grep lmstat
    
  4. Make sure the Service Status is "UP" using Console >> License Management >> License Services. If it is not, troubleshoot the problem by manually running licflexpoller in debug mode, as shown in step 3 - but without piping the output to the grep command.

What to do next

If all of your License Services are UP, check your license service graphs are OK on the License tab. Check the RTM Dashboards and FLEXlm Reports pages to make sure all graphs are reporting new data.

If you have any problems with the new lmstat, you should open a service request through the IBM Service Request portal.