Home >Database >Mysql Tutorial >Oracle dataguard switchover切换

Oracle dataguard switchover切换

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:10:271436browse

switchover 操作 在priamry上操作: 1. select switchover_status from v$database;switchover_status的值入股是To standby,可

switchover 操作

在priamry上操作:

1. select switchover_status from v$database;
switchover_status的值入股是To standby,可以直接switchover,
如果是sessions active,则需要在switchover的命令后面加上with session shutdown
2. alter database commit to switchover to physical standby;
3. shutdowm immediate;
4. startup mount;

在standby上操作:

1. select switchover_status from v$database
说明:switchover_status的值入股是To primary,可以直接switchover,如果是sessions active,
则需要在switchover的命令后面加上with session shutdown;)
2. alter database commit to switchover to primary;
3. shutdown immediate;
4. startup;

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn