At the time of a primary site failure, the data tier will possess all of the data necessary to allow the DR site to take over operation. The failover procedure is as follows:
If you are using Oracle, any stale sessions in the primary database will generate an error during failover through Oracle. To resolve this error, issue the following command to kill all open sessions before preparing for failover.
ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN
If you are using Postgres, any stale sessions in the primary database will generate an error during failover. To resolve this error, issue the following command to kill all open sessions before preparing for failover.
pg_ctl stop -m fast
cd /opt/CA/saas/repo/application DR_mode.sh mode=standby
cd /opt/CA/saas/repo/application DR_mode.sh mode=live
Use the following order for running the script on DR site servers:
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|