Configuring an sntp server for the System Controllers
Sun Confidential: Internal Only
56
Sun Fire 3800 - 6800 Quick Reference Guide
SunService Sun Microsystems, Inc. All Rights Reserved. Enterprise Services
Configuring an sntp server for the System Controllers
The following is a very basic SNTP setup for an admin workstation.
For a thorough discussion and understanding of ntp, refer to the xntpd man page
and the various blueprints and manuals on the subject.
admin-ws# cd /etc/inet
You will find two templates,
ntp.server
&
ntp.client
. Copy
ntp.server
to
ntp.conf
and edit accordingly...
admin-ws# cat ntp.conf
# /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.
#
# XType
Device RefID
Description
# -----------------------------------------------------------------
# 1
local
LCL
Undisciplined Local Clock
#
2
trak
GPS
TRAK 8820 GPS Receiver
# 3
pst
WWV
PSTI/Traconex WWV/WWVH Receiver
#
# Replace "XType" with a value from the table above.
# server 127.127.XType.0 prefer
server 127.127.1.0 prefer
broadcast 224.0.1.1 ttl 4
On the admin workstation, start the ntp daemon and snoop on port 123 to check the ntp
server is talking to the system controllers.
admin-ws# /etc/init.d/xntpd start
admin-ws# snoop port 123
Using device /dev/eri (promiscuous mode)
sc1-4800a -> inst-ws NTP client (Thu Feb 7 06:28:16 2036)
inst-ws -> sc1-4800a NTP server (Fri May 10 09:08:20 2002)
.