cluster time-service ntp server create
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Add a NTP Server
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The cluster time-service ntp server create
command associates the cluster with an external network time server for time correction and adjustment by using the Network Time Protocol (NTP).
The command resolves the time server host name to an IP address and performs several validation checks. If an error is detected during validation, it is reported.
The validation checks performed by this command include the following:
-
The NTP replies to an NTP query with the specified protocol version.
-
The NTP reply indicates that the external time server is synchronized to another time server.
-
The distance and dispersion of the NTP reply from the "root" or source clock are within the required limits.
Parameters
-server <text>
- NTP Server Host Name, IPv4 or IPv6 Address-
This specifies the host name or IP address of the external NTP server that is to be associated with the cluster for time correction and adjustment.
[-version {3|4|auto}]
- NTP Version for Server (default: auto)-
This optionally specifies the NTP protocol version that should be used for communicating with the external NTP server. If the external NTP server does not support the specified protocol version, time exchange cannot take place.
The supported values for this parameter include the following:
-
3
- Use NTP protocol version 3, which is based on Internet Standard Request For Comments (RFC) #1305. -
4
- Use NTP protocol version 4, which is based on Internet Standard RFC #5905. -
auto
- Have Data ONTAP select the NTP protocol version.
The default setting is
auto
. -
[-is-preferred {true|false}]
- Is Preferred NTP Server (default: false) (privilege: advanced)-
This optionally specifies whether the external NTP server is the primary time source for correcting and adjusting the cluster time. The responses from this source will be used unless its time is outside the accepted selection range.
The default setting is
false
.You use this parameter when a high quality radio (or GPS) based time server is being used with a set of non-radio based backup time servers.
Examples
The following example associates the cluster with an NTP server named ntp1.example.com.
cluster1::> cluster time-service ntp server create -server ntp1.example.com