Db2

 View Only
  • 1.  purescale 11.1.3.3 support for RHEL 7.5

    Posted Thu April 08, 2021 09:53 AM

    Hi,

    I am puzzled by the time I spend and loose trying to install DB2 PureScale on a RHEL 7.x VMWARE.

    The install (on psnode2 only for now) of 11.1.3.3 CODE ONLY simply fails. (db2prereqchecks is successfull)

    [root@psnode2 tmp]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 7.5 (Maipo)

    Does someone have any clue ???

    Thanks, JMB

     

    1) db2_install, choose SERVER, answer YES to install pureScale feature.

    ==> Fails at compileGPL step.

    Installing DB2 file sets :.......Success
    Installing or updating DB2 HA scripts for IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP) :.......Success
    Installing or updating DB2 Cluster Scripts for IBM General Parallel File System (GPFS) :.......Success
    Installing or updating DB2 SSH Utilities :.......Success
    ERROR: An error occurred while compiling IBM General Parallel File System
    (GPFS) Portability Layer (GPL) on host "psnode2.localdomain". Return code "3".
    GPL compilation log file location  "/tmp/compileGPL.log.003". The GPFS file
    system cannot be mounted properly until the GPL module is successfully compiled
    on this host.  For details, see the specified GPL compilation log. After fixing
    the problems shown in the log file, re-run the DB2 installer. For information
    regarding the GPFS GPL module compile, see DB2 Information Center.

    Content of /tmp/compileGPL.log.003

    ============================
    cd /usr/lpp/mmfs/src/config; ./configure --genenvonly; if [ $? -eq 0 ]; then /usr/bin/cpp -P def.mk.proto > ./def.mk; exit $? || exit 1; else exit $?; fi
    Verifying that tools to build the portability layer exist....
    cpp present
    gcc present
    g++ present
    ld present
    cd /usr/lpp/mmfs/src/config; /usr/bin/cpp -P def.mk.proto > ./def.mk; exit $? || exit 1
    rm -rf /usr/lpp/mmfs/src/include /usr/lpp/mmfs/src/bin /usr/lpp/mmfs/src/lib
    mkdir /usr/lpp/mmfs/src/include /usr/lpp/mmfs/src/bin /usr/lpp/mmfs/src/lib
    rm -f //usr/lpp/mmfs/src/gpl-linux/gpl_kernel.tmp.ver
    cleaning (/usr/lpp/mmfs/src/ibm-kxi)
    make[1]: Entering directory `/usr/lpp/mmfs/src/ibm-kxi'
    rm -f trcid.h ibm_kxi.trclst
    rm -f  install.he; \
     for i in cxiTypes.h cxiSystem.h cxi2gpfs.h cxiVFSStats.h cxiCred.h cxiIOBuffer.h cxiSharedSeg.h cxiMode.h Trace.h cxiMmap.h cxiAtomic.h cxiTSFattr.h cxiAclUser.h cxiLinkList.h cxiDmapi.h Dynassert.h LockNames.h lxtrace.h cxiGcryptoDefs.h DirIds.h; do \
        (set -x; rm -f -r /usr/lpp/mmfs/src/include/cxi/$i) done
    make[1]: Leaving directory `/usr/lpp/mmfs/src/ibm-kxi'
    cleaning (/usr/lpp/mmfs/src/ibm-linux)
    make[1]: Entering directory `/usr/lpp/mmfs/src/ibm-linux'
    rm -f install.he; \
     for i in cxiTypes-plat.h cxiSystem-plat.h cxiIOBuffer-plat.h cxiSharedSeg-plat.h cxiMode-plat.h Trace-plat.h cxiAtomic-plat.h cxiMmap-plat.h cxiVFSStats-plat.h cxiCred-plat.h cxiDmapi-plat.h; do \
                    (set -x; rm -rf /usr/lpp/mmfs/src/include/cxi/$i) done
    make[1]: Leaving directory `/usr/lpp/mmfs/src/ibm-linux'
    cleaning (/usr/lpp/mmfs/src/gpl-linux)
    make[1]: Entering directory `/usr/lpp/mmfs/src/gpl-linux'
    Pre-kbuild step 1...
    /usr/bin/make -C /usr/src/kernels/3.10.0-862.el7.x86_64 M=/usr/lpp/mmfs/src/gpl-linux clean
    make[2]: Entering directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
    make[2]: Leaving directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
    rm -f -f /lib/modules/`cat //usr/lpp/mmfs/src/gpl-linux/gpl_kernel.tmp.ver`/extra/tracedev.ko
    rm -f -f /lib/modules/`cat //usr/lpp/mmfs/src/gpl-linux/gpl_kernel.tmp.ver`/extra/mmfslinux.ko
    rm -f -f /lib/modules/`cat //usr/lpp/mmfs/src/gpl-linux/gpl_kernel.tmp.ver`/extra/mmfs26.ko
    rm -f -f /usr/lpp/mmfs/src/../bin/lxtrace-`cat //usr/lpp/mmfs/src/gpl-linux/gpl_kernel.tmp.ver`
    rm -f -f /usr/lpp/mmfs/src/../bin/kdump-`cat //usr/lpp/mmfs/src/gpl-linux/gpl_kernel.tmp.ver`
    rm -f -f *.o .depends .*.cmd *.ko *.a *.mod.c core *_shipped *map *mod.c.saved *.symvers *.ko.ver ./*.ver install.he
    rm -f -rf .tmp_versions kdump-kern-dwarfs.c
    rm -f -f gpl-linux.trclst kdump lxtrace
    rm -f -rf usr
    make[1]: Leaving directory `/usr/lpp/mmfs/src/gpl-linux'
    for i in ibm-kxi ibm-linux gpl-linux ; do \
    (cd $i; echo  "installing header files" "(`pwd`)"; \
    /usr/bin/make DESTDIR=/usr/lpp/mmfs/src  Headers; \
    exit $?) || exit 1; \
    done

    installing header files (/usr/lpp/mmfs/src/ibm-kxi)

    make[1]: Entering directory `/usr/lpp/mmfs/src/ibm-kxi'
    Making directory /usr/lpp/mmfs/src/include/cxi
    touch install.he
    make[1]: Leaving directory `/usr/lpp/mmfs/src/ibm-kxi'
    installing header files (/usr/lpp/mmfs/src/ibm-linux)
    make[1]: Entering directory `/usr/lpp/mmfs/src/ibm-linux'
    touch install.he
    make[1]: Leaving directory `/usr/lpp/mmfs/src/ibm-linux'
    installing header files (/usr/lpp/mmfs/src/gpl-linux)
    make[1]: Entering directory `/usr/lpp/mmfs/src/gpl-linux'
    Making directory /usr/lpp/mmfs/src/include/gpl-linux
    touch install.he
    make[1]: Leaving directory `/usr/lpp/mmfs/src/gpl-linux'
    make[1]: Entering directory `/usr/lpp/mmfs/src/gpl-linux'
    Pre-kbuild step 1...
    Pre-kbuild step 2...
    touch install.he
    Invoking Kbuild...
    /usr/bin/make -C /usr/src/kernels/3.10.0-862.el7.x86_64 ARCH=x86_64 M=/usr/lpp/mmfs/src/gpl-linux CONFIGDIR=/usr/lpp/mmfs/src/config  ; \
    if [ $? -ne 0 ]; then \
            exit 1;\
    fi
    make[2]: Entering directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
      LD      /usr/lpp/mmfs/src/gpl-linux/built-in.o
      CC [M]  /usr/lpp/mmfs/src/gpl-linux/tracelin.o
      CC [M]  /usr/lpp/mmfs/src/gpl-linux/tracedev-ksyms.o
      CC [M]  /usr/lpp/mmfs/src/gpl-linux/ktrccalls.o
      CC [M]  /usr/lpp/mmfs/src/gpl-linux/relaytrc.o
      LD [M]  /usr/lpp/mmfs/src/gpl-linux/tracedev.o
      CC [M]  /usr/lpp/mmfs/src/gpl-linux/mmfsmod.o
      LD [M]  /usr/lpp/mmfs/src/gpl-linux/mmfs26.o
      CC [M]  /usr/lpp/mmfs/src/gpl-linux/cfiles_cust.o
    make[2]: Leaving directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
    make[1]: Leaving directory `/usr/lpp/mmfs/src/gpl-linux'

     

    2) Trying db2setup, select option DB2 with pureScale and DO NOT create instance.

    [root@psnode2 tmp]# cat db2setup.106116.log

    DB2 Setup log file started at:  Fri Apr 20 09:09:54 PM 2018 CEST
    ============================================================

    Operating system information: Linux 3.10.0-862.el7.x86_64.#1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64
    ERROR:  The host "psnode2" could not ping the cluster interconnect netname
    "psnode2.localdomain". Check the cables, network adapter, and network
    configuration on the affected hosts. Ensure all cluster interconnect netnames
    are defined in each host's /etc/hosts file in exactly the same way.

    DB2 Setup log file finished at:  Fri Apr 20 09:11:57 PM 2018 CEST
    ============================================================

    I can ping psnode2 and psnode2.localdomain, this is the local host.


    #Db2


  • 2.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:31 PM

    Hi,

    For 1) Can you run <install_dir>/instance/native/install/compileGPL > /tmp/compileGPL.log 2>&1 as root on psnode2?

    For 2) Will you be able to attach /tmp/db2setup.106116.trc? 

     

    Thanks




  • 3.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:31 PM

    Hello,

    Please find attached /tmp/db2setup.106116.trc and .log files, and compileGPL.log.

    Thanks,

    JMB




  • 4.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:32 PM

    Hello,

    Is there any news about this issue ? Is it or will it be fixed with a new 11.1..4.4 build ?

    Thanks & Best regards,

    JMB




  • 5.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:32 PM

    Hi,

    Apologies for the delay.

    I asked our purescale experts in the lab, and V11.1.3.3 purescale is NOT supported on RHEL7.5.


    Also, looking at compileGPL.log, Spectrum Scale failed to compile so I am assuming the Spectrum Scale version 4.1.1.17 that comes with Db2 V11.1.3.3 is not supported on RHEL7.5 either.

    However, please double check the Spectrum Scale doc on this. 

    Regarding the second issue, the installer did a "ping -c1 psnode2.localdomain" from "psnode2" and that failed as well. You may need to refer to the following docs on how to setup /etc/hosts. 

    https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.qb.server.doc/doc/t0056052.html

     

     Lastly, regarding "Is it or will it be fixed with a new 11.1..4.4 build ?"
    By "it" do you mean Purescale support on RHEL7.5? If yes, I talked to our purescale experts about this and Purescale on RHEL7.5 will definitely be supported in future V11 fixpacks but we do not know whether it will be on V11.1.4.4. 

     

    Thanks 




  • 6.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:32 PM

    Hi,

    When reading your answer, IBM is definitively not agile. Sounds like the Windows 10 support, that came for DB2 Client many month after it was out when Oracle did already support this version.

    Well, that said, I have only RHEL 7.5 available, and I cannot demonstrate pureScale at customers. 11.1.4.4 is planned for November, I heard, and too bad if you cannot make it

    Best regards, JMB




  • 7.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:32 PM
    Wanted to give you a bit of an update  @jmblaise , that the testing and development work to support pS in RHEL 7.5 is continuing.  The bad news is that due to the OS change it is not trivial and requires updates to multiple components of the software stack.  The good news is that those are in progress and hopefully we'll have some better news for you in the not-too-distant future.


  • 8.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:32 PM

    Hi Kelly,

    Thanks for the update. I hope and cross my fingers for that for FP4 to support RHEL 7.5 (I don't know what is your metric when writing 'not-too-distant-future', but my metric is "a few months").

    Best regards, JMB




  • 9.  RE: purescale 11.1.3.3 support for RHEL 7.5

    Posted Mon March 30, 2020 01:32 PM
    A few pieces have to fall into place but yes, I have a similar timeframe in mind.