已索引
为了减轻主库压力,同时在以后分析故障时能够排除掉备份的影响,将 Commvault 备份从主库迁移到备库。
迁移后,查看备份历史,显示:已完成,但有一个或多个错误。
详细信息显示:RMAN-06820: WARNING: failed to archive current log at primary database.
MOS 文章 RMAN-06820 ORA-17629 During Backup at Standby Site (Doc ID 1616074.1) 对此作出了解释:
Per 'unpublished' Bug 8740124, as of 11.2.0.4, we now include the current standby redo log as part of an RMAN archivelog backup at the standby site. This is achieved by forcing a log switch at the primary site. However, the connection to the primary failed when attempting to do so.
解决办法:
不使用操作系统认证,使用TNS连接认证:
rman target sys/password@stby
右击 Commvault 中的 cydbdg(主机图标)> Oracle > cydbstd (数据库图标),属性,修改为使用 TNS 的方式连接即可。