Get a license
Get a licenseA Klocwork license file contains information about your license server configuration as well as what Klocwork products and features you are licensed to use. You need a license file to start the Klocwork Servers. If you are upgrading to the latest version of Klocwork, and this involves moving to a new major release, for example, from release 11.x to Klocwork 2017, contact license@roguewave.com to request a new license. Upgrading to a new major release of the software requires a new license. Klocwork uses FlexNet Publisher licensing from Flexera Software. Your Klocwork license must be locked to your license manager server. In the simplest case, this will be the machine where you install the Klocwork Server package. If you are evaluating or purchasing Klocwork, you will need to provide your Klocwork contact with:
The following sections show you how to determine this ID.
Note: You must install the License tools component of the Klocwork server installer in order for these FlexLM binaries to be installed.
Determining the FlexNet hostid of a Linux or Solaris machineWhen you install the Klocwork Server package, lmhostid is installed to <server_install>/3rdparty/bin.
Determining the FlexNet hostid of a Windows machineWhen you install the Klocwork Server package, lmhostid is installed to <server_install>/3rdparty/bin.
Choosing the proper FlexNet host ID on WindowsOn Windows, the lmhostid utility may return more than one FlexNet host ID. If this happens, ensure that you choose the correct host ID for the license file. Running lmhostid for a Windows server results in output resembling the following: lmhostid - Copyright (c) Copyright (c) 1989-2016 Flexera Software LLC. All rights reserved. The FlexNet host ID of this machine is ""00F0D0579C60 0003764D1BD6 00C026000002 00C038000101"" Only use ONE from the list of hostids. In this example, lmhostid returned four FlexNet host IDs. It is important to select the FlexNet host ID of a permanent physical network adapter, rather than a virtual NIC, for example a Virtual Private Network (VPN) NIC. Therefore, you need to determine which FlexNet hostid applies to a permanent network adapter. To list all network adapters in a Windows system:
The following example shows the ipconfig /all output for a Windows server with a built-in network adapter. Note that on Windows, the FlexNet host ID is the physical address (the MAC address), without the hyphens. Windows IP Configuration Host Name . . . . . . . . . . . . : TDM02 Primary DNS Suffix . . . . . . . : klocwork.com ... ... Ethernet adapter Local Area Connection 4: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) Physical Address. . . . . . . . . : 00-F0-D0-57-9C-60 DHCP Enabled. . . . . . . . . . . : Yes ... ... Ethernet adapter Local Area Connection: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : 3Com 10/100 Mini PCI Ethernet Adapter Physical Address. . . . . . . . . : 00-03-76-4D-1B-D6 Ethernet adapter Local Area Connection 3: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : VPN Client Virtual Adapter #2 Physical Address. . . . . . . . . : 00-C0-26-00-00-02 Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : VPN Client Virtual Adapter Physical Address. . . . . . . . . : 00-C0-38-00-01-01 In this example, Local Area Connection 4 is a physical adapter and is currently enabled. It would be advisable to lock the license to this adapter (MAC address 00-F0-D0-57-9C-60 which corresponds to the FlexNet host ID 00F0D0579C60), because this FlexNet host ID will not change. Local Area Connection is a physical adapter but is not enabled. Local Area Connection 2 and Local Area Connection 3 are virtual adapters and may have their MAC address changed periodically. If you are not sure which to choose, ask your administrator to choose the MAC address of one of the permanent physical adapters. |