King David asked:
We have 16 Linux RHEL 7.5 servers in a cluster and servers are sync with crony service to NTP server
We have two questions
How to know if DST is configured on our servers?
How to disable the DST on our Redhat Enterprise Linux 7 servers?
You don’t disable DST per se, you set the desired time zone, and you get DST if the time zone has DST.
You can check the configured time zone with
If your timezone has DST you’ll see something like this:
[[email protected] ~]# timedatectl Local time: Sat 2020-06-20 18:27:30 EDT Universal time: Sat 2020-06-20 22:27:30 UTC RTC time: Sat 2020-06-20 22:27:30 Time zone: America/New_York (EDT, -0400) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: yes Last DST change: DST began at Sun 2020-03-08 01:59:59 EST Sun 2020-03-08 03:00:00 EDT Next DST change: DST ends (the clock jumps one hour backwards) at Sun 2020-11-01 01:59:59 EDT Sun 2020-11-01 01:00:00 EST
Otherwise you’ll see something like this:
[[email protected] ~]# timedatectl Local time: Sat 2020-06-20 22:26:50 GMT Universal time: Sat 2020-06-20 22:26:50 UTC RTC time: Sat 2020-06-20 22:26:50 Time zone: Etc/GMT (GMT, +0000) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: n/a
To change the time zone, use
timedatectl set-timezone ZONE, where ZONE is a valid zoneinfo zone. For example:
# timedatectl set-timezone Europe/Kiev
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.