Determining the Hostid for Licensing

Document created by guy_wettstein on Mar 14, 2012Last modified by guy_wettstein on Jun 27, 2019
Version 23Show Document
  • View in full screen mode

Note: For instructions specific to the PADS Flow software, please refer to How to verify and install/fix hardware key driver problems with PADS.

 

The term "hostid" simply refers to a number we can use for licensing. This can be an Ethernet address, hardware key (dongle) ID or a Unix system hostid. The number we use for hostid is synonymous with "server ID". Therefore, the number is the same number used for Floating, Mobile Compute and nodelocked licenses. The hostid is somewhat platform dependent, however.

 

Using the licensing utility 'lmutil lmhostid' is the best way to determine the hostid for licensing. The lmutil utility is available for download here for Windows and here for Linux.

 

For the Ethernet address, on Windows or Linux, run:

 

     lmutil lmhostid -ether

If more than one ID is returned, choose the first one to use as your hostid.

 

For the Hardware Key (dongle) ID, on Windows run:

 

     lmutil lmhostid -flexid

Note: Hardware Keys (dongles) are not supported on Linux.

 

You may also download and install the licensing software from SupportNet to access to all the licensing utilities (requires SupportNet login). Lmutil can be found in C:\MentorGraphics\Licensing on Windows and <path>/bin on Unix. However, when access to the licensing software is not available, you can use system commands to get the hostid.

 

 

Host IDs/ MAC Address for Windows

If you are on a Windows workstation, you can obtain the Host ID by issuing the following command at a cmd shell prompt like so:

 

  C:\> ipconfig -all
(The C refers to your main directory. If you are on a network, another letter may indicate your main directory. Just enter ipconfig -all after the  :\>)

 

On XP you can open a cmd shell using Start>Run, typing cmd and clicking "OK". On Vista, type cmd in the Start>Search field and press Enter. On Windows 7, type cmd in the Start>Search prgrams or files field and press Enter. Look for the Physical Address in the Ethernet Adapter section of the information returned (your information may vary):

 

  Ethernet adapter Local Area Connection:
   DNS Suffix. . . . . . :   domain.com
   Description . . . . . : Intel(R) PRO/100
   Physical Address. . . : 00-C0-A8-F1-79-8F  <-- This returned value is the Host ID
   DHCP   Enabled. . . . . : Yes
   Autoconf Enabled. . . : Yes
   IP Address. . . . .   . : 141.11.11.150
   Subnet Mask . . . . . : 255.255.255.0

 

The Host ID is the Physical Address, without dashes (e.g. 00C0A8F1798F)

Hardware Key (Dongle)

If you're using a dongle, you'll need to run Lmtools.exe (usually from Start > Programs > Mentor Graphics Licensing or C:\MentorGraphics\Licensing) or use the command 'lmutil lmhostid -flexid' to get the dongle id.

You can often read the hostid from the side of the dongle itself but it's better to verify it on the system if possible.

 

C:\MentorGraphics\Licensing\lmutil lmhostid -flexid

  lmutil - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.

  The FLEXnet host ID of this machine is "FLEXID=9-24558979"  <-- This returned value is the Host ID

 

Note: lmutil and LMTOOLS are the only ways to get a dongle hostid.

 

Host ID for Linux

If you are on an Linux machine, you can obtain the Host ID by issuing the following commands at the prompt like so:

  /sbin/ifconfig

Look for eth0, em1, p2p1, etc..., and the return value that begins with "HWaddr". This is your Ethernet address. For example:

   eth0      Link encap:Ethernet  HWaddr 00:40:05:16:E5:25

 

 

The Host ID is your Ethernet address, without colons (e.g. 00400516E525).

 

Note: The "hostid" command will not return a number that can be used for licensing.

 

Host ID for Solaris

If you are on a Solaris workstation, you can obtain the Host ID by issuing the hostid shell command at the prompt like so:

  $ /bin/hostid
   80c80cc9 This returned value is the Host ID

 

Host ID for HP-UX

 

If you are on an HP workstation running HP-UX, you can obtain the Host ID by issuing the following shell commands at the prompt like so:

 

  $ /usr/bin/uname -i | awk '{printf "%x\n",$1}'

  77476c80 This returned value is the Host ID

 

Host ID for AIX

 

If you are on an IBM workstation running AIX, you can obtain the Host ID by issuing the following shell commands at the prompt like so:

 

$ uname -a

AIX hostname 3 5 000745FF4C00

 

745FF4C Remove the leading and trailing zeros from the 12-digit number returned. This is the Host ID

Attachments

Outcomes