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...")
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
- apt install -y ntp ntpdate
- Edit '/etc/ntp.conf' file and keep only master server as follows:
- server master prefer iburst
- Set correct time on current system using:
- ntpdate -b master
- Start and enable ntp service
- systemctl start ntp
- systemctl enable ntp
- 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