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?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityYou 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 timedatectl
.
If your timezone has DST you'll see something like this:
[root@stonard ~]# 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:
[root@farshire ~]# 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
tzdata
package which you can update with yum
.
Jun 20, 2020 at 22:34
tzdata
package, then you might have wrong dates for daylight saving.
Jun 20, 2020 at 22:37
tzdata
package up to date.
Jun 20, 2020 at 22:44
tzdata
whenever an update affecting your time zone(s) appears.
Jun 20, 2020 at 23:15
yael