Configuring the NTP client at the command line
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. You can also configure the NTP client through the UI (the preferred method). For more information, see Performing time synchronization.
If your appliance is running on CentOS 6
If your appliance is running on CentOS 6, you should follow this procedure in the BMC Discovery 11.2 documentation.
To configure the NTP client, you must be logged in to the command line as the root user.
- Edit the
Search for the lines beginning
Replace the server entries with the IP address or hostname of the NTP server or servers with which you want to synchronize. For example:
- Save the file.
Configure the NTP client service to start when the appliance boots. Enter:
Check to ensure that this change has been made correctly. Enter the following command and ensure that the output is the same as that shown:
Start the service. Enter:
Ensure the service is running. Enter:
The NTP client is now running and needs no further attention.
Rebaseline the appliance after configuring the NTP client
If you use appliance baseline, you must rebaseline the appliance as the tidway user after making this change:
For more information about tripwire and baselining the appliance, see Baseline configuration.