Changing the Default TFTP Port of the License Manager

RMS uses 5099 as the default TFTP port for redundant server configuration file synchronization amongst License Managers that form a redundant server pool. The default port used for this purpose is 5099. If two License Managers running on a system (one using the default port 5093 and other using a customized port for client server communication) participate in two different redundant server pools, then file transfer communication via the default port 5099 will cause conflict. Hence, the TFTP port should be customized for at least one of them using the procedure described in this topic.

Executables to Rebuild

The License Manager executable needs to be rebuild.

Description

Sets a new TFTP port number for the License Manager communication.

Function Prototype

int VLSchangeTFTPPortNumber
(
   int  currentPort     
);

Returns

Returns the new TFTP port number set for the client-License Manager communication.

Parameter

Description

currentPort

An IN parameter.

The current TFTP port number used for communication.

Steps to Perform 

> Create the VLSchangeTFTPPortNumber function.

> Update the CHANGE_TFTP_PORT_OBJS variable in the custom32.mak file.

>Follow the procedure described in How to Use the custom32.mak File?.

Code Snippet 

The VLSchangePortNumber Function

int VLSchangeTFTPPortNumber
(
   int currentPort      /* IN  - Currently configured TFTP port number */
)
{
   int newPort = /* TODO: add new registered TFTP port number here */;
   return newPort;
}