ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle rac asm镜像控制文件

oracle rac asm镜像控制文件

原创 Linux操作系统 作者:lijiewww2005 时间:2010-01-12 21:22:41 0 删除 编辑

1.stop the database

#srvctl stop database -d dbname

2.start database in nomount mode and set the control_files parameter:

sql>alter system set control_files='+DATA/dbname/controlfile/current_controlfile_1.ctl','+DATA/dbname/controlfile/current_controlfile_2.ctl' scope=spfile sid='*';

3.use RMAN restore controlfiles to the new destination:

rman target /

restore controlfile to '+DATA/dbname/controlfile/current_controlfile_1.ctl' from '+DATA/dbname/controlfile/current.controlfile.***.*****';

restore controlfile to '+DATA/dbname/controlfile/current_controlfile_2.ctl' from '+DATA/dbname/controlfile/current.controlfile.***.*****';

4.shutdown and startup the database;

sqlplus / as sysdba

shutdown immediate

exit

#srvctl start database -d dbname

5.check controlfile;

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

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2009-12-12

  • 博文量
    7
  • 访问量
    14413