Setup NTP on CentOS 5.2

I am working on building a DRBD cluster and as with all cluster tools , you must have a synced time between nodes.

1. install ntp

yum -y install ntp

2. enable ntp on boot

chkconfig ntpd on

3.run a manual time sync before starting the service

ntpdate 0.pool.ntp.org

4. start the service

service ntpd start

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>