Page tree
Skip to end of metadata
Go to start of metadata

cross reference SAP SYSAM Users Guide . . . page 19
      . . .
         Platform    Host ID Type             Native OS Command
         Linux         Ethernet Address      /sbin/ifconfig eth0 (use "HWaddr" value)


   

A)  DC (DirectConnect) servers bundled with SYSAM version 2.x fails to check out a SYSAM unserved license because
      . . . lmutil lmhostid . . . fails to find host id on rhel 7.x linux with non-eth0 network cfg
      A.1)  DC MFC (DirectConnect Mainframe Connect) 15.0.1
                  also known by . . .
                           DC MFC DB2 (DirectConnect for DB2) (DB2 Access Service library . . . db2.so / db2.dll) . . . this used to be the MDI Gateway to DB2 on z/OS
                           DC MFC TRSTCP (DirectConnect for TRSTCP) (Transaction Router Service library . . . trstcp.so / trstcp.dll) . . . this used to be the Sybase NetGateway to DB2 on z/OS
      A.3)  DC ECDA for ODBC 15.7
                  also known by . . .
                           ECDA for Microsoft SQL Server
                           ECDA for IBM Db2 LUW (Linux Unix Windows)
                           ECDA for ODBC
      A.3)  DC ECDA for Oracle 15.7
                  also known by . . .
                          ECDA for Oracle
                          DCO
                          dcoracle

B)  linux 7.x command . . . ip addr show . . . exposes legacy naming convention of . . . eth0 . . . is missing from rhel 7.x host by default . . . notice ens192(non-eth0) and xxxxxx(non-eth0) instead
         linux host #1 tested . . .
                   <rhel_7.x_hostname1>:/> ip addr show
                   . . .
                   2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 ... state UP ... qlen 1000
                   link/ether 12:34:56:78:9a:bc brd ff:ff:ff:ff:ff:ff
                   inet 111.222.111.222/24 brd 111.222.111.255 scope global ens192

         linux host #2 tested . . .

                   <rhel_7.x_hostname2>:/> ip addr show
                   . . .
                   2: enp5s0 : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 ... state UP ... qlen 1000
                   link/ether fe:dc:ba:98:76:54 brd ff:ff:ff:ff:ff:ff
                   inet 123.145.167.189/24 brd 123.145.167.255 scope global enp5s0 

C)  SYSAM version 2.1 bundled with DC MFC
         tcsh:<userid>@<host>:> <main_dc_mfc_dir>/SYSAM-2_0/bin/sysam version
                   IPv4 SySAM License Server v2.1
                   lmgrd v11.5.0.0 build 56285 i86_re3 - Copyright (c) 1988-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
                   17:35:07 (SYBASE) FLEXnet Licensing version v11.5.0.0 build 56285 i86_re3
                   SYBASE v11.5.0.0 build 56285 i86_re3 - Copyright (c) 1988-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
         tcsh:<userid>@<host>:/>

D)  lmutil lmhostid . . . fails to find host id on rhel 7.x linux when non-eth0 is associated with network configuration
        without strace
                tcsh:<userid>@<host>:> <main_dc_mfc_dir>/SYSAM-2_0/bin/lmutil lmhostid
                                lmutil - Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
                                The FLEXnet host ID of this machine is ""
                tcsh:<userid>@<host>:/>

        with strace
                tcsh:<userid>@<host>:/> strace -f <main_dc_mfc_dir>/SYSAM-2_0/bin/lmutil lmhostid >& <main_dc_mfc_dir>/DC-15_0/servers/<srvnm>/log/strace_lmutil_output.txt
                tcsh:<userid>@<host>:/> cat <main_dc_mfc_dir>/DC-15_0/servers/<srvnm>/log/strace_lmutil_output.txt | grep -i SIOCGIFHWADDR
                                ioctl(3, SIOCGIFHWADDR, {ifr_name="xp0"}) = -1 ENODEV (No such device)
                                ioctl(3, SIOCGIFHWADDR, {ifr_name="eth0"}) = -1 ENODEV (No such device)
                tcsh:<userid>@<host>:/>

E)  error message received in DC MFC <main_dc_mfc_dir>/DC-15_0/<srvnm>/log/<srvnm>.log
         LogNotice   MM/DD/YYYY 24:MM:SS.msmsms   srvnm   NULL   NULL   NULL   Sysam MesageID: 0 Severity: 100  The hostid of this system does not match the hostid

F)  cfg network on rhel 7.x <host> changed to ifcfg-eth0 from ifcfg-enp5s0
         F.1)  gnome desktop of rhel 7.x host
                      -> Applications
                      -> System Tools
                      -> Settings
                      -> Network
                      -> Wired
                      -> <sprocket icon>
                      -> Identity
                    
                    

                    change from
                     . . . enp5s0    or    ens192 . . .
                     . . . to . . . eth0
                    
         F.2)  edit txt file
                    tcsh:root@<host>:/> mv /etc/sysconfig/network-scripts/ifcfg-<non-eth0> /etc/sysconfig/network-scripts/ifcfg-eth0
                    tcsh:root@<host>:/> vi  /etc/sysconfig/network-scripts/ifcfg-eth0
                      change
                          DEVICE=eth0
                          NAME=eth0


                    tcsh:root@<host>:/> cat /etc/sysconfig/network-scripts/ifcfg-eth0 | egrep "DEVICE|NAME"
                    DEVICE=eth0
                    NAME=eth0
                    tcsh:root@<host>:/>

                    

author:  MALCOLM B WEAVER JR
author:  MALCOLM B WEAVER JR

  • No labels