4 Replies Latest reply: Feb 20, 2013 6:51 PM by Deb_1 RSS

    MQ Upgrade Dependency

    Deb_1
      Hi All,

      There is a requirement to upgrade our IBM MQ version from 6 to 7 in our server
      We are running on Tuxedo 11gr1.
      In our RM file  -
      ProdServer:/opt/tuxedo/udataobj>less RM
      # WebSphere MQ 6.0
      MQSeries_XA_RMI:MQRMIXASwitchDynamic: /opt/mqm/lib/libmqmxa.so /opt/mqm/lib/libmqm.so

      In our common build/Development Server Common Makefile:
      Can see a line like this:
      MQMDIR=/opt/mqm

      Also in Txn Manager server :
      ${PROJECT_HOME}/bin/debug/TMS_MQ:
      buildtms -v -o$@ -rMQSeries_XA_RMI

      In Our Application Header files we can see this :
      MQHCONN Hcon; /* connection handle */
      MQHOBJ Hobj;
      MQLONG CompCode; /* completion code */
      MQLONG OpenCode; /* MQOPEN completion code */
      MQLONG Reason; /* reason code */
      MQLONG CReason; /* reason code for MQCONN */

      While building one of our Application we had seen :

      /opt/tuxedo/bin/buildserver \
      \
      -sMQWRITE_0002_00 \
      -rMQSeries_XA_RMI \
      -v -o "debug/MQWRITE_0002_00" \
      -f " -g -L./debug -L/export/home/i5dev/dev.C++5/buildPromoted/build.20060508/lib/debug -L/lib/debug -xildoff \
      debug/MQWriteServer.o debug/MQWriteService.o debug/stamp.o \
      \
      \
      -lISLog -lISTux -lISCommon -Bdynamic";

      While Compiling :
      CC -w -I$TUXDIR/include -o debug/MQWRITE_0002_00 BS-12ce.c -L${TUXDIR}/lib -g -L./debug -L/export/home/i5dev/dev.C++5/buildPromoted/build.20060508/lib
      /debug -L/lib/debug -xildoff debug/MQWriteServer.o debug/MQWriteService.o debug/stamp.o
      -lISLog -lISTux -lISCommon -Bdynamic -ltux -lbuft ${MQMDIR}/lib/libmqmxa.a ${MQMDIR}/lib/libmqm.so ${MQMDIR}/lib/libmqmcs.so ${MQMDIR}/lib
      /libmqmzse.so ${MQMDIR}/lib/libmqz.so -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl


      Hence when the MQ Version is upgraded Do we need to rebuild our Application or the Existing Binaries should work fine?

      Regards
      Deb
        • 1. Re: MQ Upgrade Dependency
          Todd Little-Oracle
          Hi Deb,

          I would think this would be a question for IBM as Tuxedo's only involvement with MQ in this scenario is as a resource manager. So if the version 7 shared libraries can be used without relinking, then you should be good to go. Alternatively I suspect you can use the version 6 client libraries with a version 7 queue manager as IBM claims that level of interoperability.

          Regards,
          Todd Little
          Oracle Tuxedo Chief Architect
          • 2. Re: MQ Upgrade Dependency
            Deb_1
            Hi Todd,
            When I did :
            ldd TMS_MQ |grep mqm
            Received the below out put.
            /opt/mqm/lib/libmqmxa.so
            /opt/mqm/lib/libmqm.so
            libmqz.so => /opt/mqm/lib/libmqz.so
            libmqmcs.so => /opt/mqm/lib/libmqmcs.so
            libmqmzse.so => /opt/mqm/lib/libmqmzse.so

            Same for the other binaries too..
            These Shared libraries are - loaded dynamically at the moment when it's required by the application.
            So if the version 7 shared libraries can be used without relinking, then you should be good to go
            So you meant -
            1.We need to take back up of old libraries.
            2.Let IBM replace the shared libraries with the new one.
            3.Let us run our application.
            4.Check if its working.
            5.If not, we need to rebuild the binaries.

            Alternatively I suspect you can use the version 6 client libraries with a version 7 queue manager as IBM claims that level of interoperability.
            So You meant -
            1.We need to use the old libraries for our binaries.
            2.Let the QM only be upgraded.
            3.Application can happily access the MQ objects.


            Is my understanding correct?


            Many thanks!!!!

            Regards,
            Deb
            • 3. Re: MQ Upgrade Dependency
              Todd Little-Oracle
              Hi Deb,

              Correct on both accounts!

              Regards,
              Todd Little
              Oracle Tuxedo Chief Architect
              • 4. Re: MQ Upgrade Dependency
                Deb_1
                Thank a lot Todd!!!
                We will check with IBM now.

                Regards,
                Deb