Viewing and changing Klocwork server settings
Viewing and changing Klocwork server settingsAs an administrator, you can use the Kwservice command to view and change your Klocwork server settings. See the sections below for more details on how to configure host, port and network settings. Note: If the Klocwork Servers are running, you must stop them before attempting to change service properties. See Stopping the Klocwork Servers.
Viewing server settingsTo view the host and port settings for the Klocwork Servers, use the command kwservice get-service-properties (this does not use a Klocwork license). Setting the host name of the Klocwork ServersIf you have installed the Klocwork 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:
To set the host name for one of the Klocwork Servers:
Setting the ports used by the Klocwork ServersImportant: When setting a port number with the procedure below, the projects_root directory must be writable from the machine you're logged into.
Example To set the port used by the Klocwork Server to port 8074: kwservice --projects-root C:\Klocwork_Server\projects_root set-service-property klocwork port 8074 Making network changes that affect the host name or IP address of a host machineIf you need to change any aspect of a server's network setup that will affect its IP address and/or its fully qualified host name, follow the procedure below to ensure that Klocwork applications continue to function properly. Note: This includes the situation where you need to disconnect a Windows computer from the network, when you have installed both the servers and the clients on the computer.
To make a network change that will affect the host name or IP address of a machine hosting Klocwork Servers:
|