How to determine a license server hostid

A hostid is required for use with concurrent licensing.  It is used to identify the license server.  As the license server uses native code a number of platforms are supported.  Some hostid types are platform specific (such as the Windows Disk Serial Number and the Solaris hostid) and others such as those based on IP addresses or ethernet MAC addresses are available on all supported platforms.

There are two ways to determine the hostid of a system; you can either use the command line tool lmhostid which is included in our license server downloads, or you could use platform specific commands.

Please refer to the FlexNet Publisher License Administration Guide, chapter 6 "Hostids for Supported Platforms" for a full description of the available lmhostid options.

The table below shows the server Host ID types that DeltaXML supports for license servers (a subset of those supported by Flexera and listed in their documentation), when to use them, and how to generate them.

Host ID typeDescriptionlmhostid optionsCommand line alternativeExamples

Disk Serial Number

The serial number of the first physical hard disk drive.

Use when a physical machine has no ethernet card. 

lmhostid
-vsn

Windows

DISK_SERIAL_NUM=42cab316
DIR C:\ 

look for the "Volume Serial Number", remove any dashes

Ethernet

This is the MAC address of the network card.

It is a recommended identifier for physical machines.

It should be specified as a 6 byte quantity with each byte specified as two hex digits.

lmhostid
-ether 
 
Unix00155d141307
/sbin/ifconfig <ethernet_name>

Look for the ether line of the active ethernet adapter. On linux usually eth0, on Mac en0 or en1.

Windows
ipconfig /all

Look for the Physical Address of the active ethernet adapter.

Remove the dashes.

Solaris hostidFor machines running Solaris this is the result of the hostid commandlmhostd
hostid

00470bb5

IP Address

(INTERNET)

An IPv4 or IPv6 address

Can be used in Virtual Machines.

lmhostid
-internet

Unix

INTERNET=216.239.57.119

INTERNET=192.168.1.22

INTERNET=2001:db8:d1:5::22

ifconfig

Windows

ipconfig

VM UUID

A Virtual Machine identifier.

Preferred for use in Virtual Machines (such as Amazon EC2 or Hyper-V)

lmhostid
-ptype VM
-uuid 
 
VM_UUID=9980A572-3723-47A8-B0CF-5B4854C3BFBE

When entering hostids into the Flexnet Operations system you may need to remove the type prefix (the word before the = symbol) such as VM_UUID= or INTERNET=. The hostid type is specified immediately before the text entry area.

#content .code