RMAN-05517,rman duplicate报错

举报
snowofsummer 发表于 2021/09/18 22:01:23 2021/09/18
【摘要】 报错信息:sql statement: alter database mount standby databaseRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============...

报错信息:

sql statement: alter database mount standby database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/18/2021 21:28:58
RMAN-05501: aborting duplication of target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/temp.350.866779599 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_rpt2.dbf conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_rpt1.dbf conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_fxq.359.866780119 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_ilog.358.866780057 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_res.357.866780007 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_pics.356.866779945 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_rsv.355.866779887 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_rpt.352.866779831 conflicts with file used by target database
RMAN-05517: tempfile +NEWDATA/zmsft/tempfile/tbl_temp_sys.351.866779747 conflicts with file used by target database

*.DB_FILE_NAME_CONVERT 参数需要加入tempfile文件相关位置的信息。

修改pfile文件:

$ cat initzmsftdg.ora
*.audit_file_dest='/u01/app/oracle/admin/zmsft/adump'
*.db_files=2000
*.audit_trail='NONE'
*.compatible='11.2.0.4.0'
*.control_files='/zmsft/control01.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='zmsft'
*.deferred_segment_creation=FALSE
*.diagnostic_dest='/u01/app/oracle'
*.log_archive_config='DG_CONFIG=(zmsft,zmdg)'
*.log_archive_dest_1='location=/zmsftarch valid_for=(all_logfiles,all_roles) db_unique_name=zmdg'
*.log_archive_format='%t_%s_%r.dbf'
*.open_cursors=4000
*.pga_aggregate_target=0
*.processes=1200
*.remote_login_passwordfile='exclusive'
*.sessions=890
*.memory_max_target=30G
*.memory_target=30G
*.DB_FILE_NAME_CONVERT='+NEWDATA/newzmsft/datafile','/zmsft','+NEWDATA/zmsft/datafile','/zmsft','+NEWDATA/zmsft/tempfile','/zmsft'
*.LOG_FILE_NAME_CONVERT='+NEWDATA/zmsft/onlinelog','/zmsft'
*.standby_file_management=auto
*.db_unique_name=zmsftdg

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。