Ubuntu HPC NTP server setup on master node

From Notes_Wiki
Revision as of 04:26, 23 February 2023 by Saurabh (talk | contribs) (Created page with "Home > Ubuntu > HPC setup with openpbs and openmpi > NTP server setup on master node #Install ntp package #:<pre> #:: apt install -y ntp ntpdate #:</pre> #Edit '<tt>/etc/ntp.conf</tt>' file and append time.google.com server as follows: #:<pre> #:: server time.google.com #:</pre> # Set correct time on current system using: #:<pre> #:: ntpdate -b time.google.com...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  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:
    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).


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