Ubuntu HPC NTP client setup on compute nodes

From Notes_Wiki
Revision as of 04:53, 23 February 2023 by Saurabh (talk | contribs)
(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:
    systemctl stop ntp
    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