SANtricity 11.8 Commands ( CA08871-194 ~ 196 )
Set controller NTP settings
The set controller NTPServers
command sets the NTP settings for the controller so the controller can automatically synchronize the clocks with an external host using SNTP (Simple Network Time Protocol).
Supported Series
This command applies to any individual storage system, including the HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 and AB3100 series, as long as all SMcli packages are installed.
Roles
To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Storage Admin or Support Admin role.
Context
When this feature is enabled, the controller periodically queries the configured NTP server, and then uses the results to update its internal time-of-day clock. If only one controller has NTP enabled, the alternate controller periodically synchronizes its clock with the controller that has NTP enabled. If neither controller has NTP enabled, the controllers periodically synchronize their clocks with each other.
This command is controller-specific. It is not necessary to configure NTP on both controllers; however, doing so improves the array’s ability to stay synchronized during hardware or communication failures. |
If you configure NTP using a fully qualified domain name, you must also configure DNS on those controller(s) for the operation to succeed.See Set controller DNS Settings for more information. |
Syntax
set controller(a|b) NTPServers=(disabled|auto|(Address1 [keyIdentifier=integerLiteral() keyType=stringLiteral() passPhrase=stringLiteral()] [Address2 [keyIdentifier=integerLiteral() keyType=stringLiteral() passPhrase=stringLiteral()]]))
Parameters
Parameter | Description | ||||
---|---|---|---|---|---|
|
The controller for which you want to change the NTP settings. Valid controller identifiers are a or b. |
||||
|
This parameter configures the NTP servers for the controller.
|
||||
|
"DomainName"|IPv4Address|IPv6Address
|
||||
|
Optionally, these parameters provide the key credentials for enabling NTP authentication:
|
Examples
set controller[a] NTPServers=disabled; set controller[a] NTPServers=auto; set controller[a] NTPServers=("0.pool.ntp.org" keyIdentifier=3 keyType="sha1" passPhrase="SomePassword1" "1.us.pool.ntp.org" keyIdentifier=3 keyType="sha1" passPhrase=" SomePassword1"); set controller[b] NTPServers=(192.168.1.105 keyIdentifier=3 keyType="sha1" passPhrase=" SomePassword1" "1.us.pool.ntp.org"); set controller[b] NTPServers=(set controller[b] NTPServers=(2001:0db8:85a3:0000:0000:8a2e:0370:7334 keyIdentifier=3 keyType="sha1" passPhrase=" SomePassword1");