Sun Cluster 3.1 10/03 System Administration Guide

How to Reset the Time of Day in a Cluster

Sun Cluster uses the Network Time Protocol (NTP) to maintain time synchronization between cluster nodes. Adjustments in the cluster occur automatically as needed when nodes synchronize their time. See the Sun Cluster 3.1 10/03 Concepts Guide document and the Network Time Protocol User's Guide for more information.


Caution – Caution –

When using NTP, do not attempt to adjust the cluster time while the cluster is up and running. This includes using the date(1), rdate(1M), or xntpd(1M) commands interactively or within cron(1M) scripts.


  1. Become superuser on any node in the cluster.

  2. Shut down the cluster to the OBP prompt.


    # scshutdown -g0 -y
    

  3. Boot each node into non-cluster node.


    ok boot -x
    

  4. On a single node, set the time of day by running the date(1) command.


    # date HHMMSS
    

  5. On the other machines, synchronize the time to that node by running the rdate(1M) command.


    # rdate hostname
    

  6. Boot each node to restart the cluster.


    # reboot
    

  7. Verify that the change took place on all cluster nodes.

    On each node, run the date(1M) command.


    # date