HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

Fabric OS 6.1.1 administrator guide 31
yy is the year; valid values are 00 through 99 (values greater than 69 are interpreted as 1970
through 1999, and values less than 70 are interpreted as 2000-2069).
switch:admin> date
Fri Sep 29 17:01:48 UTC 2007
switch:admin> date "0927123007"
Thu Sep 27 12:30:00 UTC 2007
switch:admin>
For more information on the tsTimeZone command, see the Fabric OS Command Reference.
Setting time zones
You can set the time zone for a switch by name. You can specify the setting using country and city or time
zone parameters. Switch operation does not depend on a date and time setting. However, having an
accurate time setting is needed for accurate logging and audit tracking.
If the time zone is not set with the new options, the switch retains the offset time zone settings. The
tsTimeZone command includes an option to revert to the prior time zone format. For more information
about the
--old option, see the Fabric OS Command Reference.
IMPORTANT: If you are downgrading to a Fabric OS version earlier than 6.x, or retaining the offset
format, see prior versions of the Fabric OS Administrator’s Guide for detailed information about setting
time zones using the offset format. See ”Firmware download process overview” on page 175 for time zone
downgrading considerations.
When you set the time zone for a switch, you can perform the following tasks:
Display all of the time zones supported in the firmware
Set the time zone based on a country and city combination or based on a time zone ID, such as PST
The time zone setting has the following characteristics:
Users can view the time zone settings. However, only those with administrative permissions can set the
time zones.
It automatically adjusts for Daylight Savings Time.
Changing the time zone on a switch updates the local time zone setup and is reflected in local time
calculations.
By default, all switches are in the GMT time zone (0,0). If all switches in a fabric are in one time zone,
it is possible for you to keep the time zone setup at the default setting.
System services that have already started will reflect the time zone changes only after the next reboot.
Time zone settings persist across failover for High Availability.
Setting the time zone on a dual domain Director has the following characteristics:
Updating the time zone on any switch updates the entire Director.
The time zone of the entire Director is the time zone of switch 0.
The following procedure sets the time zone for a switch. You must perform the procedure on all switches for
which the time zone must be set. However, you need to set the time zone only once on each switch,
because the value is written to nonvolatile memory.
To set the time zone:
1. Connect to the switch and log in using an account assigned to the admin role.
2. Issue the tsTimeZone command as follows:
switch:admin> tstimezone [--interactive]/ [, timezone_fmt]
•Use tsTimeZone with no parameters to display the current time zone setting.
•Use
--interactive to list all of the time zones supported by the firmware.
•Use timezone_fmt to set the time zone by Country/City or by time zone ID, such as PST.