您好,登录后才能下订单哦!
SQL>alter system set log_archive_dest=’+LWK/archivelog’ scope=spfile sid=’*';
然后关闭两个实例,启动实例,更改数据库为归档模式:
SQL>shutdown immediate;
Database closed. 
Database dismounted. 
ORACLE instance shut down. 
SQL>startup mount; 
ORACLE instance started.
Total System Global Area 1258291200 bytes 
Fixed Size                 1978336 bytes 
Variable Size            352325664 bytes 
Database Buffers         889192448 bytes 
Redo Buffers              14794752 bytes 
Database mounted. 
SQL>alter database archivelog;
Database altered.
SQL>alter database open;
SQL>archive log list;
Database log mode             Archive Mode 
Automatic archival            Enabled 
Archive destination           /opt/oracle/archive 
Oldest online log sequence    83 
Next log sequence to archive  84 
Current log sequence          84
接下来启动另外一个节点,完成归档模式的变更过程。
在 RAC环境下,归档路径的选择是值得斟酌的,如果使用共享的归档目录作为归档路径,则可以减少备份时的复杂性。如果使用独立的目录,则备份时需要进行特殊处理。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。