Adjusting SLM server IP addresses
If a logical SLM cluster consists of more than one physical server, these servers will communicate with each other. After a connection is established they exchange relevant license information. As long as a connection is not established, a retry mechanism becomes periodically active. For example, once every 20 minutes. The IP address once determined is used during connect setup between these SLM servers. If the known IP addresses becomes invalid, use the SlmCmd program. With SlmCmd you can instruct the SLM servers to use other IP addresses or to determine an IP address when the server must be accessed again.
To set or reset IP address of a specified server, run this command:
SlmCmd -setIP <SLM host> [-port <portNumber>]
-server <name>[:<IP address]> [-force]
The command is sent to the
SLM
server specified by
<SLM host> with the specified
<portNumber>, default 6005, if not specified.
The relevant
SLM
server searches its administration for the server specified by the
<name> parameter. If this specified server is
not present as one of the servers of the logical cluster, the command is
silently ignored. If the specified server is found, the server's IP address is
set to the value received.
The
SlmCmd program handles the
-server
parameter if the:
- Colon separator character
is present, an IP address value is expected as input. If an empty string is
specified, or the value 0 or 0.0.0.0, the IP address is treated as empty. A
reset IP address command is sent to the specified
SLM
server for this server. This command is only accepted if the
-force
flag is specified. - Optional parameter <IP address> is not specified, in other words, the colon character is missing. The relevant server name is translated into an IP address. Upon success, both the server name and the detected IP address are sent to the specified SLM server.
- Colon separator character is present and the IP address parameter is not empty. The server name for this IP address is searched for. If found, the server name is matched against the server name specified as parameter. If unequal, the command is refused, in other words, no message is sent to the SLM server, unless the -force option is specified.