HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)
Fabric OS 6.x administrator guide 31
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 ”About the firmware download process” on page 163 for time zone
downgrading considerations.
You can set the time zone for a switch using the tsTimeZone command. The tsTimeZone command
allows you to 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.
• The tsTimeZone setting 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 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 only need to set the time zone 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. Enter 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.
The following example shows how to display the current time zone setup and how to change the time zone
to US/Central.
switch:admin> tstimezone
Time Zone : US/Pacific
switch:admin> tstimezone US/Central
switch:admin> tstimezone
Time Zone : US/Central