Before you begin
Make sure you have the server names or IP addresses of one or two appropriate external time sources. For more information, see External time sources.
Procedure
- Log on to Linux on the Experience Portal Primary EPM server.
If you are an Avaya Services representative, and use Avaya Enterprise Linux, or if the Avaya Service accounts are installed on this server, log on to the local Linux console as root.
Otherwise, log on remotely as a non-root user, and then change the user to root by entering the su - root command.
- Open the /etc/chrony.conf file in an ASCII text editor.
-
Edit the file to add the
primary external time source and an explicit declaration to set the local clock.
You can also add a secondary time source for scenarios where the primary source
is not found. The format is:
server xxxx // primary external time server server yyyy // optional secondary external time server server 127.127.1.0 // set local clock to time received from external server fudge 127.127.1.0 stratum 10 # Record the rate at which the system clock gains/losses time. driftfile /var/lib/chrony/driftWhere
xxxxandyyyyare either server names or IP addresses of the external time servers you want to use.Note:The typical settings for
driftfile. If the chrony.conf file at your site has different settings, check with your system administrator before you change them.The following uses the external time sources
0.rhel.pool.ntp.organd1.rhel.pool.ntp.org:server 0.rhel.pool.ntp.org // primary external time server server 1.rhel.pool.ntp.org // secondary time server server 127.127.1.0 // set local clock to time received from external server # Record the rate at which the system clock gains/losses time. driftfile /var/lib/chrony/drift - Save and close the file.
- Using a text editor of your choice, open the /etc/ntp/step-tickers file. The EPM uses this file for initial time setup.
- Add a line in the file
to specify the time source server names or IP addresses.
For example, if you are using the servers
0.rhel.pool.ntp.organd1.rhel.pool.ntp.org, add the following lines:0.rhel.pool.ntp.org 1.rhel.pool.ntp.org - Save and close the file.
-
Restart the
chronyddaemon by entering the systemctl restart chronyd command.The system returns:
Shutting down ntpd: [OK] Synchronizing with time server [OK] Starting ntpd: [OK]