Oracle 18c-Performing a Data Guard Failover using DBCS Console
Description:-
- In this article we are going to perform oracle 18c dataguard Failover step by steps using DBCS (Oracle Database Cloud Service Console)
- we can Perform the Failover Operation using DBCS (Oracle Database Cloud Service Console) Or dbaascli utility
Check this link how to create oracle database 18c dataguard
- Oracle 18c-Configure Data Guard On Oracle Cloud Service Here
Step1:-Open the Oracle Database Cloud Service console
Oracle 18c-Configure Data Guard Details
Step2:-Before Failover check the database level.
select name, db_unique_name, database_role, switchover_status, open_mode from v$database;
Overview Picture
Step3:-Login in to any one of server
Step4:-Check the Dataguard Status Using dbaascli Command dbaascli dataguard status
Step5:-Check the Dataguard configuration status
Step6:-From the menu we need select the Failover button, and then confirm the action.
Step7:-Failover operation is started using DBCS Console and databases in Maintenance mode
Step8:-Failover Successfully Completed using DBCS Console.
Step9:-After Failover check the database level.
select name, db_unique_name, database_role, switchover_status, open_mode from v$database;
Step10:-Check the Dataguard Status Using dbaascli Command
[oracle@chennai-dg01 ~]$ dbaascli dataguard status
DBAAS CLI version 1.0.0
Executing command dataguard status
SUCCESS : Dataguard is up and running
DETAILS:
Connected to “chennai_02”
Connected as SYSDBA.
Configuration – fsc
Protection Mode: MaxPerformance
Members:
chennai_02 – Primary database
chennai_01 – Physical standby database (disabled)
ORA-16661: the standby database needs to be reinstated
Properties:
FastStartFailoverThreshold = ’30’
OperationTimeout = ‘120’
TraceLevel = ‘USER’
FastStartFailoverLagLimit = ’30’
CommunicationTimeout = ‘180’
ObserverReconnect = ‘0’
FastStartFailoverAutoReinstate = ‘TRUE’
FastStartFailoverPmyShutdown = ‘TRUE’
BystandersFollowRoleChange = ‘ALL’
ObserverOverride = ‘FALSE’
ExternalDestination1 = ”
ExternalDestination2 = ”
PrimaryLostWriteAction = ‘CONTINUE’
ConfigurationWideServiceName = ‘chennai_CFG’
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
Catch Me On:- Hariprasath Rajaram
LinkedIn:https://www.linkedin.com/in/hari-prasath-aa65bb19/
Facebook:https://www.facebook.com/HariPrasathdba
FB Group:https://www.facebook.com/groups/894402327369506/
FB Page: https://www.facebook.com/dbahariprasath/?
Twitter: https://twitter.com/hariprasathdba