Question: How can I determine the correct FLEXnet hostid for my new license server?
Answer: 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."
Determine your hostid by using one of the following methods:
- Use the lmutil lmhostid command included with SCL.
% lmutil lmhostid
lmhostid - Copyright (c) 1989-2006 Macrovision Europe Ltd....All Rights Reserved.
The FLEXlm host ID of this machine is "001125c4a904"
If you do not have the lmutil binary for your platform, you can download lmutil directly
from Acresso Software.
- 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 (RS-6000)
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
HP-UX
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:
- For HP-UX 11.11 (11i) or later, the lanscan command is
not supported (ethernet hostid is invalid).
- For HP-UX 11 and earlier versions, the lanscan command produces a
result that is not recommended.
IRIX
echo `/etc/sysinfo -s` and convert to hex from decimal
Example:
% echo `/etc/sysinfo -s` 16op | dc
[the "o" in "16op" is a letter]
690bf2d6
Linux
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]
Windows NT, 2000, XP
Floating (networked) licenses
Use the MAC address ("Physical Address") of your ethernet card:
- Click Start-Run and type "cmd"
- Type C:\winnt\system32\ipconfig -all
Result:
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
Dongle-based (nodelocked) licenses
Dongle-based licenses are available only on Windows platforms. Dongle-based
licenses are usually nodelocked--that is, the application (for example, HSPICE)
can be run only on the system that has the dongle device.
If you have a dongle, the hostid is written on the device, which attaches
to the parallel port. (USB dongles are not officially supported. If you
wish to use a USB dongle, contact your local Synopsys Support Center.)
To determine whether the dongle hostid is correctly detected, enter:
cd C:\synopsys\SCL_10.9.3\msvc70\bin
lmutil lmhostid -flexid
Result:
C:\synopsys\SCL_10.9.3\msvc70\bin>lmutil lmhostid
lmutil - Copyright (c) 1989-2006 Macrovision Europe Ltd.
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.
|