ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORACLE DataGuard 错误

ORACLE DataGuard 错误

Linux操作系统 作者:wg0411 时间:2017-04-10 09:59:05 0 删除 编辑
ORA-16143
原因:使用了"recover managed standby database finish;"
 
解决方法:
1. 在主库创建备库控制文件:
alter database create standby controlfile as '/u01/standby.ctl';
 
2. 复制到备库:
scp /u01/standby.ctl dataguard2:/u01/app/oracle/oradata/dgtest/;
 
3. 停止备库:
sqlplus / as sysdba
shutdown immediate
 
4. 复制控制文件:
cd /u01/app/oracle/oradata/dgtest
mv standby.ctl control01.ctl
cp control01.ctl control02.ctl
cp control01.ctl control03.ctl
 
5. 启动备库:
sqlplus / as sysdba
startup mount
alter database recover managed standby database disconnect from session;
 

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

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

注册时间:2014-03-31

  • 博文量
    235
  • 访问量
    536101