Appendix A - Hostids for FLEXlm-Supported Machines

Table of Contents * Index * Previous Chapter * Next Chapter

FLEXlm uses different machine identifications for different machine architectures. For example, all Sun Microsystems, Inc. machines have a unique hostid, whereas all DEC machines do not. For this reason, the ethernet address is used on some machine architectures as the `hostid'. An ethernet address is a 6-byte quantity, with each byte specified as two hexadecimal digits. Specify all 12 hex digits when using an ethernet address as a hostid. For example, if the ethernet address is 8:0:20:0:5:ac, you would specify `0800200005ac' as the hostid.

The program lmhostid will print the exact hostid that FLEXlm expects to use on any given machine. The following table lists alternate methods to obtain the required hostid for each machine architecture

Numeric, 32-bit hostids are normally used in hexadecimal format. On some systems, including HP and SGI, the system command returns the number in decimal format. Since v3.0 of FLEXlm, a '#' before the hostid, indicates to FLEXlm that this is a decimal number. For example, if the HP uname -i command returns `2005771344', FLEXlm will accept `#2005771344'. Or it can be converted to hexadecimal. On Unix system, you can convert to hex with the following script:

% echo 2005771344 16o p | dc
778DA450

A.1 Hostid Table

AIX (RS/6000, PPC) 32-bit hostid uname -m (returns 000276513100), then remove last 2 digits, and use remaining last 8 digits 02765131
DEC Alpha ethernet address netstat -i 080020005532
HP 32-bit hostid uname -i and convert to hex, or prepend with # 778DA450 or #2005771344
  ethernet address lanscan (station address without leading `0x') 0000F0050185
Linux ethernet address /sbin/ifconfig eth0 and remove colons from HWaddr 00:40:05:16:E5:25 00400516E525
SCO Hostid String uname -x (returns SCO00354), then prefix with `ID_STRING=' ID_STRING=SCO00354
SGI 32-bit hostid /etc/sysinfo -s, convert to hex, or prefix '#' 69064C3C or #1762020412
SUN 32-bit hostid hostid 170a3472
VAX/VMSAlpha/OpenVMS ethernet address ncp 0800200055327
Windows ethernet lmutil lmhostid 0800200055327
  Disk serial number DIR C: (look for `Volume Serial Number is', and remove `-') DISK_SERIAL_NUM= 1CA25283
  Dongle - parallel port hardware key lmhostid -flexid FLEXID=72850003

Table of Contents * Index * Previous Chapter * Next Chapter

© 2008 ANSYS, Inc. All Rights Reserved.