ARM Technical Support Knowledge Articles

How do I find my host ID?

Applies to: ARM Developer Suite (ADS), RealView Compilation Tools (RVCT) for BREW, RealView Developer Kit (RVDK) for OKI, RealView Developer Kit (RVDK) for ST, RealView Developer Kit for XScale (RVXDK), RealView Development Suite (RVDS), Tool Licensing (License Management)

Answer

A host ID (or hostid) is an identifier unique to a particular computer, and is used by FLEXnet to lock licenses to a particular machine. If the host ID provided at the time the license is generated is wrong, then the license does not enable the tools.

The method of obtaining a host ID differs depending on the type of license (see the FAQ entry: What licensing options are available for ARM's development tools? ), the hardware platform, and operating system used.

  • Node Locked Licenses: For node locked licenses you must use the host ID of the client machine where the tools are to be installed and run.  The host ID can be:
    • Physical Address (also know as MAC) of a network adapter
    • Volume Serial Number of C: (Windows only)
  • Floating License: For floating licenses you must use the host ID(s) of the license server(s) hosting the licenses - not that of the client workstations.

FLEXnet tools

If you have the FLEXnet tools installed, you can get a list of the recognised host IDs by executing the following from a terminal on Linux or a command (run) prompt on Windows:

  lmutil lmhostid

The host ID is the 12 digit value, without the dashes.  So in the example above, the host ID is 001124642313.

Note: Be aware that for recent versions of Linux that use the new Consistent Network Device Naming scheme, lmutil lmhostid returns all zeros. ARM recommends that you use ifconfig for these version of Linux.

Also, see Alternative methods of finding the host ID.

Alternative methods of finding the host ID

You can also find the host ID manually using:

OS  Command Server Host ID Type   Comments
Windows ipconfig /all ETHERNET The hostid is returned as the 12 digit hex ‘Physical Address’. Remove the hyphens, ‘-’, before entering it.
Linux   /sbin/ifconfig eth0 ETHERNET Returns a 12 digit hex ‘HWaddr’. Remove the colons.  Only eth0 can be used to obtain the host ID.
Solaris /usr/bin/hostid LONG

Returns the 8 digit hex host ID.

Notes:
  1. The Server Host ID Type is required when you request your license from the ARM web licensing portal.  See the FAQ entry, How do I obtain my license file, for more information.
  2. If you are requesting a three server (redundant server) license then you must have a valid and different host ID for each of the three machines.
  3. You cannot use a volume serial number as the host ID for a Windows license server.
Note: If the client PC has multiple network adapaters the command returns multiple Physical Addresses.  On a Windows machine, any Physical Address can be used - as long as it is visible when running the tools.  Beware of using wireless adapaters because they might be disabled when not is use to save power.
c:\>vol c:
 Volume in drive C has no label.
 Volume Serial Number is 80A3-03C1

The host ID is the 8 digit value, without the dash.  So in this example, the host ID is 80A303C1.  In a license file, this is written as DISK_SERIAL_NUM=80A303C1.

Note: While Volume Serial Numbers are supported, it is usually recommend to use a MAC address where possible.

Article last edited on: 2013-01-29 09:59:13

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential