Skip to content

Commit

Permalink
Add iburst option to chrony config and copy config to /etc/chrony/
Browse files Browse the repository at this point in the history
  • Loading branch information
Zareen Choudhury committed Jan 24, 2018
1 parent c083375 commit b19a14d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ See the [Canopy docs](http://canopy-docs.readthedocs.io/en/latest/client-docs.ht
## Clock Synchronization
This section describes the _client-side_ instructions for synchronizing the clocks of your Canopy clients and the Canopy server using `chrony`.

Install chrony:
Install chrony and copy the configuration file to `/etc/chrony`:
```
sudo apt-get install chrony
sudo cp chrony_canopy_client.conf /etc/chrony
```

Modify the chrony configuration file `chrony_canopy_client.conf` to reflect your Canopy server's IP address:
Modify the chrony configuration file `/etc/chrony/chrony_canopy_client.conf` to reflect your Canopy server's IP address:
```
# chrony_canopy_client.conf
# /etc/chrony/chrony_canopy_client.conf
server 128.31.37.168
...
```

Restart chrony with this configuration file:
```
sudo chronyd -f <absolute_path_to_config_file>/chrony_canopy_client.conf -r -s
sudo chronyd -f /etc/chrony/chrony_canopy_client.conf -r -s
```
2 changes: 1 addition & 1 deletion chrony_canopy_client.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# To synchronize client to server, uncomment line below and replace IP with server's IP:
# server 123.123.12.12
# server 123.123.12.12 iburst

maxupdateskew 5

Expand Down

0 comments on commit b19a14d

Please sign in to comment.