Lifecycle
Perform a Switchover
A switchover is a planned operation where an administrator reverts the roles of the two sites. After a switchover, the primary system becomes secondary and the secondary system becomes primary. Performing a switchover will cause downtime in the primary site.
A switchover is performed following the standard procedures (see Switchover in Oracle WebLogic Server for Oracle Cloud Infrastructure Disaster Recovery and SOA Suite on Oracle Cloud Infrastructure Marketplace Disaster Recovery.).
- Propagate any pending configuration changes per steps provided in "Setup Ongoing Configuration Replication".
- Stop servers in primary site.
- Switchover DNS names.
- Switchover database.
- Start the servers in secondary site.
The main difference is that only the Oracle Cloud Infrastructure (OCI) Console is used to switchover the Oracle Autonomous Database instance.
Note:
For Remote Refreshable Clones, if a permanent switchover is performed (if the secondary becomes primary beyond a non-permanent test or verification), then you must create a peer refreshable clone in the original primary region to have a secondary system for tests and validations in the new standby (originally primary). The refreshable clone in secondary will become un-reconnectable since its source will now be a standby (refreshable clones cannot be created, maintained, or connected from standby Oracle Autonomous Database Serverless). It isn't possible to refresh it again and, if needed, you can remove the database to reduce costs. For the creation of the new refreshable clone in the original primary (now standby), follow the same procedure as with the first one.
Perform the following steps for the switchover operation:
Perform a Failover
A failover operation is performed when the primary site becomes unavailable, and it is commonly an unplanned operation. You can role-transition a standby database to a primary database when the original primary database fails and there is no possibility of recovering the primary database in a timely manner.
There may or may not be data loss, depending upon whether your primary and target standby databases were consistent at the time of the primary database failure. A failover procedure is similar to a switchover procedure, but you perform a failover instead a switchover operation in the database.
Normally, a failover operation is executed when an outage affects the primary region. Therefore, there may be some tasks that you can’t perform in primary. For example, you may not be able to stop the Oracle WebLogic Server processes in primary because the hosts are unreachable.