Suncluster 3 and NTP

From: Alan Scott (alan.scott@bbc.co.uk)
Date: Tue Apr 08 2003 - 05:50:23 EDT


 Admins,

 We have a cluster of two Sun Fire 880's(Sunc cluster 3 Solaris 8 ).
 Also 4 application servers(Sun fire 280's not in cluster Solaris 8 ).

It is essential that all are synchronized to the same time.
I would like that we are able to use our onsite timeserver as primary,
falling back to one of the application servers should the onsite
timeserver become unavailable, or possibly another onsite timserver.

The cluster ntp.conf file implies that they should always be synced
against each other, I am unable to figure out the required format for a
ntp.conf that would allow me maintain this requirement while having the
onsite timserver as the "preferred".

Basically I need a ntp.conf for the clusters and the apps servers
that...
uses onsite timserver as primary, falls back to one of the apps servers
should this fail.
It has to be one of the apps servers, because cluster nodes cannot be
configured as NTP servers.

Is it just a matter of changing the server line to...

server time-server preferred
server backup-timserver

And adding same to ntp.conf on the apps servers?.

all are running Solaris 8.

Currently the config for the Sunclusters is...

# The local (undisciplined Solaris) clock is identified as 127.127.1.0.
#
# Some type of primary clock is important; but, it does not have
# to be the local kernel clock.
#
server 127.127.1.0
#
# Cluster nodes - private interfaces
#
# All nodes within the cluster must synchronize within the cluster
# as peers. Time synchronization amongst the nodes is more important
# than the accuracy of the agreed upon time.
#
# Peer communications should always occur across the private
interconnect.
# And, so, private hostnames should always be used. Whenever a change
# is made to the private hostname used for accessing a node, a change
# should also be made to the ntp.conf file on each node. When nodes
# are added to or removed from the cluster, this list must also be
# updated on each node.
#
# One of the "peers" should be "preferred" over the others.
#
peer clusternode1-priv prefer
peer clusternode2-priv
#
# Drift file (optional)
#
driftfile /var/ntp/ntp.drift
#
# Stats (optional)
#
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
#

 Thanks for your time,

Alan.

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system, do
not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. Further communication will
signify your consent to this.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:09 EDT