Setting the host name of the Validate Servers
If you have installed the Validate Servers in a central location and will be running one or more of the servers from another host machine, you will need to set the host name for these servers.
IMPORTANT NOTES:
- When issuing server configuration commands, the projects_root must be visible from the machine you're logged into.
- If you specify a different host for one or more Validate Servers using the procedure below, you will no longer be able to start the servers from the host where you previously started them.
- If the server hosts are located on a different subnet from the Validate clients, you must use the fully qualified host name for the Validate Servers in the procedure below. Otherwise, the clients will not be able to connect to the servers.
- You cannot change the physical host of the Validate License Server in the license file. If you need to move the License Server to another host, you must contact Validate for a new license file. However, you can use the procedure below if the name of the machine hosting the License Server has changed, or if you want to change how the host name is defined (for example, from a simple to a fully qualified host name). The host name in the license file must match the host name specified with the procedure below.
- If you have set up redundant License Servers, ensure that you specify the host name of the primary License Server.
- See also Making network changes that affect the host name or IP address of a host machine.
To set the host name for one of the Validate Servers:
- Stop the server, if is running. See Stopping the Validate Servers.
- Run the following command:
validate service --projects-root <projects_root> set-service-property <server_name> host <host_name>
where- <projects_root> is the projects_root directory you want to use
- <server_name> is one of:
- database
- license
- klocwork
- <host_name> is the name of the machine that will host the specified server (Validate recommends using the fully qualified host name; see "Important Notes" above).
Example:
validate service --projects-root C:\Validate\projects_root set-service-property database host server0196.acme.com
- Start the server. See Starting the Validate Servers.