|There are three attributes set for NTP during installation or you
|can change them later by using SMIT or the spsitenv
|command. The ntp_version attribute defaults to a value of
3, the version shipped with AIX 4.2 or later. That
version of NTP is NLS-enabled. If your installation is using an earlier
version of NTP, this value might need to be or might have been changed to
represent the version in use. The other two attributes are described in
Table 12.
Table 12. Setting time service choices
The spsitenv Entries to Be Filled In | ||
---|---|---|
To do this... | ntp_config | ntp_server |
Use your site's existing NTP time server to synchronize the SP system clocks. | timemaster | hostname of your current NTP time server |
Use an NTP time service from the Internet to synchronize the SP system clocks. | Internet | hostnames of time servers on the Internet* |
Run NTP locally on the SP to generate a consensus time. | consensus
(default) | |
Do not use NTP on the SP. This means you are using some other independent method to synchronize system clocks. | none | |
|
When you choose any of the options that involve using NTP, the installation scripts determine the IP address of the host specified as ntp_server and create the /etc/ntp.conf file on each of the control workstation, boot-install server, and processor nodes. This file indicates which hosts can provide time service to which other hosts using the designations of server and peer, where:
The following example shows a sample /etc/ntp.conf file:
# Server ip_addr version <ntp version> server 9.8.77.66 version 3 # server is host_one.conrad.ibm.com server 123.45.678.9 version 3 # server is host_two.ursula.ibm.com peer 9.8.77.55 version 3 # server is host_x.conrad.ibm.com peer 9.8.77.44 version 3 # server is host_y.conrad.ibm.com peer 9.8.77.33 version 3 # server is host_z.conrad.ibm.com
Assuming this is the /etc/ntp.conf file on your_host, the following is true:
The following table shows which host addresses will be used for servers and
peers in the /etc/ntp.conf files created on the control
workstation, file servers, and processor nodes for each ntp_config
choice.
ntp_config | Control workstation | Boot-install servers | Processor nodes |
---|---|---|---|
timemaster |
Server: Your time server Peer: All boot-install servers
|
Server: Your time server Peer: Control workstation Peer: All boot file servers
|
Server: Your time server Server: Control workstation Server: All boot file servers
|
Internet |
Server: Internet server
|
Server: Control workstation Peer: Other boot file servers
|
Server: Control workstation Server: All boot file servers
|
consensus |
Server: 127.127.1.10*
|
Server: Control workstation Peer: Other boot file servers
|
Server: Control workstation Server: All boot file servers
|
None | No file created | No file created | No file created |
* This address signifies local time service to NTP and makes the control workstation a stratum 10 time server allowing you to hook into a higher stratum Internet time server at a later date. |
For more information on the installation scripts, or to update the site environment, see the PSSP: Installation and Migration Guide.