|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Data Service for Oracle Guide Oracle Solaris Cluster 4.0|
Database role failover or switchover is possible between an Oracle primary database and an Oracle standby database. When you use Oracle commands to change the role of Oracle Data Guard instances, the changes are not propagated to the Oracle Solaris Cluster resources that represent these instances. Therefore, you must also use Oracle Solaris Cluster commands to change extension properties of these resources to ensure that database instances are started in the correct role.
If a node fails while you are changing the role of an Oracle Data Guard instance, Oracle Solaris Cluster might restart the instance in an incorrect role. To prevent this possibility, change the Dataguard_role extension property of the Oracle server resource that represents the instance to IN_TRANSITION.
# clresource set -p Dataguard_role=IN_TRANSITION server-rs
The required combination of Dataguard_role and Standby_mode depends on the change of role, as follows:
# clresource set -p Dataguard_role=STANDBY -p Standby_mode=PHYSICAL server-rs
# clresource set -p Dataguard_role=STANDBY \ -p Standby_mode=LOGICAL server-rs
# clresource set -p Dataguard_role=PRIMARY server-rs
# clresource set -p Standby_mode=SNAPSHOT server-rs