Andrew Smaff Matthews wrote:
On Mon, Jun 27, 2005 at 10:26:52AM -0400, Quick, Richard A. wrote:
I sync my windows management with NTP from my DC and have (4) Nokia's
looking at the management for time. Does solaris support NTP?
It does.
man xntpd
NTP v4.2 compiles on Solaris SPARC/x86 (both 32 and 64bit), I have found
that the 64bit executables
The above will go into far more detail than you need, so... As you have your
DC as an ntp server you can add the following 2 lines into /etc/inet/ntp.conf
server <DC's IPaddr>
driftfile /var/ntp/ntp.drift
And then either copy or make a link from /etc/init.d/xntpd to
/etc/rc2.d/xtnpd. I prefer a link:
ln /etc/init.d/xntpd /etc/rc2.d/xntpd
And then run:
/etc/rc2.d/xntpd start
And it should work.
However...
If you have two boxes that can see eachother over a link that's unlikely to
go down and its important they have the same time (even if its wrong), you
can use the peer command:
On HA_box_A, 3 lines in /etc/inet/ntp.conf
server <DC's IPaddr> prefer
peer <HA_box_B's IPaddr>
driftfile /var/ntp/ntp.drift
And on HA_box_B, 3 lines in /etc/inet/ntp.conf
server <DC's IPaddr> prefer
peer <HA_box_B's IPaddr>
driftfile /var/ntp/ntp.drift
(and the same trick with /etc/init.d/xntpd)
Note, if you have more than one stable source of clock (such as an ISP
provided ntp server) you can add those in as extra "server" lines. At this
point, the boxes will act as ntp servers, if your local filters/firewall
config allows it.
Smaff
--
Regards
Russell
Email: russell dot aspinwall at flomerics dot co dot uk
Network and Systems Administrator Flomerics Ltd
Telephone: 020-8941-8810 x3116 81 Bridge Road
Facsimile: 020-8941-8730 Hampton Court
Surrey, KT8 9HH
United Kingdom
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================