Best Practice: Graceful Switchover Process

Follow

Read our docs This article defines the pre-requisites and high level process of Graceful Switchover.


Problem Details

Problem Statement

N/A

Applicable Error Code

N/A

Affected Versions

Version independent

Affected Platforms

Platform independent

 
Description

This article describes the entire Graceful Switchover process on a high level and as well as the config files needed to be changed after successfully doing so.

It is expected that the "System Requirements" section, and "Important" notes from our user guides which relates to Graceful Switchover (i.e. ASM support, etc.) have been reviewed carefully and taken into consideration prior to attempting Graceful Switchover to avoid unexpected issues. If you have not done so, we suggest to carefully review the following links:

References: 

 
Steps Performed
  1. Make sure that a valid backup of primary database is taken before Graceful Switchover is performed.
  2. Schedule the outage with the business/application owner.
  3. Shutdown the applications.
  4. Stop Dbvisit schedules on both primary and standby servers.
  5. Run Dbvisit manually on the primary to ship logs then on the standby to apply logs.
  6. Ensure that Standby database is up to date with the primary by running a log gap report. If there is a gap, repeat step5.
  7. Run the Graceful Switchover
  8. Point the application at the standby database server (which is now the primary) (at this stage you will need to make sure your networking - listener.ora/tnsnames.ora/sqlnet.ora on the standby server is configured, this can be done before step 1 even if not already in place).
  9. Start the application and users should now connect to the standby database (now the primary).
  10. If you are doing maintenance on the original primary then this might be down, during this time schedule should be stopped. Otherwise, you can enable Dbvisit schedules so the now standby database (old primary) will be synched automatically with the now primary database.

 

NOTE: You can follow the same steps as outlined above to switch the roles to its original state.

Have more questions? Submit a request

Comments