网站首页 > 技术教程 正文
由于今年7月1日全世界会多出一秒,这可能对时间敏感的IT系统造成较大影响。中亦科技数据库团队对此问题做了深入的研究,并对用户系统提出了相应的解决方法及建议。
中亦科技数据库产品总监黄远邦认为,闰秒调整会对Oracle数据库有以下影响:
· 对于单点数据库,这个调整没有任何的影响;
· 对于RAC系统,NTP闰秒问题可能会导致节点reboot;
· 对于使用NTP进行时间同步的RAC系统,对高于10.2.0.4版本的系统(包括11G)无影响;对低于10.2.0.0.4以下的版本,如果使用了第三方cluster 软件,如HACMP,Sun Cluster or Veritas SFRAC也是没有影响;
· 对于Linux及Oracle VM,部分应用程序无法处理该非常规“23:59:60”的时间戳,可能会导致应用挂起或主机重启。
闰秒的背景介绍
2015年1月5日,总部设在法国巴黎的国际地球自转和参考系统服务组织IERS(International Earth Rotation and Reference Systems Service)在其49期C公报发布闰秒公告:国际标准时间UTC(Coordinated Universal Time,协调世界时)将在2015年6月30日(格林尼治时间)实施一个正闰秒,即增加1秒。1月8日国际权度局时间部BIPM(Bureau International des Poids et Mesures)向全球参加国际原子时TAI计算的各守时实验室发布了闰秒调整预报。由于时差的原因,我国将在北京时间2015年7月1日的7时59分59秒和全球同步进行闰秒调整,届时会出现7:59:60的特殊现象。上一次“闰秒”出现在北京时间2012年7月1日。本次闰秒调整步骤及调整前后的时间标记为:
UTC时间:
2015年6月30日,23时59分59秒
2015年6月30日,23时59分60秒
2015年7月1日, 0时0分0秒
北京时间:
2015年7月1日,7时59分59秒
2015年7月1日,7时59分60秒
2015年7月1日,8时 0分 0秒
触发条件及避免方式
节点reboot的需要同时满足以下触发条件才会重启:
条件1:
xntpd daemon does not have slewing enabled (default) or does not have
PLL mode disabled (default)
条件2:
A. The Oracle Clusterware version does not have a fix for bug 5015469 or bug
6022204 or the Oracle Clusterware version does have a fix for at least one these
defects, but due to Solaris CR#6595936 the alarm signal arrival has been
delayed exceeding the oprocd 0.5 sec default margin (only Solaris)
因为这两个条件需要同时满足才能触发,可以使用以下的方式避免相应条件的失效:
条件1:
使用ntp –x打开 ntpd(xntpd)进程的“slewing”特性,进而避免其快速调整。
每个系统不同,详细可以参考:
NTP leap second event causing Oracle Clusterware node reboot [ID
759143.1]
条件2:
Apply Oracle Clusterware patch bundles or MLR (i.e. MLR # 9 or higher) in
order to resolve bugs 5015469 and 6022204,修复相应的bug,使触发条件失效
以下是引用片段:
Bug 5015469:
fix included in Oracle Clusterware 10.2.0.3 and higher, one off fixes
exist for 10.1.0.3, 10.1.0.4, 10.1.0.5, 10.2.0.1, 10.2.0.2 This fix mainly
rearms the oprocd timer after a negative
time drift.
Bug 6022204:
fix included in Oracle Clusterware 10.2.0.4 and higher (including
11g), included in Oracle Clusterware 10.2.0.3 MLR 9 and higher
and Oracle Clusterware 10.2.0.3 bundle patches 2 and 3 (patch #
6756433 and 7117233). This fix doesn't exist for Oracle Clusterware
10.2.0.2 or
10.2.0.1. This fix supersedes 5015469 and is needed in conjunction
with increasing the oprocd margin.
- 上一篇: 桌面Linux安全加固——系统加固和安全启动
- 下一篇: 深入理解 linux磁盘顺序写、随机写
猜你喜欢
- 2025-05-16 深入理解 linux磁盘顺序写、随机写
- 2025-05-16 桌面Linux安全加固——系统加固和安全启动
- 2025-05-16 如何在 Linux 中有效使用 history 命令?
- 2025-05-16 Linux运维:inotify+rsync实现实时监控备份
- 2025-05-16 超详细的六款主流ETL工具介绍及功能对比
- 2025-05-16 闰秒宣布取消,网友:让Linus本人与谷歌微软达成一致,只有它了
- 2025-05-16 老板喊你设计一个高效的定时任务系统
- 2025-05-16 精华总结:10个问题理解 Linux epoll
- 2025-05-16 Linux C++实现多线程同步的四种方式(超级详细)
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- 下划线是什么 (87)
- 精美网站 (58)
- qq登录界面 (90)
- nginx 命令 (82)
- nginx .http (73)
- nginx lua (70)
- nginx 重定向 (68)
- Nginx超时 (65)
- nginx 监控 (57)
- odbc (59)
- rar密码破解工具 (62)
- annotation (71)
- 红黑树 (57)
- 智力题 (62)
- php空间申请 (61)
- 按键精灵 注册码 (69)
- 软件测试报告 (59)
- ntcreatefile (64)
- 闪动文字 (56)
- guid (66)
- abap (63)
- mpeg 2 (65)
- column (63)
- dreamweaver教程 (57)
- excel行列转换 (56)
本文暂时没有评论,来添加一个吧(●'◡'●)