Obtaining System Hostids
The lmhostid utility prints the exact hostid that FlexNet Publisher requires on any given system. If your hostid contains characters other than the ASCII A through Z, a through z, or 0 through 9, use the -utf8 option with lmhostid. To view a correct representation of the resulting hostid, use a utility, such as Notepad, that can display UTF-8 encoded strings.
lmadmin displays hostids available for the license server on the System Information tab.
Because lmadmin is available only as a 32-bit process, the 32-bit FlexNet Licensing Service must be installed to display TPM details in lmadmin's System Information tab. The 32-bit FlexNet Licensing Service is available from the i86_n3 kit. The TPM hostid is currently supported on Windows platforms only.
Note:For the following cases, do not use the System Information tab in the lmadmin user interface to obtain hostids. Instead, use the methods described in the Hostid Procurement Methods table.
• | When the license server is operating on a virtual machine but bound to the physical hardware—A limitation in lmadmin causes the System Information tab to show virtual machine values for Host Name, Host Domain Name, IPv4 Address, IPv6 Address, Ethernet Address, and Volume Serial Number rather than the physical machine values. |
• | When running license clients or a license server in an Amazon EC2 environment—At this time, the System Information page is unable to show hostids specific to the Amazon EC2 environment. |
The following table lists some sample lmhostid and alternate methods to obtain the required hostid for each system architecture. FlexNet Publisher also supports a group of special hostids and vendor-defined hostids.
Hardware Platform |
Hostid |
Type this command |
Example hostid |
|||||||||
AIX (RS/6000, PPC) |
32-bit hostid |
lmhostid As best practice it is recommended to use lmhostid and that most of the time, the uname rule applies. uname -m For example, returns 000276513100. Remove last two digits and use remaining last eight digits. |
02765131 |
|||||||||
HP-UX (64-bit Itanium) |
machine identification |
lmhostid or getconf CS_PARTITION_IDENT Prefix returned value with "ID_STRING=" |
ID_STRING=9c766319-db72-d411-af62-0060b05e4c05 |
|||||||||
OS X |
Ethernet address |
lmhostid -ether |
000A277EA17E |
|||||||||
|
|
Note:This command lists the available in built Ethernet addresses, active or inactive. It does not currently list Ethernet addresses from removable devices such as USB Ethernet adapters. |
||||||||||
|
|
/sbin/ifconfig enx where enx is the Ethernet interface name (with x a value from 0 to 9); remove colons from returned value. |
000A277EA17E |
|||||||||
|
FlexNet ID USB port dongle |
lmhostid -flexid lmhostid -flexid -long |
FLEXID=9-b28520b9 |
|||||||||
Linux |
Ethernet address |
lmhostid -ether |
00400516E525 |
|||||||||
|
|
Note:This command lists all available Ethernet addresses (active or inactive), including those for team-bonding virtual adaptors. |
||||||||||
|
|
/sbin/ifconfig <ethernet_name> where <ethernet_name> is one of these Ethernet interface names:
Remove colons from returned HWaddr. |
00400516E525 |
|||||||||
|
FlexNet ID USB port dongle |
lmhostid -flexid lmhostid -flexid -long |
FLEXID=9-b28520b9 |
|||||||||
|
Note:The commands lmhostid -flexid is to fetch the dongle id and lmhostid -flexid -long command is used to get the error or log information along with the dongle id. |
|||||||||||
|
UUID (Universally Unique Identifier) for virtual machines |
lmhostid -ptype VM -uuid Supported for Xen, VMware, Oracle VirtualBox or Hyper-V (recommended), Parallels, QEMU-KVM, Google Compute, Microsoft Azure, and Nutanix. |
VM_UUID=DF440538-8EB7-11DC-BBDA-FE7FE89E000F |
|||||||||
|
|
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. To do this, certificate-only customers need to ensure “install_fnp.sh --cert” is run from the publisher directory with root-privilege at install time. |
||||||||||
|
AMZN_EIP in Amazon EC2 environment |
lmhostid -ptype AMZN -eip |
AMZN_EIP=184.72.45.35 |
|||||||||
|
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |
|||||||||||
|
AMZN_AMI in Amazon EC2 environment |
lmhostid -ptype AMZN -ami |
AMZN_AMI=ami-6a807503 |
|||||||||
|
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |
|||||||||||
|
VM_UUID in Amazon EC2 environment |
lmhostid -ptype VM -uuid |
VM_UUID=i-7d409db1 (Server only) |
|||||||||
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |
||||||||||||
Sun |
32-bit hostid |
lmhostid or hostid |
170a3472 |
|||||||||
Ethernet address |
lmhostid -ether |
00400516E525 |
||||||||||
Windows |
Ethernet address |
lmhostid |
00B0A9DF9A32 |
|||||||||
|
|
Note:This command lists all available Ethernet addresses (active or inactive), including those for team-bonding virtual adaptors. |
||||||||||
|
Disk serial number |
lmhostid -vsn |
DISK_SERIAL_NUM= |
|||||||||
|
FlexNet ID parallel or USB port dongle |
lmhostid -flexid lmhostid -flexid -long |
FLEXID=9-b28520b9 |
|||||||||
|
Note:For parallel port dongles, the parallel port must be configured in bi-directional mode. The commands lmhostid ‑flexid is to fetch the dongle id and lmhostid -flexid -long command is used to get the error or log information along with the dongle id. |
|||||||||||
VM_UUID (Universally Unique Identifier) for virtual machines |
lmhostid -ptype VM -uuid where <virtual machine type> is one of these: Supported for Xen, VMware, Oracle VirtualBox or Hyper-V (recommended), Parallels, QEMU-KVM, Google Compute, Microsoft Azure, and Nutanix. |
VM_UUID=DF440538-8EB7-11DC-BBDA-FE7FE89E000F (Server only) |
||||||||||
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |
||||||||||||
|
AMZN_EIP in Amazon EC2 environment |
lmhostid -ptype AMZN -eip |
AMZN_EIP=184.72.45.35 |
|||||||||
|
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |
|||||||||||
|
AMZN_AMI in Amazon EC2 environment |
lmhostid -ptype AMZN -ami |
AMZN_AMI=ami-6a807503 |
|||||||||
|
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |
|||||||||||
|
TPM (Trusted Platform Module) |
lmhostid -tpm_id1 |
TPM_ID1=MKG5S-LU9TR-4LT7M-NICDK |
|||||||||
|
Note:Obtaining this hostid requires that the FlexNet Licensing Service be installed. |