Difference between revisions of "Ubuntu HPC NTP server setup on master node"
From Notes_Wiki
(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...") |
m |
||
Line 24: | Line 24: | ||
#:</pre> | #:</pre> | ||
#: We should see at least one server with st value less than 16 (Preferably less than 6). | #: We should see at least one server with st value less than 16 (Preferably less than 6). | ||
#: In the ntpq -p output first we may see list of pools. The servers from the pool get listed later. It takes a while for pool list to populate. | |||
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with openpbs and openmpi|HPC setup with openpbs and openmpi]] > [[Ubuntu HPC NTP server setup on master node|NTP server setup on master node]] | [[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with openpbs and openmpi|HPC setup with openpbs and openmpi]] > [[Ubuntu HPC NTP server setup on master node|NTP server setup on master node]] |
Revision as of 04:30, 23 February 2023
Home > Ubuntu > HPC setup with openpbs and openmpi > NTP server setup on master node
- Install ntp package
- apt install -y ntp ntpdate
- Edit '/etc/ntp.conf' file and append time.google.com server as follows:
- server time.google.com
- Set correct time on current system using:
- ntpdate -b time.google.com
- Start and enable ntp service
- systemctl start ntp
- systemctl enable ntp
- 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).
- In the ntpq -p output first we may see list of pools. The servers from the pool get listed later. It takes a while for pool list to populate.
Home > Ubuntu > HPC setup with openpbs and openmpi > NTP server setup on master node