Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerVault ME5 Series Storage System CLI Reference Guide

PDF

set controller-date

Description

Sets the date and time parameters for the system. You can set the date and time manually or configure the system to communicate with a Network Time Protocol (NTP) server. Alternatively, you can configure NTP by using the set ntp-parameters command.

NOTE:
  • If you specify valid NTP parameters and manual date/time parameters in the same command, the NTP parameters will take precedence. If the NTP server cannot be contacted, the date and time will not be changed and no error message will be displayed. If you specify the timestamp parameter and other manual date/time parameters in the same command, the timestamp parameter will take precedence.
  • If you change the time zone of the secondary system in a replication set whose primary and secondary systems are in different time zones, you must restart the system to enable management interfaces to show proper time values for replication operations.
Minimum role standard
Syntax

To set the date and time manually:

set controller-date

jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec

day

hh:mm:ss

year

To set the date and time manually by specifying a timestamp:

set controller-dat

timestamp timestamp

timezone +|-hh[:mm]

To configure use of NTP:

set controller-date

ntp enabled|disabled|on|off

ntpaddress address

timezone +|-hh[:mm]

Parameters jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec

The month.

day

The day number (1–31).

hh:mm:ss

The hour (0–23), the minutes (0–59), and the seconds (0–59).

year

The year as a four-digit number.

ntp enabled|disabled|on|off

Enables or disables use of NTP. When NTP is enabled and the specified NTP server is available, the time on each controller is synchronized with the server. This is disabled by default.

ntpaddress address

The network address of an available NTP server. The value can be an IPv4 address, IPv6 address, or FQDN.

timezone +|-hh[:mm]

The system time zone as an offset in hours (-12 through +14) and optionally minutes (00–59) from Coordinated Universal Time (UTC). To specify a positive offset, the '+' is optional. To specify a negative offset, the '-' is required. The hour value can have one or two digits and can omit a leading zero. If the minutes value is specified it must have two digits. If it is omitted, the minutes value is set to 00.

timestamp timestamp

The date and time represented as the number of seconds (not counting leap seconds) that have elapsed since 1970-01-01 00:00:00 UTC. The resulting time will be in UTC, unless you also specify the timezone parameter.

Examples Manually set the system time and date to 1:45 PM on September 22, 2011.

# set controller-date sep 22 13:45:0 2011

Manually set the system date and time to 4:30:50 PM on November 2, 2011 by specifying a timestamp and an offset for the Central Time zone.

# set controller-date timestamp 1320273050 timezone -6

Set the system to use NTP with an offset for the Mountain Time zone.

# set controller-date ntp enabled ntpaddress 69.10.36.3 timezone -7

Set the system to use NTP with an offset for the Bangalore, India, time zone.

# set controller-date ntp enabled ntpaddress 69.10.36.3 timezone +5:30

See also

set ntp-parameters

show controller-date

show ntp-status


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\