Determining the correct FLEXlm hostid for a server



How can I determine the correct FLEXlm hostid for my server?


The following is excerpted from the site maintained by vendors of the Globetrotter licensing application we use:

For a given platform (operating system), there are multiple ways to determine the hostid. However, not all methods are valid with the FLEXlm licensing scheme implemented by Synopsys.

For every major platform, this article provides two methods for obtaining a valid hostid for Synopsys licensing.

Valid Methods of Obtaining a Synopsys Hostid Determine your hostid by using one of the following methods:

* The universal way to determine a license server's hostid, for any supported platform, is by using the lmutil lmhostid command.

% lmutil lmhostid

lmhostid - Copyright (C) 1989-2001 Globetrotter Software, Inc.

The FLEXlm host ID of this machine is '775d63f3'

* 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 variables 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]


* 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.


Get the 12-character ethernet address


% /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 % /usr/bin/hostid

80752FAE [result is always eight characters]

Windows NT, 2000, XP and Later Versions

Floating (networked) licenses

Use the MAC address ('Physical Address') of your ethernet card.

1. Click Start-Run and enter cmd.

2. Enter C:\winnt\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

Note: This information was obtained from the following site:

Old KB# 11098
Comment List
Related Discussions