IBM 2498B24 User Guide - Page 43

Synchronizing local time using NTP, tsTimeZone, password, timezone_fmt, Ctrl-D - fc switches

Page 43 highlights

The time zone setting has the following characteristics: v You can view the time zone settings. However, only those with administrative permissions can set the time zones. v The tsTimeZone setting automatically adjusts for Daylight Savings Time. v Changing the time zone on a switch updates the local time zone setup and is reflected in local time calculations. v By default, all switches are in the GMT time zone (0,0). If all switches in a fabric are in one time zone, it is possible for you to keep the time zone setup at the default setting. v System services that have already started will reflect the time zone changes only after the next reboot. v Time zone settings persist across failover for high availability. 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. If you are not already logged into the switch; do so now using the default password, which is password. 2. Enter the tsTimeZone command as follows: 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 display the current time zone setup and 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 describes how to set the current time zone using interactive mode to Pacific Standard Time. 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. Chapter 2. Installing and configuring the switch 19

  • 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

The time zone setting has the following characteristics:
v
You can view the time zone settings. However, only those with administrative
permissions can set the time zones.
v
The
tsTimeZone
setting automatically adjusts for Daylight Savings Time.
v
Changing the time zone on a switch updates the local time zone setup and is
reflected in local time calculations.
v
By default, all switches are in the GMT time zone (0,0). If all switches in a fabric
are in one time zone, it is possible for you to keep the time zone setup at the
default setting.
v
System services that have already started will reflect the time zone changes only
after the next reboot.
v
Time zone settings persist across failover for high availability.
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.
If you are not already logged into the switch; do so now using the default
password, which is
password
.
2.
Enter the
tsTimeZone
command as follows:
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 display the current time zone setup and
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 describes how to set the current time zone using
interactive mode to Pacific Standard Time.
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.
Chapter 2. Installing and configuring the switch
19