温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

How To Enable Archive Log Mode In a RAC Environment

发布时间:2020-07-16 20:13:56 来源:网络 阅读:546 作者:jason_125 栏目:大数据

How To Enable Archive Log Mode In a RAC Environment (文档 ID 1963148.1)


APPLIES TO:

Oracle Applications Manager - Version 12.2 to 12.2 [Release 12.2]

Information in this document applies to any platform.

GOAL

How to enable archive log mode In a RAC Environment?

SOLUTION

A. The following steps need to be taken to enable archive logging in a RAC database environment:

1. Shutdown immediate all database instances:

$ srvctl stop database -d 

2. Startup the database in mount mode:

$ srvctl start database -d -o mount

3. Enable archive logging:

$ sqlplus / as sysdba
sql> alter database archivelog;
sql> exit;

4. Stop the database.

$ srvctl stop database -d 

5. Re-start all database instances:

$ srvctl start database -d 

6. Verify archiving is enabled/disabled by running the following command:

sql> archive log list;

Note: There may be a  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) for more details.


 
B. To disable archive logging, follow the same steps above, but use the NOARCHIVELOG clause of the ALTER DATABASE statement.

Please note, from 10.2 onwards, it is no longer required to modify cluster_database parameter to change archive log mode. Please refer to:

Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide
What's New in Oracle Real Application Clusters Administration and Deployment?

"Changing the Archiving Mode

There is no longer a need to modify the CLUSTER_DATABASE parameter setting to change the archiving mode in Oracle RAC. Instead, change archive log mode as long as the database is mounted in the local instance and not open in any instances."

REFERENCES

NOTE:1186764.1 - How To Enable/Disable Archive Logging In RAC Environment for 10.2 and higher version
NOTE:371139.1 - How to Enable/Disable Archive Log Mode In 10g and 11g


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI