Switch to the standby database when the active database fails,
or you want to perform maintenance on the active database.
At the Replication
Server, enter:
switch active for logical_ds.logical_db
to standby_ds.standby_db
See "Internal Switching Steps" for
information on what Replication Server does when you switch.
To monitor
the progress of a switch, enter:
admin logical_status, logical_ds, logical_db
The Operation in Progress and State
of Operation in Progress output columns indicate the
switch status.
When the active database switch is complete, resume
the connection to the active database in Replication Server:
resume connection to active_ds.active_db
Suspend the Replication Agent at the original active
site, if not already suspended. Configure it to standby mode:
ra_config ra_standby,true
Replication Agent at the original standby mode is
automatically suspended and changed from standby mode to replication
mode. To check, enter:
ra_config ra_standby
The return values must be false.
Resume both the Replication Agents at the active
and standby sites.
Note: If Replication Server stops in the middle of switching,
the switch resumes after you restart Replication Server. When you
resume the Replication Agent at the standby site, it automatically
updates the Replication Agent System Database (RASD).
Before Switching Active and Standby Databases
Illustrates a warm standby application for a database that does not participate in the replication system other than through the activities of the warm standby application itself.
After Switching Active and Standby Databases
Learn the processes involved and the status of the components in a warm standby environment after you switch from the active to the standby database.