Regarding this, how do I know if chrony is working?
To check if chrony is synchronized, use the tracking, sources, and sourcestats commands. Run the chronyc tracking command to check chrony tracking. Alternatively you could run chronyc to display a chronyc> prompt, and then run the tracking command from the chronyc> prompt.
Similarly, what port does chrony use? UDP port 323
Moreover, how do I start chrony service?
chronyd – daemon that can be started at boot time.
Configure Chrony in Linux
- server – this directive used to describe a NTP server to sync from.
- stratumweight – how much distance should be added per stratum to the sync source.
- driftfile – location and name of the file containing drift data.
How do you sync chrony?
Manual NTP Configuration
- Install the chrony package. # yum install chrony.
- Edit the /etc/chrony.
- Start the chronyd service and configure it to start following a system reboot.
- Verify that chronyd is accessing the correct time sources.
- Ensure that the time is synchronized on all nodes.