您的位置:首页 > 其它

11g How To Enable Archive Logging In RAC Environment

2012-11-11 10:45 453 查看
How To Enable Archive Logging In RAC Environment [ID 1186764.1]Applies
to: Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.2 - Release: 10.1 to 11.2

Information in this document applies to any platform.

GoalHow
to enable database archivelog in RAC configuration?

SolutionThe
following steps need to be taken to enable archive logging in a RAC database environment:

-- shutdown immediate all database instances

$ srvctl stop database -d <db_unique_name>

-- startup database in mount mode

$ srvctl start database -d <db_unique_name> -o mount

-- enable archvive logging

$ sqlplus / as sysdba

sql> alter database archivelog;

sql> exit;

-- stop database

$ srvctl stop database -d <db_unique_name>

-- restart all database instances

$ srvctl start database -d <db_unique_name>

-- verify archiving is enabled by means of:

sql> archive log list;

You might need to set your log_archive_dest(_n) parameters to a shared location in each spfile, but the log_archive_start parameter does not need to be set
anymore as of 10g (see Note 274302.1).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: