SET FAST_START FAILOVER TARGET
The SET FAST_START FAILOVER TARGET command enables you to set the fast-start failover target to the named standby database without disabling fast-start failover or modifying the fast start failover list.
Format
SET FAST_START FAILOVER TARGET TO <db_unique_name> [NOWAIT];
Command Parameters
Usage Notes:
- The
NOWAITclause specifies that the command will not wait for the change of fast-start failover target to complete.
Command Example
Example 1: Setting the Fast-start Failover to a Specific Standby
The following example shows how to set the fast-start failover target to the standby database named Boston.
DGMGRL> SET FAST_START FAILOVER TARGET TO Boston;
Changing fast-start failover target to ‘Boston’…
Succeeded.
DGMGRL> SHOW FAST_START FAILOVER;
Fast-Start Failover: Enabled in Zero Data Loss Mode
Protection Mode: MaxAvailability
Lag Limit: 0 seconds
Threshold: 180 seconds
Ping Interval: 3000 milliseconds
Ping Retry: 0
Active Target: Boston
Potential Targets: "Nashua, Boston"
Nashua valid
Boston valid
Observer: observer-node
Lag Limit: 30 seconds (not in use)
Shutdown Primary: TRUE
Auto-reinstate: TRUE
Observer Reconnect: (none)
Observer Override: FALSE
Configurable Failover Conditions
Health Conditions:
Corrupted Controlfile YES
Corrupted Dictionary YES
Inaccessible Logfile NO
Stuck Archiver NO
Datafile Write Errors YES
Oracle Error Conditions:
(none)Example 2: Using the NOWAIT Mode with Setting a Fast Start Failover Target
The following command sets the fast-start failover target to the standby database
named Boston. The NOWAIT clause specifies that the command will not wait
for the change of fast-start failover target to complete.
DGMGRL> SET FAST_START FAILOVER TARGET TO Boston NOWAIT;
Fast-start failover target switch to “Boston” requested.
DGMGRL> SHOW FAST_START FAILOVER;
Fast-Start Failover: Enabled in Zero Data Loss Mode
Protection Mode: MaxAvailability
Lag Limit: 0 seconds
Threshold: 180 seconds
Active Target: Nashua
Potential Targets: "Nashua, Boston"
Nashua valid
Boston valid
Observer: observer-node
Shutdown Primary: TRUE
Auto-reinstate: TRUE
Observer Reconnect: (none)
Observer Override: FALSE
Configurable Failover Conditions
Health Conditions:
Corrupted Controlfile YES
Corrupted Dictionary YES
Inaccessible Logfile NO
Stuck Archiver NO
Datafile Write Errors YES
Oracle Error Conditions:
(none)
DGMGRL> SHOW FAST_START FAILOVER;
Fast-Start Failover: Enabled in Zero Data Loss Mode
Protection Mode: MaxAvailability
Lag Limit: 0 seconds
Threshold: 180 seconds
Active Target: Boston
Potential Targets: "Nashua, Boston"
Nashua valid
Boston valid
Observer: observer-node
Shutdown Primary: TRUE
Auto-reinstate: TRUE
Observer Reconnect: (none)
Observer Override: FALSE
Configurable Failover Conditions
Health Conditions:
Corrupted Controlfile YES
Corrupted Dictionary YES
Inaccessible Logfile NO
Stuck Archiver NO
Datafile Write Errors YES
Oracle Error Conditions:
(none)