Failover modes

This section shows examples of the RCM configuration file for each failover mode you can choose: switch active, quiesce, and none.


switch active

This section shows an example of an RCM configuration file for switch active mode:

# Open Switch Server
OPENSWITCH = ws_os
COORD_USER = os_coord
COORD_PASSWORD = os_coord_pwd

# Replication Server
REP_SERVER = ws_rs
RS_USER = sa
#RS_PASSWORD - Replication Server password is blank

# Active and Standby ASE Servers
ACTIVE_ASE = BookServer
ACTIVE_USER = sa
#ACTIVE_PASSWORD - ACTIVE ASE password is blank

STANDBY_ASE = StandbyBook
STANDBY_USER = stndby_sa
STANDBY_PASSWORD = booknut

# On failover switch the flow of replication
RS_FAILOVER_MODE = SWITCH

# Identify the databases in the warm-standby environment
LOGICAL_CONN = LDS.LDB
ACTIVE_DBS = pubs3
STANDBY_DBS = pubs3
REQUIRED_DBS = pubs3

APP_POOL= Application

# Wait 5 minutes before starting the failover
FAILOVER_WAIT = 300

# Provide Replication Server 2 minutes perform the switch active
MONITOR_WAIT = 120

If you use this example configuration file in your environment and the active Adaptive Server fails, the RCM switches the logical connection named “LDS.LDB” in the Replication Server. Then the RCM starts the Replication Agent thread in the standby Adaptive Server for the database “pubs3.”


quiesce

This section shows an example of an RCM configuration file for quiesce mode.

The section highlighted in bold is the only difference between this example and the previous example configuration file for switch active mode. See “switch active” for comparison.

# Open Switch Server
OPENSWITCH = ws_os
COORD_USER = os_coord
COORD_PASSWORD = os_coord_pwd

# Replication Server
REP_SERVER = ws_rs
RS_USER = sa
#RS_PASSWORD - Replication Server password is blank

# Active and Standby ASE Servers
ACTIVE_ASE = BookServer
ACTIVE_USER = sa
#ACTIVE_PASSWORD - ACTIVE ASE password is blank

STANDBY_ASE = StandbyBook
STANDBY_USER = stndby_sa
STANDBY_PASSWORD = booknut

# On failover quiesce the Replication Server
# No database information is needed
RS_FAILOVER_MODE = QUIESCE

# Test to make sure that the pubs3 database is available
REQUIRED_DBS = pubs3

APP_POOL= Application

# Wait 5 minutes before starting the failover
FAILOVER_WAIT = 300

# Provide Replication Server 2 minutes perform the switch active
MONITOR_WAIT = 120

If you use this example configuration file in your environment and if the active Adaptive Server fails, the RCM issues the quiesce command to Replication Server. All connections in Replication Server are then quiesced.


none

This section shows an example of an RCM configuration file for none mode.

The section highlighted in bold is the only difference between this example and the previous example for SWITCH ACTIVE mode. See “switch active” for comparison.

# Open Switch Server
OPENSWITCH = ws_os
COORD_USER = os_coord
COORD_PASSWORD = os_coord_pwd

# No Replication Server information is needed

# Active and Standby ASE Servers
ACTIVE_ASE = BookServer
ACTIVE_USER = sa
#ACTIVE_PASSWORD - ACTIVE ASE password is blank

STANDBY_ASE = StandbyBook
STANDBY_USER = stndby_sa
STANDBY_PASSWORD = booknut

# Manual Replication Server failover
# No database information is needed
RS_FAILOVER_MODE = NONE

# Don't switch the users to the standby ASE
SWITCH_USERS = 0

APP_POOL = Application

# Wait 5 minutes before starting the failover
FAILOVER_WAIT = 300

# Provide Replication Server 2 minutes perform the switch active
MONITOR_WAIT = 120

If you use this example configuration file in your environment and the active Adaptive Server fails, the RCM takes no action for Replication Server.