What is NTP?NTP is stand for Network Time Protocol. It is used for synchronizing the clocks of computer systems over packet-switched, variable-latency data networks. NTP uses UDP on port 123 as its transport layer. Keeping the date/time synchronized throughout all computers / servers is really necessary. Solaris already comes with the ntp daemon, called "xntpd".
root@server:~# svcs -a | grep ntp disabled May_11 svc:/network/ntp:default
root@server:~# cat /etc/inet/ntp.conf # ident "@(#)ntp.server 1.7 03/01/17 SMI" # # Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # List your ntp server address here. You may set one of the server as preferred. server 0.pool.ntp.org prefer server 1.pool.ntp.org server 2.pool.ntp.org server pool.ntp.org 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
root@server:~# svcadm enable ntp
root@server:~# tail -f /var/adm/messages
|
|||

Post new comment