| |||
| Home > Requesting Your License > Information needed for a license > Host ID | |||
The host ID is an identifier unique to a particular computer, and is used by FLEXnet to lock licenses to a specific client or server machine. If the host ID provided at the time the license is generated is wrong, then the license will not enable the tools.
The method of obtaining a host ID will differ depending upon the type of license, the hardware platform and the operating system used.
Node locked licenses (only available on Windows) are normally locked to the physical address (also known as “MAC address”) of the computer's network card. If you change this network card, you must apply to ARM for a new license. See How do I move my license to another computer? for more information. You might want to lock your license to a portable network card such as a USB or PCMCIA network card if you want to use your license on more than one computer, though only one at a time.
To enable a network card address to be used as the host ID for a node-locked license the system must be configured as follows:
One of the following must be installed:
the SNMP service
the NETBEUI Transport Protocol
the NW Link (IPX/SPX) Transport Protocol.
If the specified conditions are not met then the network card ID is either not returned, or might be incorrect.
To obtain the computer’s network card address, type the command ipconfig
/all at the command prompt and look for the "Physical
address" line for the network card:
Description ...........: 3Com 10/100 Mini PCI Ethernet
Adapter
Physical Address ......: 00-00-12-42-41-BC
The host ID is the Physical Address with
the "-"s removed, so in this example it is 0000124241bc.
Alternatively if you have installed the FLEXnet software
onto your machine you can instead type lmutil lmhostid.
To use the physical address of the network card as the host ID, you must be careful to choose the address of the actual network card, not a virtual network address nor the address of another device. Using the address of a virtual network card is not suitable because there is no guarantee that the addresses will remain the same after a reboot.
You should ensure that the network device to which you lock your license will not be shut down should your computer have a power saving mode.
It is also possible, though not normally recommended, to use the hard disk volume number for drive C: as the host ID for a node locked license. If you change or reformat your hard disk, you must apply to ARM for a new license. If your computer is a laptop that uses different network cards when docked and undocked, then you must use its hard disk serial number as the host ID to ensure that you can use your application at all times.
To obtain this value, at the command prompt change to the
C: drive and enter the command vol. This will
return a value similar to:
Volume Serial Number is 789A-D123
The host ID is the Volume Serial Number with
the "-" removed and prefixed with DISK_SERIAL_NUM=, so in this example
it is DISK_SERIAL_NUM=789ad123. Alternatively
if you have already installed the FLEXnet software
onto your machine you can instead type lmutil lmhostid
-vsn to obtain this information.
The hard disk checked by FLEXnet software is the first fixed drive on your computer. This is assumed by FLEXnet to be drive C:. You cannot use network drives or alternate fixed drives as the host ID.
The host ID(s) required will belong to the license server(s)
and not to the client machines running the tools. If you have already
installed the FLEXnet server software onto
the server, then you can find the host ID using the command lmutil
lmhostid. If you have not yet installed the FLEXnet server
software, then you can use the standard operating system commands
listed in Table 2.1 to
obtain the correct host ID.
Table 2.1. Commands for obtaining host IDs
| OS | Command | Server host ID type | Comments |
|---|---|---|---|
| Windows | ipconfig /all | ETHERNET | The host ID will be returned as the 12 character hexadecimal Physical Address. Remove the hyphens, ‘-’, for the host ID. |
| Linux | /sbin/ifconfig eth0 | ETHERNET | Returns a 12 character hexadecimal ‘HWaddr’. Remove the colons, ‘:’, for the host ID. |
| Solaris | /usr/bin/hostid | LONG | Returns the 8 character hexadecimal host ID. |
Not all ARM software development tools allow the use of floating licenses.
If you are requesting a three server (redundant server) license then you will need a valid and different host ID for each of the three servers. These servers do not need to be running the same operating system.
If you are requesting a three server license, the host ID of master server must be given first when you request your license.
You cannot use a volume serial number as the host ID for a Windows license server.
On Linux, the device used as the server host ID must reside on eth0. You can reassign this address to a removable USB network device if you are using a Linux laptop, for example, and wish to transfer the license between standalone computers.
As of RVDS v3.0, ARM no longer supports the use of HP-UX as a license server and does not include the HP-UX license daemons with the ARM development tools.