This soft copy for use by IBM employees only.
9.7.1 Using NTP
If
ntp_config =
[
consensus/timemaster/internet
]
(use
splstdata -e
to confirm),
then the following sequence will start the xntp daemon on the Control
Workstation and the nodes:
1. /etc/rc.sp is started from /etc/inittab
2. /usr/lpp/ssp/install/bin/services_config is called from /etc/rc.sp
3. /usr/lpp/ssp/install/bin/ntp_config is called from services_config
4. /etc/rc.ntp is called from ntp_config
5. /usr/lpp/ssp/bin/xntp is started from rc.ntp
The ntp_config script creates the /etc/ntp.conf and /etc/rc.ntp files. The ntp.conf
file indicates which hosts can provide time service to which other hosts.
For further information on NTP, refer to the man pages in
/usr/lpp/ssp/public/ntp.tar.Z. The man pages can be extracted with the
commands:
zcat ntp.tar.Z | tar -xvf - ntp/doc/xntpd.8
zcat ntp.tar.Z | tar -xvf - ntp/doc/xntpdc.8
zcat ntp.tar.Z | tar -xvf - ntp/doc/ntpq.8
zcat ntp.tar.Z | tar -xvf - ntp/doc/ntpdate.8
zcat ntp.tar.Z | tar -xvf - ntp/doc/ntptrace.8
mv ntp/doc/xntp*.8 /usr/man/man8
mv ntp/doc/ntp*.8 /usr/man/man8
9.7.2 NTP Hints and Tips
1. If the time difference between the Kerberos authentication server and the
nodes is not greater than 5 minutes, then the Kerberos-authenticated
commands will continue to execute.
2. Use
kill -15 <NTP pid>
to kill the NTP daemon before restarting it.
3. Use /etc/rc.ntp to start the NTP daemon, if necessary.
4. How to change the system time.
•
Create a .rhost file. This will be needed to execute
rsh
commands after
the Control Workstation time has been changed (as Kerberos commands
will no longer work).
root@sp21cw0 / > cat /.rhosts
sp21cw0 root
root@sp21cw0 / >
Figure 100. Example of /.rhosts File
•
Use
pcp -a /.rhost /
to copy the .rhost file to all the nodes.
•
Use
smitty date
to change the system date on the Control Workstation.
•
Execute the following script on the Control Workstation:
226
SP PD Guide
Summary of Contents for RS/6000 SP
Page 2: ......
Page 14: ...This soft copy for use by IBM employees only xii SP PD Guide...
Page 16: ...This soft copy for use by IBM employees only xiv SP PD Guide...
Page 106: ...This soft copy for use by IBM employees only 86 SP PD Guide...
Page 178: ...This soft copy for use by IBM employees only 158 SP PD Guide...
Page 214: ...This soft copy for use by IBM employees only 194 SP PD Guide...
Page 248: ...This soft copy for use by IBM employees only 228 SP PD Guide...
Page 290: ...This soft copy for use by IBM employees only 270 SP PD Guide...
Page 292: ...This soft copy for use by IBM employees only 272 SP PD Guide...
Page 300: ...This soft copy for use by IBM employees only 280 SP PD Guide...
Page 304: ...This soft copy for use by IBM employees only 284 SP PD Guide...
Page 308: ...This soft copy for use by IBM employees only 288 SP PD Guide...
Page 310: ...This soft copy for use by IBM employees only 290 SP PD Guide...
Page 316: ...IBML This soft copy for use by IBM employees only Printed in U S A SG24 4778 00...