Obtaining the Host Name and Host ID
The host name is usually known and equal to the output of the hostname(1) command. However, the host ID, as used by the license server of the Online Configurator, is different from the output of the hostid(1) command1. Assuming the license server is not already running the following can be done to obtain the host ID:
bash$ cd EAILS
bash$ java -jar LicenseServer.jar -log cons
NOTICE: Starting LicenseServer version 1.0.3
CONFIG: platform=amd64-linux
CONFIG: hostname=vaio, hostid=HHM5-N6MA-9ES2-DSEX
The license server can then be terminated using Control-C. Of course, the host name and host ID will be different from the values shown above.
If the license server is already running then the values can be obtained from the log file of the license server. The log files of the license server are usually in EAILS/var/log.
Footnotes
-
On Linux, the host ID is computed based on the hardware address of
eth0. Ifeth0does not exist then it is computed based on the hardware address of the first network interface found other than the loopback interface or a point-to-point interface. ↩