这两天准备容灾环境演练,使用DG库快照模式,具体怎么使用快照模式这里不做介绍。这里只记录过程中遇到的问题。
在执行转换的时候首先报错:
SQL> alter database convert to snapshot standby;
alter database convert to snapshot standby
*
ERROR at line 1:
ORA-00344: unable to re-create online log '+DG_REDO/coredb1/redo5'
ORA-17502: ksfdcre:4 Failed to create file +DG_REDO/coredb1/redo5
ORA-15173: entry 'coredb1' does not exist in directory '/'
这里由于在转换为snapshot 模式的时候,会重新创建online log,然而asm里没有+DG_REDO/coredb1这个目录,所以这里只需要用asmcmd创建+DG_REDO/coredb1这个目录该问题就可以解决。
然而在我们再次尝试转换:
SQL> alter database convert to snapshot standby;
alter database convert to snapshot standby
*
ERROR at line 1:
ORA-38784: Cannot create restore point 'SNAPSHOT_STANDBY_REQUIRED_07/19/2018 10:51:47'.
ORA-00600: internal error cod