Troubleshooting
Problem
You cannot obtain the host ID for Rational license key generation on Red Hat® Enterprise Linux® (RHEL) 7 by issuing the command /sbin/ifconfig eth# explained in technical document 330255: How to identify hostname and host ID for license generation.
Symptom
When attempting to install and configure the IBM® Rational® License Key Server (RLKS) on a Red Hat® Enterprise Linux® (RHEL) 7 host, the lmhostid command returns an empty string:
lmhostid - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
The FLEXlm host ID of this machine is ""
lmhostid - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
The FLEXlm host ID of this machine is ""
Cause
The IBM® Rational® License Key Server uses a version of Flexnet Publisher that requires an "eth#" port.
Running "ifconfig" on the rhel7 host reports the following:
As there is no "eth#" port, the toolkit cannot determine the host ID.
Running "ifconfig" on the rhel7 host reports the following:
enosp3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.15.7 netmask 255.255.255.0 broadcast 192.168.15.255
inet6 fe80::20c:29ff:fe91:e40f prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:91:e4:0f txqueuelen 1000 (Ethernet)
RX packets 28547 bytes 42023388 (40.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12893 bytes 946751 (924.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 6 bytes 560 (560.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 560 (560.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:bf:b3:39 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3 bytes 234 (234.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
As there is no "eth#" port, the toolkit cannot determine the host ID.
Environment
Red Hat® Enterprise Linux® (RHEL) 7
Resolving The Problem
This behavior is due to a new default for assigning network interface name based on the PCI device numbers of the network cards. More information on this behavior can be found at: https://access.redhat.com/discussions/644133
WORKAROUND:
This behavior needs to be disabled at system boot time. To do so, perform the following operations:
- Log in as root.
- CD to /etc/default
- Edit the "grub" file using a text editor
- Locate the GRUB_CMDLINE_LINUX line
- Add net.ifnames=0 to the line inside the quotation marks
- Save the file and exit the editor
- CD to /boot/grub2
- Make a backup copy of grub.cfg
- Run grub2-mkconfig > grub.cfg
- Reboot.
Note: This boot change may be reverted when applying future Kernel updates.
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTMW6","label":"Rational License Key Server"},"ARM Category":[{"code":"a8m0z0000001hayAAA","label":"Rational licensing->License Key Server"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.1.1;8.1.2;8.1.3;8.1.4;8.1.5;8.1.6"}]
Was this topic helpful?
Document Information
Modified date:
01 January 2021
UID
swg21691065