Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Setting the system date and time

About time synchronization  Top

Keeping the system date and time correct is important to ensure that the storage system can service requests correctly. Make sure that you

If you use the SnapMirror® feature, see also Setting the date while running SnapMirror.

Setting the date and time with the date command  Top

To set the date and time using the date command, complete the following steps.

Step

Action

1

Access the storage system command line through the console or through a Telnet session.

2

Enter the following command, substituting the current date and time for the number string:

date [-u] [[[CC]yy]mmddhhmm[.ss]]

-u sets the date and time to Greenwich Mean Time instead of the local time.

CC is the first two digits of the current year.

yy is the second two digits of the current year.

mm is the current month. If omitted, the default is the current month.

dd is the current day. If omitted, the default is the current day.

hh is the current hour, using a 24-hour clock.

mm is the current minute.

ss is the current second. If omitted, the default is 0.

Example

The following command sets the date and time to 22 May 2002 at 9:25 a.m.

date 200205220925

Note
If the first two digits of the year are omitted, they default to 20; if all four digits are omitted, they default to the current year. Time changes for daylight saving and standard time, and for leap seconds and years, are handled automatically.

Setting the date while running SnapMirror  Top

If you use the date or rdate command to set a storage system's date earlier when the SnapMirror® software is running, SnapshotTM copies can appear out of sequence. When this occurs, SnapMirror assumes that the older snapshot was created before the newer one, and asks for a new, complete transfer before proceeding with any incremental transfers. You can avoid this problem in the following ways:

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments