打开oracle归档并定义归档路径
Commvault备份软件备份rac数据库问题
使用Commvault备份rac数据库经历各种报错和问题,写在最后的一点不是问题的小问题
最后几个报错,说与cvserver无法通信
但是rac两个节点和commserver相互ping都能通
无奈加了hosts记录后这个报错消失了。
再进行备份又有报错了
去看了RMAN日志,说不能在非归档模式备份,
想起来数据库归档模式没开
关数据库的一个节点,然后开始修改
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 776646656 bytes
Fixed Size 2257272 bytes
Variable Size 541068936 bytes
Database Buffers 226492416 bytes
Redo Buffers 6828032 bytes
Database mounted.
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-01126: database must be mounted in this instance and not open in any instance
无奈只能把另外一个节点也关了
然后重新启用归档
SQL> alter database archivelog;
Database altered.
再去改归档路径,发现又报错
SQL> alter system set log_archive_dest_1='+FRA';
alter system set log_archive_dest_1='+FRA'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE
一查才发现语句有错误
少了location字符串
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_1='LOCATION=+FRA';
System altered.
修改完归档
打开数据库再去备份,然后备份成功了。
报歉!评论已关闭!