How can I determine the correct FLEXnet hostid for my new license server?
For a given OS / hardware platform, there are multiple ways to determine the hostid. However, not all methods are valid with the FLEXnet licensing scheme implemented by Synopsys.
For every major platform, this article provides two methods for obtaining a valid hostid for Synopsys licensing.
If your keyfile has already been issued for the wrong hostid, your keys will need to be reissued. In some cases, you will also be required to obtain and sign a "rehost form."
Normally, you determine the hostid for your license server with the lmhostid (or lmutil) utility. lmhostid ships with Synopsys Common Licensing. However, if you need to determine the hostid for a system that does not have SCL installed (or lmutil / lmhostid), an alternative method is provided below. Determine your hostid by using one of the following methods:
- lmhostid Method
- Networked ("Floating") Licenses
- Networked licenses can be used by anyone on the network. To determine the hostid, use the lmhostid command included with SCL.
- % lmhostid [or lmutil lmhostid]
- lmhostid - 1989-2015 Flexera Software LLC. All Rights Reserved.
- The FLEXlm host ID of this machine is "001125c4a904"
Note: If more than one hostid is listed, any hostid may be used. However, the hostid should correspond to a physical device such as an ethernet card or ethernet chip embedded on the motherboard.
Dongle-based licenses are supported:
If you have a dongle, the hostid is written on the device, which attaches to the USB or parallel port. To determine whether the dongle hostid is correctly detected, enter lmhostid -flexid. For example,
C:\> cd C:\Synopsys\SCL\11.12\win32\bin
C:\Synopsys\SCL_11.12\win32\bin> lmhostid -flexid
- for specific tools only (for example, HSPICE or Synplify Pro)
- on Windows and Linux x86_64 platforms only.
lmutil - Copyright (c) 1989-2015 Flexera Software LLC
All Rights Reserved.
The FLEXlm host ID of this machine is "FLEXID=7-b28432de"
If you get a "Missing Dongle Driver" error, or a null or 0 result (for example, "FLEXID=7-0"), install the latest 32-bit Windows Flexid Dongle Driver. These drivers are located at C:\Synopsys\SCL11.12\win32\drivers or /synopsys/scl/11.12/linux/drivers.
- Other Methods
In addition to lmutil, the following platform-specific methods of determining a hostid are supported. For all the methods below that involve quotes, be sure to use backquotes ( ` ) and not regular quotes.
- AIX (RS6000)
- uname -l and convert to hexadecimal:
- % echo `/bin/uname -l` 16op | dc [the "l" in "-l" and the "o" in "16op" are both letters] 8CC6F4C [result should be seven or eight characters]
- Note: The hostid and uname -m commands produce invalid results.
- Get the 12-character ethernet address Example:
- % /sbin/ifconfig -a | grep Hwaddr eth0... Hwaddr 00:06:5B:82:F4:5A [result is always 12 characters]
In this example, the hostid is 00065B82F45A
- Note: The Linux "hostid" command produces a 6- or 8-character result that is not valid as a Synopsys hostid.
- Solaris (SPARC)
- % /usr/bin/hostid 80752FAE [result is always eight characters]
Note: After SCL 11.11.1, Solaris SPARC is no longer supported.
- Floating (networked) licenses Use the MAC address ("Physical Address") of your ethernet card:
- Click Start-Run and type "cmd"
- Type C:\win32\system32\ipconfig -all
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix:
Description . . . . . . . . . : 3Com 3C920 Fast Ethernet
Physical Address. . . . . . . : 00-06-5A-21-95-44
==> In this example, the hostid is 00065A219544