8 Replies Latest reply: Jun 1, 2012 8:58 PM by Todd Little-Oracle RSS

    remote xa service failing

    user8781044
      I have a 2 node mp config. exposing a remotre service via a domain gw. Here are the gw ubb settings:


      Here is the relevent dmconfig file:

      # DMCONFIG FILE


      *DM_RESOURCES



      *DM_LOCAL

      "CWSHOST_10" GWGRP="CWSHOST_10"
      ACCESSPOINTID="CWSHOST_10"
      BLOCKTIME=120
      DMTLOGDEV="/home/hems/prod/DMTLOGDEV"
      DMTLOGNAME="DMTLOG"
      DMTLOGSIZE=200
      MAXTRAN=400
      BLOB_SHM_SIZE=1000000
      CONNECTION_POLICY=ON_STARTUP
      RETRY_INTERVAL=60
      MAXRETRY=MAXLONG

      "CWSHOST_20" GWGRP="CWSHOST_20"
      ACCESSPOINTID="CWSHOST_20"
      BLOCKTIME=120
      DMTLOGNAME="DMTLOG"
      DMTLOGSIZE=200
      MAXTRAN=400
      BLOB_SHM_SIZE=1000000
      CONNECTION_POLICY=ON_STARTUP
      RETRY_INTERVAL=60
      MAXRETRY=MAXLONG


      *DM_REMOTE

      "XMLProxy_Dom" ACCESSPOINTID="XMLProxy_Dom"
      CREDENTIAL_POLICY="LOCAL"
      "WR3_Listen" ACCESSPOINTID="WR3_Listen"
      CREDENTIAL_POLICY="LOCAL"


      *DM_TDOMAIN

      "CWSHOST_10" NWADDR="//CWSFEP1:30031"
      CMPLIMIT=1024
      NWPROTOCOL=LLE

      "CWSHOST_20" NWADDR="//CWSFEP2:30031"
      CMPLIMIT=1024
      NWPROTOCOL=LLE

      "XMLProxy_Dom" NWADDR="//sfldcwxm:20021"
      CMPLIMIT=1024
      LACCESSPOINT="CWSHOST_10"
      NWPROTOCOL=LLE

      "XMLProxy_Dom" NWADDR="//sfldcwxm:20021"
      CMPLIMIT=1024
      LACCESSPOINT="CWSHOST_20"
      NWPROTOCOL=LLE

      "WR3_Listen" NWADDR="//sfldwrfp:20031"
      CMPLIMIT=1024
      LACCESSPOINT="CWSHOST_10"
      NWPROTOCOL=LLE

      "WR3_Listen" NWADDR="//sfldwrfp:20031"
      CMPLIMIT=1024
      LACCESSPOINT="CWSHOST_20"
      NWPROTOCOL=LLE


      *DM_IMPORT

      *DM_IMPORT

      "XMLPROXYXA" AUTOTRAN=Y
      LOAD=50
      PRIO=50
      RACCESSPOINT=XMLProxy_Dom
      TRANTIME=0
      AUTOPREPARE=N


      The transaction goes to the gateway w/o incident but the GW on the non master node of the mp config fails with:



      103450.CWSFEP2!GWTDOMAIN.23818.4.0: gtrid x10001 x4fbf967b x5dd: LIBTUX_CAT:4055: ERROR: No service 'TMS' in group 'CWSHOST_20'
      103906.CWSFEP2!GWTDOMAIN.23818.4.0: gtrid x10001 x4fbf967b x8d5: LIBTUX_CAT:4055: ERROR: No service 'TMS' in group 'CWSHOST_20'
      104654.CWSFEP2!GWTDOMAIN.23818.4.0: gtrid x10001 x4fbf967b xe45: LIBTUX_CAT:4055: ERROR: No service 'TMS' in group 'CWSHOST_20'
      105450.CWSFEP2!GWTDOMAIN.23818.4.0: gtrid x10001 x4fbf967b x13ce: LIBTUX_CAT:4055: ERROR: No service 'TMS' in group 'CWSHOST_20'
      105753.CWSFEP2!GWTDOMAIN.23818.4.0: gtrid x10001 x4fbf967b x15df: LIBTUX_CAT:4055: ERROR: No service 'TMS' in group 'CWSHOST_20'
      111119.CWSFEP2!GWTDOMAIN.23818.4.0: gtrid x10001 x4fbf967b x1f46: LIBTUX_CAT:4055: ERROR: No service 'TMS' in group 'CWSHOST_20'


      Adding a tms which says should not be done gives a different error. anyone have some ideas running 10gr3 64 bit on hpux 11.31
        • 1. Re: remote xa service failing
          Todd Little-Oracle
          Hi,

          Can you post the portions of your UBBCONFIG file that configure your domain gateways?

          Regards,
          Todd Little
          Oracle Tuxedo Chief Architect
          • 2. Re: remote xa service failing
            user8781044
            From the mp config master

            "DMADM" SRVGRP="CWSHOST_10" SRVID=30
            CLOPT="-t -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWADM" SRVGRP="CWSHOST_10" SRVID=31
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWTDOMAIN" SRVGRP="CWSHOST_10" SRVID=32
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWADM" SRVGRP="CWSHOST_20" SRVID=31
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWTDOMAIN" SRVGRP="CWSHOST_20" SRVID=32
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"

            The remote domain

            "DMADM" SRVGRP="CWSHOST_10" SRVID=30
            CLOPT="-t -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWADM" SRVGRP="CWSHOST_10" SRVID=31
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWTDOMAIN" SRVGRP="CWSHOST_10" SRVID=32
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWADM" SRVGRP="CWSHOST_20" SRVID=31
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            "GWTDOMAIN" SRVGRP="CWSHOST_20" SRVID=32
            CLOPT=" -A"
            RQPERM=0666 REPLYQ=N RPPERM=0666 MIN=1 MAX=1 CONV=N
            SYSTEM_ACCESS=FASTPATH
            MAXGEN=5 GRACE=0 RESTART=Y
            MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
            SICACHEENTRIESMAX="500"
            • 3. Re: remote xa service failing
              Todd Little-Oracle
              Hi,

              Are you sure all instances of GWTDOMAIN are running? Can you print out all advertised services with tmadmin using psc -a2 on both the MASTER and the BACKUP?

              Regards,
              Todd Little
              Oracle Tuxedo Chief Architect
              • 4. Re: remote xa service failing
                user8781044
                psc -a2 -g CWSHOST_10
                Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
                ------------ ------------ --------- -------- -- ------- ------ ------
                ..DMMIB _DMMIB       DMADM      CWSHO+    30    CWSFEP1       - AVAIL
                DMADMIN DMADMIN DMADM CWSHO+ 30 CWSFEP1 - AVAIL
                ..GWA541 GWS GWADM CWSHO+ 31 CWSFEP1 - AVAIL
                CWSHOST_10 GWS GWADM CWSHO+ 31 CWSFEP1 - AVAIL
                XMLPROXY GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_IRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_IRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                DATADRIVE GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_WRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_WRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_IRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_IRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                AMLOADALERT GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                XMLPROXYXA GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_WRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_WRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                WR3_RSEGEN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                ..GWADMIN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                ..GWADV AD_UA_SP_RS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                ..TMS GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                TMS GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL

                psc -a2 -g CWSHOST_20
                Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
                ------------ ------------ --------- -------- -- ------- ------ ------
                ..GWA542 GWS GWADM CWSHO+ 31 CWSFEP2 - AVAIL
                CWSHOST_20 GWS GWADM CWSHO+ 31 CWSFEP2 - AVAIL
                XMLPROXY GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_IRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_IRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                DATADRIVE GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_WRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_WRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_IRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_IRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                AMLOADALERT GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                XMLPROXYXA GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_WRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_WRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                WR3_RSEGEN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                ..GWADMIN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                ..GWADV AD_UA_SP_RS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                • 5. Re: remote xa service failing
                  user8781044
                  From the master previous was secondary
                  psc -a2 -g CWSHOST_10
                  Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
                  ------------ ------------ --------- -------- -- ------- ------ ------
                  ..DMMIB _DMMIB       DMADM      CWSHO+    30    CWSFEP1       - AVAIL
                  DMADMIN DMADMIN DMADM CWSHO+ 30 CWSFEP1 - AVAIL
                  ..GWA541 GWS GWADM CWSHO+ 31 CWSFEP1 - AVAIL
                  CWSHOST_10 GWS GWADM CWSHO+ 31 CWSFEP1 - AVAIL
                  XMLPROXY GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_IRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_IRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  DATADRIVE GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_WRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_WRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_IRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_IRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  AMLOADALERT GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  XMLPROXYXA GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_WRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_WRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  WR3_RSEGEN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  ..GWADMIN GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  ..GWADV AD_UA_SP_RS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  ..TMS GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  TMS GWS GWTDOMAIN CWSHO+ 32 CWSFEP1 - AVAIL
                  psc -a2 -g CWSHOST_20
                  Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
                  ------------ ------------ --------- -------- -- ------- ------ ------
                  ..GWA542 GWS GWADM CWSHO+ 31 CWSFEP2 - AVAIL
                  CWSHOST_20 GWS GWADM CWSHO+ 31 CWSFEP2 - AVAIL
                  XMLPROXY GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_IRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_IRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  DATADRIVE GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_WRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_WRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_IRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_IRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  AMLOADALERT GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  XMLPROXYXA GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_WRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_WRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  WR3_RSEGEN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  ..GWADMIN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  ..GWADV AD_UA_SP_RS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                  • 6. Re: remote xa service failing
                    Todd Little-Oracle
                    Hi,

                    There doesn't appear to be a GWTDOMAIN running in group CWSHOST_20. Can you check the
                    ULOG to see why it isn't running?

                    Regards,
                    Todd Little
                    Oracle Tuxedo Chief Architect
                    • 7. Re: remote xa service failing
                      user8781044
                      The process is up and running, the service is advertised, maybe misunderstanding what you are saying

                      Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
                      ------------ ------------ --------- -------- -- ------- ------ ------
                      ..GWA542 GWS GWADM CWSHO+ 31 CWSFEP2 - AVAIL
                      CWSHOST_20 GWS GWADM CWSHO+ 31 CWSFEP2 - AVAIL
                      XMLPROXY GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_IRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_IRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      DATADRIVE GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_WRSCONT+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_WRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_IRMEASU+ GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_IRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      AMLOADALERT GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      XMLPROXYXA GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_WRCLEAN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_WRACTION GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      WR3_RSEGEN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      ..GWADMIN GWS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL
                      ..GWADV AD_UA_SP_RS GWTDOMAIN CWSHO+ 32 CWSFEP2 - AVAIL

                      >
                      quit
                      sfldcwf1:/home/tuxedo>ps -efx | grep GWTDOMAIN
                      tuxedo 19693 25853 0 10:13:55 ? 0:00 GWTDOMAIN -g 542 -i 32 -u CWSFEP2 -U /home/hems/prod/appdir/ULOG -m 65537 -A
                      tuxedo 27505 15480 0 10:53:46 pts/0 0:00 grep GWTDOMAIN
                      sfldcwf1:/home/tuxedo>nslookup sfldcwf1
                      Using /etc/hosts on: sfldcwf1

                      looking up FILES
                      Name: sfldcwf1
                      Address: 172.18.15.212
                      Aliases: sfldcwf1.ahltanet.local, CWSFEP2
                      • 8. Re: remote xa service failing
                        Todd Little-Oracle
                        Hi,

                        Sorry, it's hard to interpret the output with all the truncated names. In any case, what I was looking for was the .TMS service being advertise by GWTDOMAIN. Since it's not on CWSHOST_20, I looked back at your original post of your dmconfig file and noticed that the domain gateway for CWSHOST_20 doesn't have DMTLOGDEV defined. I'm guessing the domain gateway refused to become a TMS if it doesn't have a place to put it's transaction log. I would also be surprised if there wasn't something in the ULOG to that effect. In any case, try defining a DMTLOGDEV for CWSHOST_20 and see if your problems go away.

                        Regards,
                        Todd Little
                        Oracle Tuxedo Chief Architect