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

32 Standard features
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
The following procedure sets the current time zone to Pacific Standard Time using interactive mode:
1. Connect to the switch and log in using an account assigned to the admin role.
2. Issue the tsTimeZone command:
switch:admin> tstimezone --interactive
3. You are prompted to select a general location.
Please identify a location so that time zone rules can be set correctly.
4. Enter the appropriate number or Ctrl-D to quit.
5. At the prompt, select a country location.
6. At the prompt, enter the appropriate number to specify the time zone region or Ctrl-D to quit.
Synchronizing local time using NTP
You can synchronize the local time of the principal or primary fabric configuration server (FCS) switch to a
maximum of eight external network time protocol (NTP) servers. To keep the time in your SAN current, it is
recommended that the principal or primary-FCS switch has its time synchronized with at least one external
NTP server. The other switches in the fabric will automatically take their time from the principal or
primary-FCS switch.
All switches in the fabric maintain the current clock server value in non-volatile memory. By default, this
value is the local clock server <LOCL> of the principal or primary FCS switch. Changes to the clock server
value on the principal or primary FCS switch are propagated to all switches in the fabric.
When a new switch enters the fabric, the time server daemon of the principal or primary FCS switch sends
out the addresses of all existing clock servers and the time to the new switch. If a switch with Fabric OS
5.3.0 or later has entered the fabric it will be able to store the list and the active servers; pre-5.3.0 Fabric
OS switches will ignore the new list parameter in the payload and will update only the active server
address.
If the active NTP server configured is IPv6, distributing the same in the fabric will not be possible to
switches earlier than Fabric OS 5.3.0 because IPv6 is supported for Fabric OS version 5.3.0 and later. The
default value LOCL will be distributed to pre-5.3.0 switches.
Synchronizing local time with an external source
The tsClockServer command accepts multiple server addresses in either IPv4, IPv6, or DNS name
formats. When multiple NTP server addresses are passed, tsClockServer sets the first obtainable address
as the active NTP server. The rest is stored as backup servers that can take over if the active NTP server
fails. The principal or primary FCS switch synchronizes its time with the NTP server every 64 seconds.
To synchronize local time with an external source:
1. Connect to the switch and log in using an account assigned to the admin role.
2. Issue the tsClockServer command:
switch:admin> tsclockserver "<ntp1;ntp2>"
where ntp1 is the IP address or DNS name of the first NTP server, which the switch must be able to
access. The second ntp2 is the second NTP server and is optional. The operand “<ntp1;ntp2>” is