You can set the date, time, and time zone manually or sync
with a timeserver.
About this task
Important: With Version 3.3.6 and later, you
must apply each change you make to the timezone, date and time, and
time server individually before proceeding to the next task.
Procedure
- If you are not already connected
to a node, plug a USB keyboard and monitor into the back of the server.
- Log in to the server with the username ptadmin and
password ptadmin.
- Access the /install directory by typing
the command:
cd /opt/dtc/install
- Perform either of the following actions
to begin the set clock configuration:
The following menu is displayed:
Date, Time, Timezone & Timeserver(s) configuration
==================================================
1. Set date & time
2. Set Timezone
3. Set Timeserver(s)
c. Commit changes and exit
q. Exit without committing changes
Please Choose:
- Synchronize the date and time
by typing 1 in the Please Choose: field.
The following is displayed:
Please Choose:1
Please specify the date in DD/MM/YYYY format [08/11/2010]:
- Type the date in the specified format and press Enter.
If you do not enter a date, the default (displayed in brackets) is
used.
The following is displayed:
Please specify the date in DD/MM/YYYY format [08/11/2010]: 08/11/2010
Please specify the time in HH:MM:SS format [11:56:16]:
- Type the time in the specified
format and press Enter. If you do not enter a time, the default (displayed
in brackets) is used.
The following is displayed:
Date, Time, Timezone & Timeserver(s) configuration
==================================================
1. Set date & time
2. Set Timezone
3. Set Timeserver(s)
c. Commit changes and exit *
q. Exit without committing changes
Please Choose:
Note: If you typed in new information, an asterisk
(*) appears at the end of the c. Commit changes and exit menu
option to show that there are modifications to be saved.
- At the Please choose: prompt,
commit your date and time settings To commit, type: c and
press Enter.
The current time, date, and timezone settings
display for review.
- At the Do you wish to apply those settings?
(yes|no) prompt, type: yes and
press Enter.
You are notified as follows: The
cluster & VTFD services on all nodes must be stopped in order
to continue. Do you wish to continue? (yes|no). Type: yes and
press Enter.
A series of status messages appears as the services
are stopped and restarted. This process might take up to 10 minutes.
When the service restart is complete, the Press the
ENTER key to continue… message displays.
- Press Enter to continue and return to the ProtecTIER
Configuration (…) menu.
- Synchronize the local timezone
by typing 2 in the Please Choose: field. The following is displayed:
Please Choose:2
Enter a 2 letter country code (or type 'm' to enter the timezone manually):
If
you typed m to manually enter the timezone,
the following is displayed:Enter the time zone (case sensitive):
- Select a country.
- Type a two-letter country code (for example, US for
the United States)
- If you chose to enter the timezone manually, type the name (for
example, Italy).
If you need a list of time zone codes from countries other than
the United States, see Worldwide time zone codes. The following is displayed:Time zones under US:
====================
1. America/New_York
2. America/Detroit
3. America/Kentucky/Louisville
4. America/Kentucky/Monticello
5. America/Indiana/Indianapolis
6. America/Indiana/Vincennes
7. America/Indiana/Knox
8. America/Indiana/Winamac
9. America/Indiana/Marengo
10. America/Indiana/Vevay
11. America/Chicago
12. America/Indiana/Tell_City
13. America/Indiana/Petersburg
14. America/Menominee
15. America/North_Dakota/Center
16. America/North_Dakota/New_Salem
17. America/Denver
18. America/Boise
19. America/Shiprock
20. America/Phoenix
21. America/Los_Angeles
22. America/Anchorage
23. America/Juneau
24. America/Yakutat
25. America/Nome
26. America/Adak
27. Pacific/Honolulu
Please choose a timezone:
- Type a number corresponding to the timezone you want to
synchronize from the list under the country code entered. The following is displayed:
Date, Time, Timezone & Timeserver(s) configuration
==================================================
1. Set date & time
2. Set Timezone
3. Set Timeserver(s)
c. Commit changes and exit *
q. Exit without committing changes
Please Choose:
- At the Please choose a timezone: prompt,
type the number that corresponds to your timezone and press Enter
to return to the Date, Time, Timezone & Timeserver(s)
configuration menu. Type: c for
commit and press Enter.
The current time, date, and
timezone settings display for review.
- At the Do you wish to apply those settings?
(yes|no) prompt, type: yes and
press Enter.
The following message appears: The
cluster & VTFD services on all nodes must be stopped in order
to continue. Do you wish to continue? (yes|no). Type: yes and
press Enter.
A series of status messages appears as the services
are stopped and restarted. This process might take up to 10 minutes or longer, depending on the size of the repository.
When the service restart is complete, the Press the
ENTER key to continue… message appears.
- Press Enter to continue and return to the ProtecTIER
Configuration (…) menu.
- Add timeservers to the system by
typing 3 in the Please Choose: field.
The following is displayed:
- Please specify the timeserver's IP Address:
Type
the timeserver's IP address. For example: 192.168.10.15
- Would you like to set a secondary timeserver? (yes|no)
Type y to
set a secondary timeserver.
- Please specify the secondary timeserver's IP Address:
Type
the secondary timeserver's IP address. For example: 192.168.12.15
You
can search your region for the appropriate NTP timeserver you want
to synchronize your system with using your internet search engine.
There are several sites available, one example is the NIST
Internet Time Servers web page.
After specifying the
timeserver’s addresses, the following is displayed:
Date, Time, Timezone & Timeserver(s) configuration
==================================================
1. Set date & time
2. Set Timezone
3. Set Timeserver(s)
c. Commit changes and exit *
q. Exit without commiting changes
Please Choose:
- Confirm and save your changes to the configuration by typing c in
the Please Choose: field. A list of the configuration
changes is displayed for review.
Results
Note: If only the date was modified, and not the timezones
or timeservers, only the date is displayed in the contents.
Example
If you modify the date, add a primary and secondary timeserver,
and specify America/Chicago as the time zone,
when you choose c to commit the changes and
exit, the file contents are displayed as follows:
Please review the following information:
========================================
Date: Mon Nov 8 14:51:34 2010
Primary time server: 192.168.10.11
Secondary time server: 192.168.15.11
Timezone: America/Chicago
Do you wish to apply those settings? (yes|no)
Type y to
apply the changes.
Note: the cluster & VTFD services on all nodes must be stopped
in order to continue. Do you wish to continue? (yes|no)
Type y to
stop and restart the cluster and VTFD services on all the nodes.
Stopping Cluster Services [ Done ]
Stopping NTPD [ Done ]
Setting Time Zone [ Done ]
Setting Timeserver [ Done ]
Setting Date & Time [ Done ]
Starting NTPD [ Done ]
Starting cluster [ Done ]
Cluster Started
What to do next
When both nodes finish rebooting, use
ProtecTIER Manager to verify that fencing
completed successfully and both nodes are online: To do so:
- On the ProtecTIER Manager workstation
or the TSSC,
open ProtecTIER Manager.
- Confirm that both nodes display as Online.