ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORACLE RAC 设置归档

ORACLE RAC 设置归档

原创 Linux操作系统 作者:renjixinchina 时间:2013-01-02 16:16:29 0 删除 编辑
1.设置归档路径
方式1

alter system set log_archive_dest_1='location=/u03/archivelog' scope=spfile sid='node1'
alter system set log_archive_dest_1='location=/u03/archivelog' scope=spfile sid='node2'

方式ASM
alter system set db_recovery_file_dest='+dgrecover' scope=spfile;
alter system set db_recovery_file_dest_size =200g scope=spfile;
方式ocfs
alter system set log_archive_dest_1='location=/orac/arch' scope=spfile;
2.停止数据库:srvctl stop database -d dbname

3.在其中一个节点上面启动一个实例:startup mount, alter database archivelog,

4.查看更改:archive log list

5.封闭数据库:shutdown immediate

6,启动数据库:srvctl start database -d dbname

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/15747463/viewspace-752004/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-01-30

  • 博文量
    373
  • 访问量
    2161109