论坛风格切换切换到宽版
  • 598阅读
  • 4回复

[问题求助][RedHat] 如何同步时间? [复制链接]

上一主题 下一主题
离线ccc.cui.
 
发帖
2141
C币
-60591
威望
381
贡献值
1
银元
-5
铜钱
4660
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
用VMware装的redhat AS5做oracle10g RAC,如何以其中一节点作为时间服务端同步双机的时间?如何修改/etc/ntp.conf(按网上找的改的文件有点乱了)?是需要修改服务端的还是都要修改?在linux客户端上执行ntpdate ntp_server_ip这命令是要把哪里改成服务端的IP地址?我太菜了问题有点多 http://upload.bbs.csuboy.com/Mon_1004/126_7126_ccb007eff2cd50a.gif[/img]http://upload.bbs.csuboy.com/Mon_1004/126_7126_ccb007eff2cd50a.gif[/img]          婚庆

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2078
C币
-235495
威望
377
贡献值
1
银元
-1
铜钱
4606
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:[RedHat]
把ntp_server_ip改成服务端的IP

离线solai.
发帖
2029
C币
-139384
威望
380
贡献值
1
银元
-4
铜钱
4560
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:[RedHat]
看我博客里面的一篇讲时间同步的文章

离线coolke.
发帖
2022
C币
-140624
威望
384
贡献值
1
银元
-3
铜钱
4664
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:[RedHat]
# --- GENERAL CONFIGURATION ---
#
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#
server  127.127.1.0      # local clock
fudge   127.127.1.0 stratum 10

离线wixhpp.
发帖
1927
C币
-132682
威望
347
贡献值
1
银元
-1
铜钱
4184
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:[RedHat]
你可以在ntp.conf文件里指定ntp server 的IP,然后启动ntpd服务。也可以直接用ntpdate后面接ntp server 来手动同步
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个