HP StorageWorks 2/16V HP StorageWorks SAN Switch 2/8V, 2/16V, 2/16N and 4/32 I - Page 59

Synchronizing local time with an external source, Correcting the time zone of a switch

Page 59 highlights

Year values greater than 69 are interpreted as 1970-1999; year values less than 70 are interpreted as 2000-2069. The date function does not support Daylight Savings Time or time zones, so changes will have to be reset manually. Example switch:admin> date Fri May 5 21:50:00 UTC 1989 switch:admin> switch:admin> date "0624165203" Tue Jun 24 16:52:30 UTC 2003 switch:admin> Synchronizing local time with an external source Use this procedure to synchronize the local time of the principal or primary FCS switch with that of an external NTP server: 1. Log in as admin. 2. Enter the tsClockServer [ipaddr] command The ipaddr variable represents the IP address of the NTP server that the switch can access. This argument is optional; by default, its value is "LOCL". Example switch:admin> tsclockserver LOCL switch:admin> tsclockserver 132.163.135.131 switch:admin> Correcting the time zone of a switch Use these steps set the time zone: 1. Log in as admin. 2. Enter the tsTimeZone command as follows: tstimezone [houroffset [, minuteoffset]] • For Pacific Standard Time, enter tsTimeZone -8,0 • For Central Standard Time, enter tsTimeZone -6,0 • For Eastern Standard Time, enter tsTimeZone -5,0 The default time zone for switches is Universal Time Conversion (UTC), which is eight hours ahead of Pacific Standard Time. The parameters listed do not apply if the time zone of the switch(es) has already been changed from the default (eight hours ahead of PT). SAN Switch 2/8V, 2/16V, 2/16N and 4/32 installation guide 59

  • 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
  • 123
  • 124
  • 125
  • 126

59
SAN Switch 2/8V, 2/16V, 2/16N and 4/32 installation guide
Year values greater than 69 are interpreted as 1970-1999; year values less than 70 are
interpreted as 2000-2069. The date function does not support Daylight Savings Time or time
zones, so changes will have to be reset manually.
Example
Synchronizing local time with an external source
Use this procedure to synchronize the local time of the principal or primary FCS switch with
that of an external NTP server:
1.
Log in as
admin
.
2.
Enter the
tsClockServer
[
ipaddr
] command
The
ipaddr
variable represents the IP address of the NTP server that the switch can access.
This argument is optional; by default, its value is “LOCL”.
Example
Correcting the time zone of a switch
Use these steps set the time zone:
1.
Log in as
admin
.
2.
Enter the
tsTimeZone
command as follows:
tstimezone [
houroffset
[,
minuteoffset
]]
For Pacific Standard Time, enter
tsTimeZone -8,0
For Central Standard Time, enter
tsTimeZone -6,0
For Eastern Standard Time, enter
tsTimeZone -5,0
The default time zone for switches is Universal Time Conversion (UTC), which is eight hours
ahead of Pacific Standard Time. The parameters listed do not apply if the time zone of the
switch(es) has already been changed from the default (eight hours ahead of PT).
switch:admin>
date
Fri May
5 21:50:00 UTC 1989
switch:admin>
switch:admin>
date "0624165203"
Tue Jun 24 16:52:30 UTC 2003
switch:admin>
switch:admin>
tsclockserver
LOCL
switch:admin>
tsclockserver 132.163.135.131
switch:admin>