To configure the registerLogToFile or registerSasLogToFile client inactivity check

Purpose

By default, the client inactivity check is enabled. In order to avoid client deregistration after a period of client inactivity, you can disable the inactivity check for clients that use one or both of the following methods:

  • registerLogToFile

  • registerSasLogToFile

Perform this procedure to enable or disable client inactivity checking.

CAUTION 

CAUTION

Service Disruption

Modifying the server configuration can have serious consequences including service disruption.

Contact technical support before you attempt to modify the server configuration.

Note: You must perform the procedure on each main server in the NFM-P system.

Steps
 

Log in to the main server station as the nsp user.


Navigate to the /opt/nsp/nfmp/server/nms/config directory.


Create a backup copy of the nms-server.xml file.


Open the nms-server.xml file using a plain-text editor such as vi.


To configure the registerLogToFile inactivity check, perform the following steps.

  1. Locate the section that begins with following XML tag:

    <logToFile

  2. Edit the following line in the section to read:

    enableJmsClientInactivityCheck="value"

    where value is true, which enables the check, or false, which disables the check


To configure the registerSasLogToFile inactivity check, perform the following steps.

  1. Locate the section that begins with following XML tag:

    <saslogtofile

  2. Edit the following line in the section to read:

    enableSasJmsClientInactivityCheck="value"

    where value is true, which enables the check, or false, which disables the check


Save and close the nms-server.xml file.


Enter the following:

bash$ /opt/nsp/nfmp/server/nms/bin/nmsserver.bash read_config ↵

The main server configuration is updated.


Close the console window.

End of steps