Print

Configuring the Primary EPM server to point to an external time source

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

  1. 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.

  2. Open the /etc/chrony.conf file in an ASCII text editor.
  3. 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/drift

    Where xxxx and yyyy are either server names or IP addresses of the external time servers you want to use.

    noteNote:

    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.org and 1.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
  4. Save and close the file.
  5. Using a text editor of your choice, open the /etc/ntp/step-tickers file. The EPM uses this file for initial time setup.
  6. 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.org and 1.rhel.pool.ntp.org, add the following lines:

    0.rhel.pool.ntp.org
    1.rhel.pool.ntp.org
  7. Save and close the file.
  8. Restart the chronyd daemon by entering the systemctl restart chronyd command.

    The system returns:

    Shutting down ntpd: [OK]
    Synchronizing with time server [OK]
    Starting ntpd: [OK]