????0.???
??????????????????????Storm???????Э??????????????????????????????ms??????????????40???????????? date ???????????Ч??????????С?????????? NTP ????????
????1.???
??????????????????????? (Primary server) ??У???????Щ Primary Servers ??????????????????????????? Client ???????????Client ?????????????NTP??Network Time Protocol?????????????????????????Э?顣???????????????????????????????????Э?飬??????????ú?????????NTPЭ????OSI?ο???????Э?飬????UDP????Э???????????????Port??123????????????????????????????????????????????????????Э?饗NTP???????·??????????????????????????????????????????????
???????飺http://www.ntp.org/ ???????????
????2.??????黷??
???????????? SUSE Linux Enterprise Server 11 (x86_64)
????NTP?汾??ntpq 4.2.4p8@1.1612-o Sat May  8 09:39:49 UTC 2010 (1) ????????????????????????
??????????????????IP??172.18.65.1
????????????????IP??172.18.65.2~172.18.65.41 ??40???
????3.????????????
????1.??????????????????????????????????172.18.65.1??
????2.??????????NTP????????????ntp.conf(???·?????/etc/ntp.conf)
$vim /etc/ntp.conf
server 127.127.1.0              # local clock (LCL)
fudge  127.127.1.0 stratum 10   # LCL is unsynchronized
##
## Add external Servers using
## # rcntp addserver <yourserver>
##
##
## Miscellaneous stuff
##
driftfile /var/lib/ntp/drift/ntp.drift # path for drift file
logfile   /var/log/ntp          # alternate log file
# logconfig =syncstatus + sysevents
# logconfig =all
# statsdir /tmp/                # directory for statistics files
# filegen peerstats  file peerstats  type day enable
# filegen loopstats  file loopstats  type day enable
# filegen clockstats file clockstats type day enable
#
# Authentication stuff
#
keys /etc/ntp.keys              # path for keys file
trustedkey 1                    # define trusted keys
requestkey 1                    # key (7) for accessing server variables
# controlkey 15                 # key (6) for accessing server variables