Ubuntu HPC NTP server setup on master node

From Notes_Wiki

Home > Ubuntu > HPC setup with openpbs and openmpi > NTP server setup on master node

Configure NTP on master with master taking its time from global pool of ntp servers:

  1. Install ntp package
    apt install -y ntp ntpdate
  2. Edit '/etc/ntp.conf' file and append time.google.com server as follows:
    server time.google.com
  3. Set correct time on current system using:
    systemctl stop ntp
    ntpdate -b time.google.com
  4. Start and enable ntp service
    systemctl start ntp
    systemctl enable ntp
  5. Check status of ntp service
    systemctl status ntp
    ntpq -p
    We should see at least one server with st value less than 16 (Preferably less than 6).
    In the ntpq -p output first we may see list of pools. The servers from the pool get listed later. It takes a while for pool list to populate.


Home > Ubuntu > HPC setup with openpbs and openmpi > NTP server setup on master node