[root@bj-1 mysql]# cat /etc/sysconfig/ntpdate mysql
# Options for ntpdatesql
OPTIONS="-U ntp -s -b"網絡
# Number of retries before giving upide
RETRIES=2server
# Set to 'yes' to sync hw clock after successful ntpdate同步
SYNC_HWCLOCK=yesit
[root@bj-1 mysql]# cat /etc/ntp/step-tickers io
# List of servers used for initial synchronization.class
172.230.156.201sed
#這種方式是在內網全部機器指向201,201上在去網絡上同步時間,屬於一主多從ntp模式