• System services that have already started reflect the time zone changes only after the next reboot.
• In the event of failover, time zone settings are retained to ensure high availability.
You need only set the time zone once on each switch because the value is written to nonvolatile memory.
The following examples show how to set the time zone. The first example uses the time zone selection;
the second uses the country location selection.
The following procedure sets the current time zone to Central Standard Time using the
timezone_fmt
command:
• Log in to the switch using the default password
password
.
• 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 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 time zone to Pacific Standard Time using interactive mode:
• Enter the
tstimezone
command:
•
switch:admin>
tstimezone --interactive
• A list of timezones appears followed by a prompt for you to select a general location:
•
Please identify a location so that time zone rules can be set correctly.
• Enter the appropriate number (an offset of GMT) or press
Ctrl+D
to quit.
• At the prompt, select a country location.
• At the prompt, enter the appropriate number to specify the time zone region, or press
Ctrl+D
to quit.
Synchronizing local time
You can synchronize the local time of the principal or primary FCS switch to a maximum of eight external
NTP servers. To keep the time current in your SAN, Hewlett Packard Enterprise recommends that the
principal or primary FCS switch time is synchronized with at least one external NTP server. The other
switches in the fabric automatically take their time from the principal or primary FCS switch.
All switches in the fabric maintain the current clock server value in nonvolatile 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 switch has been added to the fabric, the time server daemon of the principal or primary FCS
switch sends the addresses of all existing clock servers and the time to that switch. If a switch running
Fabric OS 5.3.0 or later has been added to the fabric, it can store the list and the active servers. Switches
running Fabric OS 5.3.0 or earlier ignore the new list parameter in the payload and update only the active
server address.
If the active NTP server configured is IPv6, distributing the same information in the fabric is not possible
to switches running Fabric OS versions earlier than 5.3.0, because IPv6 is supported only for Fabric OS
version 5.3.0 and later. The default value
LOCL
is distributed to switches running Fabric OS 5.3.0 or
earlier.
The
tsclockserver
command accepts multiple server addresses in IPv4, IPv6, or DNS name format.
When multiple NTP server addresses are passed,
tsclockserver
sets the first obtainable address as
the active NTP server. The remaining addresses are 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.
46
Synchronizing local time