HP StorageWorks 1606 HP StorageWorks 8GB SAN Switch hardware reference guide ( - Page 48

Setting the switch date and time, About setting time zones, Fri Sep 29 17:01:48 UTC 2007

Page 48 highlights

Setting the switch date and time The 8-Gb SAN Switch maintains the current date and time inside a battery-backed RTC circuit. Switch operation does not depend on the date and time. An 8-Gb SAN Switch with an incorrect date and time value still functions properly. However, it is important that your switch shows the accurate date and time, because these are used for logging, error detection, and troubleshooting. 1. Log in to the switch using the default password, (password). 2. Enter the date command: date "mmddHHMMyy" The values represent the following: • mm is the month; valid values are 01 through 12. • dd is the date; valid values are 01 through 31. • HH is the hour; valid values are 00 through 23. • MM is minutes; valid values are 00 through 59. • yy is the year; valid values are 00 through 99. (Values greater than 69 are interpreted as 1970 through 1999, and values less than 70 are interpreted as 2000-2069.) switch:admin> date Fri Sep 29 17:01:48 UTC 2007 switch:admin> date "0927123007" Thu Sep 27 12:30:00 UTC 2007 switch:admin> 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. 48 Installing and configuring an 8-Gb SAN Switch

  • 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

Setting the switch date and time
The 8-Gb SAN Switch maintains the current date and time inside a battery-backed RTC circuit. Switch
operation does not depend on the date and time. An 8-Gb SAN Switch with an incorrect date and
time value still functions properly. However, it is important that your switch shows the accurate date
and time, because these are used for logging, error detection, and troubleshooting.
1.
Log in to the switch using the default password,
(password)
.
2.
Enter the
date
command:
date "mmddHHMMyy"
The values represent the following:
mm
is the month; valid values are 01 through 12.
dd
is the date; valid values are 01 through 31.
HH
is the hour; valid values are 00 through 23.
MM
is minutes; valid values are 00 through 59.
yy
is the year; valid values are 00 through 99. (Values greater than 69 are interpreted as
1970 through 1999, and values less than 70 are interpreted as 2000-2069.)
switch:admin> date
Fri Sep 29 17:01:48 UTC 2007
switch:admin> date "0927123007"
Thu Sep 27 12:30:00 UTC 2007
switch:admin>
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.
Installing and configuring an 8-Gb SAN Switch
48