Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
redhat:time-services-redhat:start [2017/10/03 14:49] – [Zeit Synchronisation mit cronyd] michael | redhat:time-services-redhat:start [2018/05/29 14:50] – michael | ||
---|---|---|---|
Line 2: | Line 2: | ||
Dieser Artikel behandelt die Installation, | Dieser Artikel behandelt die Installation, | ||
+ | |||
+ | {{: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
Line 78: | Line 80: | ||
<wrap em> | <wrap em> | ||
- | * **Chrony Installieren** < | + | * **Chrony Installieren** < |
- | * **Konfiguration bearbeiten und korrekte Zeitserver ergänzen!**< | + | * **Konfiguration bearbeiten und korrekte Zeitserver ergänzen!**< |
+ | # Use public servers from the pool.ntp.org project. | ||
+ | # Please consider joining the pool (http:// | ||
+ | server 0.ch.pool.ntp.org iburst | ||
server 1.ch.pool.ntp.org iburst | server 1.ch.pool.ntp.org iburst | ||
server 2.ch.pool.ntp.org iburst | server 2.ch.pool.ntp.org iburst | ||
server 3.ch.pool.ntp.org iburst | server 3.ch.pool.ntp.org iburst | ||
- | ..</ | ||
- | | + | # Record the rate at which the system clock gains/ |
+ | driftfile / | ||
+ | |||
+ | # Allow the system clock to be stepped in the first three updates | ||
+ | # if its offset is larger than 1 second. | ||
+ | makestep 1.0 3 | ||
+ | |||
+ | # Enable kernel synchronization of the real-time clock (RTC). | ||
+ | rtcsync | ||
+ | |||
+ | # Enable hardware timestamping on all interfaces that support it. | ||
+ | # | ||
+ | |||
+ | # Increase the minimum number of selectable sources required to adjust | ||
+ | # the system clock. | ||
+ | #minsources 2 | ||
+ | |||
+ | # Allow NTP client access from local network. | ||
+ | #allow 192.168.0.0/ | ||
+ | |||
+ | # Serve time even if not synchronized to a time source. | ||
+ | #local stratum 10 | ||
+ | |||
+ | # Specify file containing keys for NTP authentication. | ||
+ | #keyfile / | ||
+ | |||
+ | # Specify directory for log files. | ||
+ | logdir / | ||
+ | |||
+ | # Select which information is logged. | ||
+ | #log measurements statistics tracking | ||
+ | |||
+ | </ | ||
+ | |||
+ | | ||
# firewall-cmd --reload </ | # firewall-cmd --reload </ | ||
* **Chrony starten & enablen** < | * **Chrony starten & enablen** < | ||
Line 92: | Line 130: | ||
* <wrap em> | * <wrap em> | ||
* **Testen und anzeigen der aktuellen Zeit:** < | * **Testen und anzeigen der aktuellen Zeit:** < | ||
- | [root@vstif2 ~]# timedatectl | + | |
- | Local time: Mon 2017-08-14 09:18:10 CEST | + | Universal time: Tue 2017-10-03 12:57:27 UTC |
- | | + | RTC time: Tue 2017-10-03 12:57:27 |
- | RTC time: Mon 2017-08-14 07:18:10 | + | |
- | Time zone: Europe/ | + | |
- | NTP enabled: yes | + | |
NTP synchronized: | NTP synchronized: | ||
RTC in local TZ: no | RTC in local TZ: no | ||
- | DST active: yes | + | |
Last DST change: DST began at | Last DST change: DST began at | ||
- | Sun 2017-03-26 01:59:59 CET | + | |
- | Sun 2017-03-26 03:00:00 CEST | + | Sun 2017-03-26 03:00:00 CEST |
Next DST change: DST ends (the clock jumps one hour backwards) at | Next DST change: DST ends (the clock jumps one hour backwards) at | ||
- | Sun 2017-10-29 02:59:59 CEST | + | |
- | Sun 2017-10-29 02:00:00 CET | + | Sun 2017-10-29 02:00:00 CET |
</ | </ | ||