重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1884|回复: 0
打印 上一主题 下一主题

[Oracle] 主备库间出现间歇性的ORA-12570报错

[复制链接]
跳转到指定楼层
楼主
发表于 2021-11-28 16:29:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Log Shipment Between Primary and Standby Intermittently Errors with ORA-12570 (Doc ID 550103.1)       

APPLIES TO:
Oracle Net Services - Version 9.2.0.1.0 to 11.2.0.1 [Release 9.2 to 11.2]
Information in this document applies to any platform.
Archive log shipment between nodes in Dataguard intermittently fail.

Checked for relevance on 19-MAR-2010.

SYMPTOMS
Shipment of log files between primary and standby Dataguard nodes may fail intermittently with
ORA-12570 TNS:packet reader failure.  If there is a firewall between the two nodes, this document may provide a solution.

Alert log shows

Creating archive destination LOG_ARCHIVE_DEST_4: 'Orcl2'
ARC0: Error 12570 Creating archive log file to 'Orcl2'
Sat Sep 29 00:59:48 2007
Errors in file /Software/Oracle/udump/orcl1_arc0_817588.trc:
ORA-12570: TNS:packet reader failure
Udump trace shows

*** 2007-09-29 00:59:48.452
Error 12570 creating standby archive log file at host 'Orcl2'
*** 2007-09-29 00:59:48.453
ARC0: Error 12570 Creating archive log file to 'Orcl2'
*** 2007-09-29 00:59:48.453
kcrrfail: dest:4 err:12570 force:0
ORA-12570: TNS:packet reader failure



CAUSE
If the firewall has a maximum idle time setting, it may be severing the connection between primary and standby databases if it perceives the connection to be idle.  This can happen when one side or the other is busy processing rather than transmitting data across the wire.

SOLUTION
If disabling the firewall max idle time setting is not an option, the following workaround may resolve the issue:

Set the following parameter in the sqlnet.ora file that would be referenced by each database, primary and standby.  This file is usually found in $ORACLE_HOME/network/admin or $TNS_ADMIN.

SQLNET.EXPIRE_TIME=n

Where n is some number of minutes. Preferably below 10.

e.g.

SQLNET.EXPIRE_TIME=5
When this parameter is enabled, a small 10 byte probe packet will be sent from node to node at specific intervals.   In our example, at roughly 5 minute intervals after the timer is armed, the probe packet will be sent until the timer is disarmed.   This should prevent an idle time termination by the firewall.

Set this parameter in the sqlnet.ora file on both servers, so any change such as switchover between nodes, ensures the parameter is set for both directions.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-26 04:41 , Processed in 0.102162 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表