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. Note:
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 SCL. However, if you need to determine the hostid for a system that does not have SCL installed (or lmutil / lmhostid), you can download lmutil directly from Flexera Software
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 - Copyright (c) 1989-2008 Acresso Software Inc....All Rights Reserved.
- The FLEXlm host ID of this machine is "001125c4a904"
Dongle-based licenses are supported:
- for specific tools only (for example, HSPICE or Synplify Pro)
- on Windows and Linux x86 or x86_64 platforms only.
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.1\windows\bin
C:\synopsys\SCL_11.1\windows\bin> lmhostid -flexid
lmutil - Copyright (c) 1989-2008 Acresso Software Inc.
and/or Macrovision Corporation. 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"), click here
to download the latest 32-bit Windows Flexid Dongle Driver.
- Other MethodsIn 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.
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
uname -i and convert to hexadecimal:
% echo `/bin/uname -i` 16op | dc [the "o" in "16op" is a letter] 77ED1331 [result is always eight characters]
Note: After SCL 10.9.3, HP-UX is no longer a supported platform. Before moving to SCL 11.0 or later, please rehost any on-support licenses to another, supported hardware/OS platform.
For a list of supported platforms for SCL, click here.
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.
% /usr/bin/hostid 80752FAE [result is always eight characters]
% /usr/bin/hostid 075ff579 [result is always eight characters]
An alternative is the ethernet address (SCL 11 or higher only):
% /usr/sbin/arp -a | grep <hostname>
bge0 sunopt10 255.255.255.255 SPLA 00:09:3d:12:be:e3
In this example, the hostid is 00093d12bee3 [result is always 12 characters]
Windows (2000, XP, Vista)
Floating (networked) licenses Use the MAC address ("Physical Address") of your ethernet card:
- Click Start-Run and type "cmd"
- Type C:\windows\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