设置RAC DB归档

1、关闭集群数据库

srvctl stop database -d RAC

2、将节点一设置为归档模式

sqlplus / as sysdba

startup mount

alter database archivelog;

alter database flashback on;

alter database force logging;

select name, log_mode, flashback_on, force_logging from v$database;

3、开启节点二

srvctl start instance -d rac -i RAC2

4、查看节点二归档模式

sqlplus / as sysdba

select name, log_mode, flashback_on, force_logging from v$database;

猜你喜欢

转载自www.cnblogs.com/orcl-2018/p/10297642.html