HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)
38
2. Enter the date command, using the following syntax:
date "mmddHHMMyy"
The values represent the following:
• mm is the month; valid values are 01 through 12.
• dd is the date; valid values are 01 through 31.
• HH is the hour; valid values are 00 through 23.
• MM is minutes; valid values are 00 through 59.
• yy is the year, valid values are 00-37 and 70-99 (year values from 70-99 are interpreted as
1970-1999, year values from 00-37 are interpreted as 2000-2037).
switch:admin> date
Fri Sep 29 17:01:48 UTC 2007
Stealth200E:admin> date "0204101008"
Mon Feb 4 10:10:00 UTC 2008
For more information on the date command, see the Fabric OS Command Reference.
Time zone settings
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 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 tsTimeZone command, see the Fabric OS Command Reference.
If you are downgrading to a Fabric OS version earlier than 6.0.0, 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 213 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 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.
Setting the time zone
The following procedure describes how to set 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.
1. Connect to the switch and log in using an account assigned to the admin role and with the chassis-role
permission.