Oracle Active Data Guard调整案例

发表于:2014-9-05 10:46

字体: | 上一篇 | 下一篇 | 我要投稿

 作者:尛样儿    来源:51Testing软件测试网采编

  客户的Oracle 11gR2 Active Data Guard环境,主数据库的standby_file_management=AUTO,备用数据库的standby_file_management=MANUAL,导致在主数据库为表空间添加的数据文件操作没有同步到备用数据库,在$ORACLE_HOME/dbs目录下也没有创建类似UNNAMED00003的文件,备用数据库有如下的告警日志:
  Tue Sep 02 17:37:36 2014
  File #3 added to control file as 'UNNAMED00003' because
  the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
  The file should be manually created to continue.
  MRP0: Background Media Recovery terminated with error 1274
  Errors in file /u01/app/oracle/diag/rdbms/d012dg/d012band/trace/d012band_pr00_5702078.trc:
  ORA-01274: cannot add datafile '/oradata1/d012band/tsmisc06.dbf' - file could not be created
  Managed Standby Recovery not using Real Time Apply
  Recovery interrupted!
  Recovered data files to a consistent state at change 866102511
  Tue Sep 02 17:37:46 2014
  MRP0: Background Media Recovery process shutdown (d012band)
  Tue Sep 02 17:52:14 2014
  RFS[1]: Selected log 8 for thread 1 sequence 19136 dbid 2134147111 branch 809469738
  Tue Sep 02 17:52:25 2014
  Archived Log entry 511 added for thread 1 sequence 19135 ID 0x7f340827 dest 1:
  Tue Sep 02 17:53:23 2014
  alter database recover managed standby database using current logfile disconnect from session
  Attempt to start background Managed Standby Recovery process (d012band)
  Tue Sep 02 17:53:23 2014
  MRP0 started with pid=42, OS id=7471452
  MRP0: Background Managed Standby Recovery process started (d012band)
  started logmerger process
  Tue Sep 02 17:53:29 2014
  Managed Standby Recovery starting Real Time Apply
  Tue Sep 02 17:53:30 2014
  Errors in file /u01/app/oracle/diag/rdbms/d012dg/d012band/trace/d012band_dbw0_4784178.trc:
  ORA-01186: file 3 failed verification tests
  ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
  ORA-01111: name for data file 3 is unknown - rename to correct file
  ORA-01110: data file 3: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00003'
  如果能够找到/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00003文件,可以参考文章:《11gR2 Active Data Guard调整案例[1]》http://blog.itpub.net/23135684/viewspace-759592/
  File 3 not verified due to error ORA-01157
  MRP0: Background Media Recovery terminated with error 1111
  Errors in file /u01/app/oracle/diag/rdbms/d012dg/d012band/trace/d012band_pr00_8716760.trc:
  ORA-01111: name for data file 3 is unknown - rename to correct file
  ORA-01110: data file 3: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00003'
  ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
  ORA-01111: name for data file 3 is unknown - rename to correct file
  ORA-01110: data file 3: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00003'
  Managed Standby Recovery not using Real Time Apply
  Slave exiting with ORA-1111 exception
  Errors in file /u01/app/oracle/diag/rdbms/d012dg/d012band/trace/d012band_pr00_8716760.trc:
  ORA-01111: name for data file 3 is unknown - rename to correct file
  ORA-01110: data file 3: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00003'
  ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
  ORA-01111: name for data file 3 is unknown - rename to correct file
  ORA-01110: data file 3: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00003'
  Recovery Slave PR00 previously exited with exception 1111
  MRP0: Background Media Recovery process shutdown (d012band)
  Completed: alter database recover managed standby database using current logfile disconnect from session
21/212>
《2023软件测试行业现状调查报告》独家发布~

关注51Testing

联系我们

快捷面板 站点地图 联系我们 广告服务 关于我们 站长统计 发展历程

法律顾问:上海兰迪律师事务所 项棋律师
版权所有 上海博为峰软件技术股份有限公司 Copyright©51testing.com 2003-2024
投诉及意见反馈:webmaster@51testing.com; 业务联系:service@51testing.com 021-64471599-8017

沪ICP备05003035号

沪公网安备 31010102002173号