The NTP client enables the appliance or virtual machine to synchronize its internal clock with an NTP server on your network or on the internet.
NTP and VMware Tools
If you are using NTP on a BMC Atrium Discovery Virtual Appliance, you should disable the VMware tools time syncing. This is explained in VMware's timekeeping best practices for Linux based Virtual Machines which can be found here under the heading VMware Tools time synchronization configuration.
To configure the NTP client you must be logged in to the command line as the root user.
/etc/ntp.conf
file.server
.
server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org
server ntp.tideway.com server 172.17.1.24
[root@localhost] # /sbin/chkconfig --levels 3 ntpd on [root@localhost] #
[root@localhost] # /sbin/chkconfig --list ntpd ntpd 0:off 1:off 2:off 3:on 4:off 5:off 6:off [root@localhost] #
[root@localhost] # /sbin/service ntpd start Starting ntpd: [ OK ] [root@localhost] #
If you use appliance baseline, you must rebaseline the appliance after making this change. To rebaseline the appliance, as the tideway
user, enter the following command:
/usr/tideway/bin/tw_tripwire_rebaseline
For more information about tripwire and baselining the appliance, see Baseline configuration.
Message - ntpd is not configured to run at run level 5
The message ntpd is not configured to run at run level 5
which is displayed in the appliance baseline window is erroneous. It is displayed when ntpd
is running.