标签:date ati ssi oracle sts byte style primary 故障
DGMGRL> edit configuration set protection mode as maxAvailability;Succeeded.
DGMGRL> show database verbose xiaohe ‘LogXptMode‘LogXptMode = ‘ASYNC‘DGMGRL> show database verbose xiaohedg ‘LogXptMode‘LogXptMode = ‘ASYNC‘DGMGRL> edit database xiaohe set property LogXptMode = ‘SYNC‘;Property "logxptmode" updatedDGMGRL> edit database xiaohedg set property LogXptMode = ‘SYNC‘;Property "logxptmode" updatedDGMGRL>DGMGRL> show database verbose xiaohe ‘LogXptMode‘LogXptMode = ‘SYNC‘DGMGRL> show database verbose xiaohedg ‘LogXptMode‘LogXptMode = ‘SYNC‘
DGMGRL> show database verbose xiaohe ‘FastStartFailoverTarget‘;FastStartFailoverTarget = ‘xiaohedg‘DGMGRL> show database verbose xiaohedg ‘FastStartFailoverTarget‘;FastStartFailoverTarget = ‘xiaohe‘
DGMGRL> show fast_start failoverFast-Start Failover: DISABLEDThreshold: 30 secondsTarget: (none)Observer: xiaohe_dg1Lag Limit: 30 secondsShutdown Primary: TRUEAuto-reinstate: TRUEConfigurable Failover ConditionsHealth Conditions:Corrupted Controlfile YESCorrupted Dictionary YESInaccessible Logfile NOStuck Archiver NODatafile Offline YESOracle Error Conditions:(none)
DGMGRL> enable fast_start failover;Enabled.
SQL> shutdown abort;ORACLE instance shut down.
DGMGRL> start observerObserver started23:56:08.19 Saturday, March 18, 2017Initiating Fast-Start Failover to database "xiaohe"...Performing failover NOW, please wait...Failover succeeded, new primary is "xiaohe"23:56:11.64 Saturday, March 18, 2017
SQL> select open_mode from v$database;OPEN_MODE--------------------READ WRITE
SQL> startupORACLE instance started.Total System Global Area 839282688 bytesFixed Size 2233000 bytesVariable Size 494931288 bytesDatabase Buffers 339738624 bytesRedo Buffers 2379776 bytesDatabase mounted.ORA-16649: possible failover to another database prevents this database frombeing opened
DGMGRL> start observerObserver started23:56:08.19 Saturday, March 18, 2017Initiating Fast-Start Failover to database "xiaohe"...Performing failover NOW, please wait...Failover succeeded, new primary is "xiaohe"23:56:11.64 Saturday, March 18, 201700:05:46.24 Sunday, March 19, 2017Initiating reinstatement for database "xiaohedg"...Reinstating database "xiaohedg", please wait...Operation requires shutdown of instance "xiaohedg" on database "xiaohedg"Shutting down instance "xiaohedg"...ORA-01109: database not openDatabase dismounted.ORACLE instance shut down.Operation requires startup of instance "xiaohedg" on database "xiaohedg"Starting instance "xiaohedg"...ORACLE instance started.Database mounted.Continuing to reinstate database "xiaohedg" ...Reinstatement of database "xiaohedg" succeeded00:06:42.78 Sunday, March 19, 2017
标签:date ati ssi oracle sts byte style primary 故障
原文地址:http://www.cnblogs.com/xiaohe001/p/6577184.html