VMware

Server Namespace

Server namespace provides commands Performs NTP configuration.

List of commands:



Add Command

dcli com vmware appliance techpreview ntp server add

Description

Add NTP servers. This command adds NTP servers to the configuration. If the time synchronization is NTP-based, then NTP daemon is restarted to reload the new NTP servers. Otherwise, this command just adds servers to the NTP configuration.

Options

Option Name Type Required Description
servers string Yes List of host names or IP addresses of NTP servers.

Example

dcli com vmware appliance techpreview ntp server add --servers testString


Set Command

dcli com vmware appliance techpreview ntp server set

Description

Set NTP servers. This command deletes old NTP servers from the configuration and sets the input NTP servers in the configuration. If the time synchronization is NTP-based, the NTP daemon is restarted to reload the new NTP configuration. Otherwise, this command just replaces servers in the NTP configuration.

Options

Option Name Type Required Description
servers string Yes List of host names or ip addresses of ntp servers.

Example

dcli com vmware appliance techpreview ntp server set --servers testString


Delete Command

dcli com vmware appliance techpreview ntp server delete

Description

Delete NTP servers. This command deletes NTP servers from the configuration. If the time synchronization mode is NTP-based, the NTP daemon is restarted to reload the new NTP configuration. Otherwise, this command just deletes servers from the NTP configuration.

Options

Option Name Type Required Description
servers string Yes List of host name or ip addresses of ntp servers.

Example

dcli com vmware appliance techpreview ntp server delete --servers testString