星空网 > 软件开发 > 数据库

DGbroker主备切换

1.检查DG是否正常

DGMGRL> show configuration;Configuration - dgc Protection Mode: MaxProtection Databases:  atest1 - Primary database  atest2 - Physical standby databaseFast-Start Failover: DISABLEDConfiguration Status:SUCCESS

2.如果DG无异常,则可以开始进行切换

DGMGRL> switchover to atest1;Performing switchover NOW, please wait...Operation requires a connection to instance "atest" on database "atest1"Connecting to instance "atest"...Connected.Operation requires startup of instance "atest" on database "atest2"Starting instance "atest"...ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instanceORACLE instance started.Database mounted.Database opened.Operation requires shutdown of instance "atest" on database "atest1"Shutting down instance "atest"...Unable to connect to databaseORA-12545: Connect failed because target host or object does not existFailed.Warning: You are no longer connected to ORACLE.Please complete the following steps to finish switchover:  shut down instance "atest" of database "atest1"  start up instance "atest" of database "atest1"

如提示,需要对数据库信息手动的启动或者重启




原标题:DGbroker主备切换

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

TikTok Shop在美口碑大涨!各大品牌纷纷布局!:https://www.kjdsnews.com/a/1706412.html
跨境人年前搞钱难?TEMU卖家的新玩法来学一学!:https://www.kjdsnews.com/a/1706413.html
月销3w,TikTok播放10亿!亚马逊这一产品爆火!:https://www.kjdsnews.com/a/1706414.html
重温2023年印度创投界的热门事件:https://www.kjdsnews.com/a/1706415.html
2024亚马逊FBA政策更新!将影响全部卖家:https://www.kjdsnews.com/a/1706416.html
及时送达!刚梳理的FB广告无法转化的5个原因!:https://www.kjdsnews.com/a/1706417.html
北京奥森公园桃花谷要门票吗?需要预约吗?:https://www.vstour.cn/a/335169.html
北京奥森公园桃花谷坐地铁怎么走?:https://www.vstour.cn/a/335170.html
相关文章
我的浏览记录
最新相关资讯
跨境电商服务平台 | 深圳旅行社 | 东南亚物流