Difference between revisions of "Ubuntu HPC NTP client setup on compute nodes"

From Notes_Wiki
(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...")
 
m
 
Line 12: Line 12:
# Set correct time on current system using:
# Set correct time on current system using:
#:<pre>
#:<pre>
#:: systemctl stop ntp
#:: ntpdate -b master
#:: ntpdate -b master
#:</pre>
#:</pre>

Latest revision as of 04:53, 23 February 2023

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