In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
I. description of the environment
Oracle 12c
RHEL 7
II. Operation
Note: the switch needs to be performed on the physical standby node because the primary node needs to be restarted.
1. View configuration
DGMGRL > show configuration;Configuration-dg_config Protection Mode: MaxAvailability Members: orcl-Primary database orcldg-Physical standby database Fast-Start Failover: DISABLEDConfiguration Status:SUCCESS (status updated 30 seconds ago)
two。 Verify the main library
DGMGRL > validate database orcl; Database Role: Primary database Ready for Switchover: Yes Flashback Database Status: orcl: Off
3. Verify the physical repository
DGMGRL > validate database orcldg; Database Role: Physical standby database Primary Database: orcl Ready for Switchover: Yes Ready for Failover: Yes (Primary Running) Flashback Database Status: orcl: Off orcldg: On Standby Apply-Related Information: Apply State: Running Apply Lag: 13 hours 29 minutes 48 seconds (computed 1 second ago) Apply Delay: 0 minutes
4. Make a switch
DGMGRL > switchover to orcldg;Performing switchover NOW, please wait...New primary database "orcldg" is opening...Oracle Clusterware is restarting database "orcl"... ORA-01017: invalid username/password; logon deniedWarning: You are no longer connected to ORACLE. Shut down instance "orcl" of database "orcl" start up instance "orcl" of database "orcl"
5. Confirm after switching
DGMGRL > show configuration;Configuration-dg_config Protection Mode: MaxAvailability Members: orcldg-Primary database orcl-Physical standby database Fast-Start Failover: DISABLEDConfiguration Status:SUCCESS (status updated 30 seconds ago) DGMGRL >
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.