My Oracle Support Banner

Solaris Cluster How to Configure/Use/Setup a NTP Server (Doc ID 1006115.1)

Last updated on SEPTEMBER 13, 2024

Applies to:

Solaris Cluster Geographic Edition - Version 3.1x to 4.4 [Release 3.1 to 4.4]
Solaris Cluster - Version 3.0 to 4.4 [Release 3.0 to 4.4]
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on SPARC (64-bit)

Goal

This document describe details for using a Network Time Protocol (NTP) server in Solaris Cluster environment.

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

Bear in mind about above mentioned commands. If there is a time "leap" when Solaris Cluster is running then the cluster node may panic.

To adjust the time in Solaris Cluster (independent if NTP is already running or not) follow the procedure in
Oracle Solaris Cluster System Administration Guide - How to Reset the Time of Day in a Cluster
The rough supported approach is:
* stop the cluster
* adjust the time on the cluster nodes in non-cluster-mode
* start the cluster


The NTP services have undergone some changes that lead to further changes on the Solaris Cluster software. The Solaris 11 NTP service does make use of NTP version4 (v4) only while in Solaris 10 the NTP v4 have been added as alternative to NTP version3. In the past versions Solaris Cluster used to launch an xntpd instances at boot time using rc scripts. Now Solaris Cluster 3.3 3/13 (udpdate2) and 4.x have been modified to make use of the native Solaris NTP services that are handled by SMF framework and do also make use of the standard ntp.conf file as long this is setup. Additionally the default NTP configuration files provided by the Solaris Cluster software have been reworked to make room for these changes.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 A) If you installed/configured your own /etc/inet/ntp.conf file then this configuration file will be used.
 B) If using the setup from Oracle Solaris Cluster  (SC):
 IMPORTANT if NTP will not start after installation of patch 145333-20 or 145334-20:
 IMPORTANT  if using Oracle Clusterware 11g on Solaris with or without Solaris Cluster:
 Information about 'leap second' handling in Solaris Cluster
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.