Using your organization's FlexNet Publisher server
If you want to use your organization's FlexNet Publisher license server rather than the license server packaged with Klocwork, you must configure Klocwork and the FlexNet Publisher license server to work together, and you must put your Klocwork license file in the right place.
Klocwork supports version 22.214.171.124 or greater of lmgrd, the FlexNet Publisher license manager daemon. You can find more information on FlexNet Publisher license managers in the FlexNet Publisher documentation. To obtain the FlexNet Publisher License Administration Guide, contact Klocwork Customer Support.
The Klocwork vendor daemon creates a lock file named 'klocwork' that is the same name as the vendor daemon. To avoid conflicts with the daemon or with the lock file that the vendor daemon creates, never place the vendor daemon in or under a folder named 'klocwork' when you set up the Klocwork license service on your organization's license server. Ensure that no files or folders named 'klocwork' exist that could cause a conflict.
To set up Klocwork to use your organization's FlexNet Publisher server:
- Copy the Klocwork licensing daemon to the directory where the FlexNet Publisher vendor daemons reside on the machine hosting your FlexNet Publisher server. The Klocwork daemon is located as follows:
- Copy the license file (with the extension .lic) that you received from Klocwork Customer Support to the appropriate location in the FlexNet Publisher directory structure.
- If necessary, change the default port number (27000) of the FlexNet Publisher server in the license file:
- Open the license file in a text editor.
- Edit the port number at the end of the first line of the license file.
Here is a sample first line from a license file: SERVER server01 00g006084466 27000
In this example, you would change 27000 to the port you want to use.
- Save and close the file.
- Use the FlexNet Publisher lmreread utility to force the license manager daemon (lmgrd) to read the Klocwork license file and start the Klocwork vendor daemon (klocwork). See the FlexNet Publisher documentation for details on using lmreread.
- Configure the host names and ports for all of the Klocwork Servers. See Viewing and changing Klocwork server settings.
- Start the Klocwork Servers as described in Starting the Klocwork Servers.