HP 1606 HP StorageWorks 8-Gb SAN Switch Hardware Reference Guide (5697-0291, J - Page 49

About setting time zones, Setting the time zone, Time Zone : US/Pacific

Page 49 highlights

About setting time zones You can set the time zone for the switch by name. You can also set country, city, or time zone parameters. If the time zone is not set with the 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 --old option, see the Fabric OS Command Reference Manual. You can use the tstimezone command to: • Display all of the time zones supported in the firmware. • View the time zone settings. However, only those with administrative permissions can set the time zones. • Set the time zone for a switch based on a country and city combination or based on a time zone ID, such as PST. Consider the following: • The tsTimeZone setting adjusts automatically 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, you can 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 IMPORTANT: 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. 1. Log in to the switch using the default password, (password). 2. Enter the tstimezone command: switch:admin> tstimezone [--interactive]/ [, timezone_fmt] 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 To set the time zone using interactive mode: 8-Gb SAN Switch Hardware Reference Guide 49

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

About setting time zones
You can set the time zone for the switch by name. You can also set country, city, or time zone
parameters.
If the time zone is not set with the 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
--old
option, see the
Fabric OS Command Reference Manual
.
You can use the
tstimezone
command to:
Display all of the time zones supported in the firmware.
View the time zone settings. However, only those with administrative permissions can set the time
zones.
Set the time zone for a switch based on a country and city combination or based on a time zone
ID, such as PST.
Consider the following:
The
tsTimeZone
setting adjusts automatically 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, you can 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
IMPORTANT:
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.
1.
Log in to the switch using the default password,
(password)
.
2.
Enter the
tstimezone
command:
switch:admin> tstimezone
[
--interactive
]/ [,
timezone_fmt
]
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
To set the time zone using interactive mode:
8-Gb SAN Switch Hardware Reference Guide
49