NTP (Network Time Protocol) is a protocol to synchronize the clocks between various computers (read more at its WIkipedia page). In the CSL we currently run one NTP server: agni.
To sync to the CSL's NTP server, use the following configuration file in
/etc/systemd/timesyncd.conf (for Ubuntu)
To apply the changes, run
systemctl restart systemd-timesyncd. You can see the current time by running
timedatectl status. All machines in the CSL should be synchronized to the NTP server.
systemctl status sytemd-timesyncd is complaining about being unable to reach the NTP server. What should I do?
Make sure that you can reach the server's NTP ports. Running
nc agni.csl.tjhsst.edu 13 should return the current time. If it does not connect, something is wrong with the machine's connection to agni.