Home About BC DR HA Support Training Download
You are here: Home/ Standards/ Please Login or Register

-
Current Location
-

js
  Standards
-
AIX Admin Methodology
Global Consolidation Project
All AIX admins should join
www.aixexpert.com


Join our LinkedIn Group
AIX Advanced Technical Experts
Contract Opportunities

www.LinkedIn.com

-
digg Digg this page
del.icio.us Post to del.icio.us
Slashdot Slashdot it!


LPAR Leasing
Lease an AIX / i5 LPAR
Reduce your costs

www.mtxia.com

Server Leasing
Lease a Server off-site
Reduce your costs

www.mtxia.com

Data Center Automation
Business Continuity and DR
Virtualization/Consolidation

www.mtxia.com

HMC Service
Hardware Management Console
Manage Remote AIX / i5 LPARs

www.siteox.com

Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com

Disaster Recovery
Small Business Oriented
Off-Site Facilities

www.mtxia.com

IBM pSeries / iSeries
Reduce your Costs
Off-Site Server Hosting

www.mtxia.com

-

AIX Time Synchronization

-

The following are the AIX commands required to synchronize an AIX machine with a centralized time server. The time server uses the standard Network Time Protocol (NTP) to achieve synchronization. Also included in this documentation is the command to view the synchronization statistics.



#!/bin/ksh
################################################################
cp /etc/ntp.conf /tmp/ntp.conf.${$}
TMP_FILE="/tmp/tmp2${$}.out"

grep "^#" /etc/ntp.conf > "${TMP_FILE}"
print "server time.mtxia.com" >> "${TMP_FILE}"
print "driftfile /etc/ntp.drift" >> "${TMP_FILE}"
print "tracefile /etc/ntp.trace" >> "${TMP_FILE}"
print "peer time.mtxia.com" >> "${TMP_FILE}"

# DLF  egrep -v "^peer[$' \t']*fnet1" /etc/ntp.conf > "${TMP_FILE}"
# DLF  print "peer fnet1.mtxia.com" >> "${TMP_FILE}"

cp "${TMP_FILE}" /etc/ntp.conf
rm -f "${TMP_FILE}"

TMP_FILE="/tmp/tmp3${$}.out"
if sed -e "s|#[$' \t']*start[$' \t']*/usr/sbin/xntpd|start /usr/sbin/xntpd|" < /etc/rc.tcpip > "${TMP_FILE}"
then
    cp "${TMP_FILE}" /etc/rc.tcpip
fi

rm -f "${TMP_FILE}"

startsrc -s xntpd
lssrc -s xntpd


To check and see if the time daemon is sync'ed, run the command:


xntpdc
  xntpdc> sysinfo

Once the stratum is below 16, the time has synced to the peer.

-
Time Synchronization
-
 


LPAR Leasing
Lease an AIX / i5 LPAR
Reduce your costs

www.mtxia.com

Server Leasing
Lease a Server off-site
Reduce your costs

www.mtxia.com

Data Center Automation
Business Continuity and DR
Virtualization/Consolidation

www.mtxia.com

HMC Service
Hardware Management Console
Manage Remote AIX / i5 LPARs

www.siteox.com

Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com

FREE Domain Registration
included with Web Site Hosting
Tools, Social Networking, Blog

www.siteox.com

Disaster Recovery
Small Business Oriented
Off-Site Facilities

www.mtxia.com

IBM pSeries / iSeries
Reduce your Costs
Off-Site Server Hosting

www.mtxia.com