Skip to main content
Element Software
A newer release of this product is available.

SetNtpInfo

Contributors netapp-pcarriga

You can use the SetNtpInfo method to configure NTP on cluster nodes. The values you set with this interface apply to all nodes in the cluster. If an NTP broadcast server periodically broadcasts time information on your network, you can optionally configure nodes as broadcast clients.

Parameters

Note Ensure that you use NTP servers that are internal to your network, rather than the installation defaults.

This method has the following input parameters:

Name Description Type Default value Required

servers

List of NTP servers to add to each node NTP configuration.

string array

None

Yes

broadcastclient

Enables every node in the cluster as a broadcast client.

boolean

false

No

Return values

This method has no return values.

Request example

Requests for this method are similar to the following example:

{
   "method": "SetNtpInfo",
   "params": {
     "servers"  : [
       "ntpserver1.example.org",
       "ntpserver2.example.org",
       "ntpserver3.example.org"
     ],
     "broadcastclient" : false
   },
   "id" : 1
}

Response example

This method returns a response similar to the following example:

{
    "id" : 1,
    "result" : {}
}

New since version

9.6