Client instance is standby database instead of primary
来源:互联网 发布:围棋对弈软件 编辑:程序博客网 时间:2024/05/17 23:08
SQL> select * from v$version; BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionPL/SQL Release 11.2.0.3.0 - ProductionCORE 11.2.0.3.0 ProductionTNS for Linux: Version 11.2.0.3.0 - ProductionNLSRTL Version 11.2.0.3.0 - Production
SQL> show parameter log_archive_config NAME TYPE VALUE------------------------------------ ----------- ------------------------------log_archive_config string DG_CONFIG=(orclpri,orclstdby1,orclstdby2)
Dataguard做swithover后,分别检查主库,备库alert*.log 发现下述日志
主库日志:
Fri Dec 30 01:24:07 2011RFS[3]: Assigned to RFS process 9814RFS[3]: Database mount ID mismatch [0x6bfb9955:0x6bfbcec9] (1811650901:1811664585)RFS[3]: Client instance is standby database instead of primaryRFS[3]: Not using real application clusters
备库日志
Fri Dec 30 01:20:03 2011PING[ARC2]: Heartbeat failed to connect to standby 'orclpri'. Error is 16009.
检查orclstdby1发现log_archive_dest_2设置错误,清空log_archive_dest_2设置后问题解决。
日志可以正常从主库同步到备份库。
alter system set log_archive_dest_2 = '';
或者将备库的log_archive_dest_2设置为VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) 也可。
ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=orclstdby1 ARCH ASYNC VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstdby1';
- Client instance is standby database instead of primary
- Reinstate Failed Primary Database into Physical Standby
- Operational state UNKNOWN of the database instance is unsuitable
- OCM_Session8_1_Preparing the Primary Database for Standby Database Creation
- ORA-16191: Primary log shipping client not logged on standby
- ORA-16191: Primary log shipping client not logged on standby
- ORA-16072: a minimum of one standby database destination is required
- ORA-16072: a minimum of one standby database destination is required
- ORA-16072: a minimum of one standby database destination is required
- ORA-16072: a minimum of one standby database destination is required
- FLASHBACK INSTEAD OF DELAYING APPLYING OF LOGS ON STANDBY
- PROTECTION_MODE is UNPROTECTED at standby database 分析
- Database '' is in warm standby. A warm-standby database is read-only.
- Flashing Back a Failed Primary Database into a Physical Standby Database
- DG(2)Flashing Back a Failed Primary Database into a Physical Standby Database
- Flashing Back a Failed Primary Database into a Physical Standby Database(12.1)
- Standby Database
- 监控primary/standby数据库
- 自己想要改变的编程流程习惯
- JAVA中对同一问题分别使用内部类与匿名内部类实现
- 硬链接和软链接的区别
- JAVA线程的应用实例(运用2种中断线程方式,基于实现进度条为例)
- 对人形容词
- Client instance is standby database instead of primary
- JAVA实现图像缩放(通过 java.awt.geom的仿射变换结合java.awt.image的各种插值方法实现)
- DAX之LOOKUPVALUE函数
- 6步搞定基于Ubuntu Linux的Hadoop的安装与配置
- GlobalObject::CollectGarbage Method
- 页面性能测试工具 Page Detailer Pro
- JAVA环境变量配置与配置后CMD的使用
- 爱情是什么?
- FUZZY LOOKUP的语言环境