DWP - Making sure server's date/time are in sync across tthe environment.

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Digital Workplace Advanced


    APPLIES TO:

    RHEL, Windows Server 2012, CentOS DWP Catalog



    QUESTION:

    How can I make sure all my servers date/time are in sycn?


    ANSWER:

    To make sure servers are synced up, configure NTP:

    https://en.wikipedia.org/wiki/Network_Time_Protocol

    LINUX

    Below is an example on How to Configure a NTP Server on Linux Servers.

    On this example, I'm connecting to NTP Server in Mexico/North America and changing the Time Zone to CST -6 (Mexico City)


    1.- Install NTP

     
      yum install ntp
      
    2.- Edit NTP Config File and point it to the desired NTP Servers
     
      
      vi /etc/ntp.conf
           
       Add these lines anywhere
     
         
      server 1.mx.pool.ntp.org
    server 3.north-america.pool.ntp.org
    server 1.north-america.pool.ntp.org
     
         
      2.1-  Start NTP Server; make sure it run at system start and confirm status by running below
     
         
      systemctl start ntpd; systemctl enable ntpd; systemctl status ntpd
      
    3.- Force NTP to use above servers by running
     
      
      ntpdate -q  server 1.mx.pool.ntp.org server 1.north-america.pool.ntp.org server 3.north-america.pool.ntp.org
      
    4.- Change RHEL Time Zone to CST Time as below   
     
      timedatectl set-timezone  America/Mexico_City
      
    5.- Refresh NTP Date and Time
     
      
      timedatectl set-ntp yes
         

     


    Article Number:

    000184606


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles