configure NTP Server on AIX
1.Verify that you have a suitable NTP server.
#lssrc -ls xntpd
Note : sys peer should show a valid server or 127.127.1.0
If the server is "insane", you should need to correct it by adding a server line into /etc/ntp.conf and restarting xntpd.
Following these steps
#vi /etc/ntp.conf
Add server
server 127.127.0.1
Double check that "broadcastclient" is commented.
#stopsrc -s xntpd
Note : If the server runs databases, use the -x flag to prevent the clock from changing in a negative direction. Enter the following:
#startsrc -s xntpd -a "-x"
2.Enter
#lssrc -ls xntpd
to verify that the server is synched. This process can take upto 12 minutes.
configure NTP Client on AIX
1. Verify that you have a server suitable for synchronization, Enter:
#ntpdate -d ip.address.of.server
The offset must be less than 1000 seconds for xntpd to synch. If the offset is greater than 1000 seconds, change the time manually on the client and run ntpdate -d again.
If you get the message ," no server suitable for synchronization found", verify xntpd is running on the server (see above )and that no firewalls are blocking port 123.
2. Specify your xntpd server in /etc/ntop.conf, Enter
#vi /etc/ntp.conf
comment "broadcastclient" line and add
server ip.address.of.server prefer
leave the driftfile and tracefile at their defaults.
3. start the xntpd daemon,
#startsrc -s xntpd
( use the -x flag if it is appropriate in your environment.)
4. Uncomment xntpd from /etc/rc.tcpip so it will start on reboot.
#vi /etc/rc.tcpip
Unconmment the following line
start /usr/sbin/xntpd "$src-running"
If using the -x flag, add "-x" to the end oof the line. you must include the qoutes around "-x"
5. verify that the client is synched.
#lssrsc -ls xntpd
Note: sys peer should display the IP Adress or name of your xntpd server.This process may take 12 minutes.
*****
Praveen, My name is Meyyappan working in MNC.
ReplyDeleteWorking as Aix Admin past 5.5 years and total Exper is 8 years certified in Sun Solaris, AIX, HACMP and ITIL. This Blog is useful for me. Please let me know if you have any group and if so please add me also so that I can get help for AIX.
Thanks,
M.Meyyappan.
meyyappan1978@gmail.com
Awesome Blog.All your updates are amazing.Please update more of these regarding HACMP and VIO servers
ReplyDelete