重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

HowToEnableArchiveLogModeInaRACEnvironment

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

成都创新互联专注为客户提供全方位的互联网综合服务,包含不限于网站建设、网站设计、东海网络推广、成都小程序开发、东海网络营销、东海企业策划、东海品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;成都创新互联为所有大学生创业者提供东海建站搭建服务,24小时服务热线:13518219792,官方网址:www.cdcxhl.com


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



网页题目:HowToEnableArchiveLogModeInaRACEnvironment
当前URL:http://cqcxhl.cn/article/psdiij.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP