Domain Failover using FAILOVERSEQ doen't work on Solaris (Doc ID 776799.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo - Version 9.1 and later
Information in this document applies to any platform.
Information in this document applies to any platform

Goal

In case of the following Domain configuration on Soalris 9, failover mechanism does not work.

*DM_TDOMAIN
TDOM1   NWADDR="//host:8888" # local domain
TDOM2   NWADDR="//host:5599" # primary remote domain
        CONNECTION_POLICY=ON_STARTUP
        LACCESSPOINT=TDOM1
        FAILOVERSEQ=110
TDOM2   NWADDR="//host:8899" # secondary remote domain
        CONNECTION_POLICY=ON_STARTUP
        LACCESSPOINT=TDOM1
        FAILOVERSEQ=120

When GWTDOMAIN of host:5599 is down, TDOM1 should connect host:8899 after trying host:5599,  however it does not work
and following log outputs in ULOG.

132658.host!GWTDOMAIN.26855.4.0: LIBGWT_CAT:1303: ERROR: Network error occurre
d during connection establishment
132658.host!GWTDOMAIN.26855.4.0: LIBGWT_CAT:1512: ERROR: Unable to connect to
remote domain TDOM2
132658.host!GWTDOMAIN.26855.4.0: LIBGWT_CAT:1500: INFO: Retrying domain (domai
nid=<TDOM2>) every 60 seconds

If primary domain is remote machine it will be success failover(this problem occurs on same machine domain
configuration)

132855.host!GWTDOMAIN.26866.5.0: LIBGWT_CAT:1249: WARN: Connection to TDOM2 ad
dress //hostA:5599 failed, Network error(150)
132855.host!GWTDOMAIN.26866.5.0: LIBGWT_CAT:1305: INFO: A connection attempt h
as failed for TDOM2, trying new address //host:8899
132855.host!GWTDOMAIN.26866.4.0: LIBGWT_CAT:1129: INFO: Connection established with domain (domainid=<TDOM2>)

In the case of HP-UX, it will be success failover with Network error code=245 

132543.host!GWTDOMAIN.17581.5.0: LIBGWT_CAT:1249: WARN: Connection to TDOM2 address //host:5599 failed, Network
error(245)
132543.host!GWTDOMAIN.17581.5.0: LIBGWT_CAT:1305: INFO: A connection attempt ha
s failed for TDOM2, trying new address //host:8899
132543.host!GWTDOMAIN.17581.4.0: LIBGWT_CAT:1129: INFO: Connection established
with domain (domainid=<TDOM2>)



Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms