144 Alphabetical list of commands
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.
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-date
timestamp
timestamp
ti|-
hh
[:
mm
]
To configure use of NTP:
set controller-date
ntp enabled|disabled|on|off
ntpaddress
IP-address
ti|-
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,
each controller’s time is synchronized with the server.
ntpaddress
IP-address
The network address of an available NTP server.
ti|-
hh
[:
mm
]
The system’s time zone as an offset in hours (-1 to -12, +1 to +13) and minutes (0–59) from
Coordinated Universal Time (UTC). For example, the Pacific Time Zone offset is -8 during Pacific
Standard Time or -7 during Pacific Daylight Time.
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.
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...