Ubuntu HPC NTP client setup on compute nodes

From Notes_Wiki
Revision as of 04:32, 23 February 2023 by Saurabh (talk | contribs) (Created page with "Home > Ubuntu > HPC setup with openpbs and openmpi > NTP client setup on compute nodes To configure client nodes to take their time update from master use: #Install ntp package #:<pre> #:: apt install -y ntp ntpdate #:</pre> #Edit '<tt>/etc/ntp.conf</tt>' file and '''keep only master server''' as follows: #:<pre> #:: server master prefer iburst #:</pre> # Se...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Ubuntu > HPC setup with openpbs and openmpi > NTP client setup on compute nodes

To configure client nodes to take their time update from master use:

  1. Install ntp package
    apt install -y ntp ntpdate
  2. Edit '/etc/ntp.conf' file and keep only master server as follows:
    server master prefer iburst
  3. Set correct time on current system using:
    ntpdate -b master
  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 time getting synced with master with st value much less than 16.




Home > Ubuntu > HPC setup with openpbs and openmpi > NTP client setup on compute nodes