Solaris-NTP時間同步
来源:互联网 发布:凡科网站源码下载 编辑:程序博客网 时间:2024/06/01 09:57
Solaris 8/9 NTP Configuration Process
NTP Server
NTP Client
(1)
[1] Edit ntp.conf
root@TESTMACHINE #cd /etc/inet
root@TESTMACHINE # ls
datemsk.ndpd
hosts
inetd.conf
ipnodes
ipsecinit.sample
mipagent.conf-sample
root@TESTMACHINE #vi ntp.conf
# @(#)ntp.server
#
# /etc/inet/ntp.server
#
# An example file that could be copied over to /etc/inet/ntp.conf and
# edited; it provides a configuration template for a server that
# listens to an external hardware clock, synchronizes the local clock,
# and announces itself on the NTP multicast net.
#
# This is the external clock device.
# recognized by xntpd 3-5.93e:
#
# XType Device
# -------------------------------------------------------
#
#
#
#
#
#
#
#
#
# 10
# 11
# 12
# 13
# 15
# 17
# 18
# 19
# 20
# 22
# 23
# 24
# 25
# 26
# 27
#
# * All TrueTime receivers are now supported by one driver, type 5.
#
#
#
# Some of the devices benefit from "fudge" factors.
# documentation.
# Either a peer or server.
# table above.
server 127.127.1.0
fudge 127.127.1.0
#broadcast 10.87.0.0
enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0
[2] Stop/Start NTP Service
root@TESTMACHINE # /etc/init.d/xntpd start
root@TESTMACHINE # /etc/init.d/xntpd stop
(2)
[1] Edit ntp.conf
root@testserver01 #cd /etc/inet
root@testserver01 # ls
datemsk.ndpd
hosts
ike
inetd.conf
ipnodes
ipsecinit.sample
mipagent.conf-sample
root@testserver01 #vi ntp.conf
# ident "@(#)ntp.client 1.3
#
# /etc/inet/ntp.client
#
# An example file that could be copied over to /etc/inet/ntp.conf; it
# provides a configuration for a host that passively waits for a server
# to provide NTP packets on the ntp multicast net.
#
server 10.87.0.9
#multicastclient 10.87.0.0
driftfile /var/ntp/ntp.drift
[2] Stop/Start NTP Service
root@testserver01 #/etc/init.d/xntpd start
root@testserver01 # /etc/init.d/xntpd stop
server 10.87.0.9, stratum 11, offset -0.000428, delay 0.02727
[5]Stop Auto-Sync,Start Manual-Sync:
root@testserver01 #ntpdate 10.87.0.9
root@testserver01 #ps -ef|grep ntp
root@testserver01 #kill -9 9988
root@testserver01 #ps -ef|grep ntp
root@testserver01 #ntpdate 10.87.0.9
root@testserver01 #ps -ef|grep ntp
root@testserver01 #ntpdate 10.87.0.9
- Solaris-NTP時間同步
- solaris的ntp时间同步
- 各系統同NTP Server時間同步方法
- solaris 下ntp配置
- 配置SOLARIS的NTP服务
- Configuring a Solaris NTP Server
- Solaris 10 开启NTP服务
- ntp 同步错误
- ntp 同步系统时间
- ntp同步的问题
- NTP 时间同步
- linux ntp同步时间
- linux ntp时间同步
- NTP时间同步
- chrony, ntp, 同步
- NTP时间同步配置
- linux ntp时间同步
- Ntp时间同步
- java中的设计模式(三)--抽象工厂模式 反射机制
- Linux 查看rpm安装
- Hadoop源代码分析(类TaskStatus)
- cxf-Writing a service with Spring
- Hadoop源代码分析(IFile)
- Solaris-NTP時間同步
- C语言中不同进制数的输入输出及表示方法
- Hadoop源代码分析(Task的内部类和辅助类)
- C/C++ 代码换行问题
- 【Test Design Studio 3】-02.智能提示功能增加
- Hadoop源代码分析(类Task)
- Xmanager 连接Solaris 10 系统
- Hadoop源代码分析(MapTask)
- Lu32.DLL V1.0 用户指南(测试版)