DR Switchover1 RAC

Embed Size (px)

Citation preview

  • 7/25/2019 DR Switchover1 RAC

    1/5

    Since You are using 2 node RAc as primary, so for switchoveroperation you need to shutdown one database instance( Supposeinstance 2).

    Suppose your node1hostname isdcpdb1and node 2hostname is dcpdb2

    and standby hostname is drpdb1

    So fo!!ow this steps for switchover .

    "ow to Switchover from #rimary to Standby $atabase%

    #rocess

    &n the primary server, chec' the !atest archived redo !og and force a !og switch.

    ())))))))))) *ogin dcpdb1 as &rac!e user )))))))))(

    S+* S-*-/ se0uence,

    firsttime, nettime 3R&4v5archived!og&R$-R 6Y nettime7S+* A*/-R SYS/-4 S89/" *&:39*-7

    hec' the new archived redo !og has arrived at the standby server and been app!ied.

    ())))))))))) *ogin drpdb1 as &rac!e user )))))))))(

    S+* S-*-/ se0uence, firsttime,nettime, app!ied3R&4 v5archived!og&R$-R 6Y nettime 7

    ())))))))))) *ogin dcpdb2 as &rac!e user )))))))))(

    S+* S-*-/ se0uence,firsttime, nettime 3R&4v5archived!og&R$-R 6Y nettime 7

    S+* A*/-R SYS/-4 S89/" *&:39*-7

    hec' the new archived redo !og has arrived at the standby server and been app!ied.

    ())))))))))) *ogin drpdb1 as &rac!e user )))))))))(

    S+* S-*-/ se0uence, firsttime,nettime, app!ied3R&4 v5archived!og&R$-R 6Y nettime 7

    ())))))))))) *ogin dcpdb1 as &rac!e user )))))))))(

    S+* S-*-/ S89/"&;-RS/A/

  • 7/25/2019 DR Switchover1 RAC

    2/5

    S89/"&;-RS/A/$6Y

    ())))))))))) *ogin dcpdb2 as &rac!e user )))))))))(

    S+* S-*-/ S89/"&;-RS/A/S"7

    $atabase a!tered.

    S+*S+* shutdown immediate&RA?1@? database not

    mounted&RA*- instance shutdown.S+*

    S+* startup mount&RA*- instance started./ota! System :!oba! Area1.@B??-C1? bytes 3ied SiDe21EBE2 bytes;ariab!e SiDe @1?F1EB bytes$atabase 6uffers

    F1FE@F?FB bytesRedo 6uffers 2GB?G2E?bytes$atabase mounted.S+* S-*-/ S89/"&;-RS/A/

  • 7/25/2019 DR Switchover1 RAC

    3/5

    H2EH2?1@

    S+* shutdownimmediate&RA?11?Gdatabase not open$atabase dismounted.

    &RA*- instanceshut down.S+*S+* startup&RA*- instancestarted.

    Switchover between primary RA and standby sing... I &rac!e ommunity

    /ota! System :!oba! Area1.@B??-C1? bytes 3ied SiDe21EBE2 bytes;ariab!e SiDe 1@21@2 bytes$atabase 6uffersF@?B1?BGF bytesRedo 6uffers 2GB?G2E?bytes

    $atabase mounted.$atabase opened.

    ())))))))))) *ogin dcpdb1 as &rac!e user )))))))))(

    S+* a!ter database open read on!y7

    $atabase a!tered.

    S+* a!ter database recover managed standby database using current !ogfi!e disconnect7

    $atabase a!tered.

    ())))))))))) *ogin dcpdb2 as &rac!e user )))))))))(

    S+* startup mount&RA*- instance started.

    /ota! System :!oba! Area1.@B??-C1? bytes 3ied SiDe21EBE2 bytes;ariab!e SiDe @1?F1EB bytes$atabase 6uffersF1FE@F?FB bytesRedo 6uffers 2GB?G2E?bytes

    $atabase mounted.S+* a!ter database open read on!y7

    $atabase a!tered.

    S+* a!ter database recover managed standby database using current !ogfi!e disconnect7

    $atabase a!tered.

    S+* S-*-/ S89/"&;-RS/A/

  • 7/25/2019 DR Switchover1 RAC

    4/5

    =/& S/A>$6Y

    ())))))))))) *ogin dcpdb1 as &rac!e user )))))))))(

    S+* S-*-/ S89/"&;-RS/A/

  • 7/25/2019 DR Switchover1 RAC

    5/5

    H2EH2?1@ Switchover between primary RA and standby sing... I &rac!e ommunity

    S+*

    ())))))))))) *ogin dcpdb2 as &rac!e user )))))))))(

    S+* S-*-/ S89/"&;-RS/A/