HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)
32 Standard features
The following procedure describes how to set the current time zone using interactive mode to Pacific
Standard Time.
To set the time zone interactively:
1. Type the tsTimeZone command as follows:
switch:admin> tstimezone --interactive
2. You are prompted to select a general location.
Please identify a location so that time zone rules can be set correctly.
3. Enter the appropriate number or Ctrl-D to quit.
4. At the prompt, select a country location.
5. 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, then 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.
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. Enter 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
optional; by default, this value is LOCL, which uses the local clock of the principal or primary switch as
the clock server.
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 will be 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.
switch:admin> tsclockserver
LOCL
switch:admin> tsclockserver "132.163.135.131"
switch:admin> tsclockserver
132.163.135.131
switch:admin>