ORACLE 11G RAC下的归档切换

来源:互联网 发布:qos发展 知乎 编辑:程序博客网 时间:2024/05/16 02:06

基于IBM AIX6 +ORACLE 11G RAC环境,如下几步即可搞定,与单机差不多

//停止整个数据库

srvctl stop database –d test

//mount其中一个节点

srvctl start instance –d test –i test1 –o mount

$ sqlplus / nolog

SQL>conn sys/test@test as sysdba;

SQL>Archive log list;

//切换为归档模式

SQL>alter database archivelog;

SQL>archive log list;

SQL>shutdown

//重新启动

$srvctl start database –d test


ok

原创粉丝点击