03-14-2012 10:59 PM - edited 03-10-2019 06:54 PM
From 2011 there is no daylight saving time (DST) in Russia so ACS system time is incorrect - UTC+3, must be UTC+4.
1. We've tried to turn off DST and set manualy UTC+4 through ACS CLI but there are no required commands (like in IOS).
2. We've tried to correct timezones like for all other Linux system but there is no access to system shell.
The question is how to setup correct timezone shifting UTC+4?
03-15-2012 12:57 AM
how about SSH to the box and then :
conf t
clock timezone Etc/GMT+4
That should work normally ?
03-16-2012 12:45 AM
Nicolas,
If we just change timezone to GMT+4 that is not turn off DST. We have to change timezone GMT+4/GMT+3 twice in year when system switch to/from DST.
03-16-2012 02:28 AM
There is no way that I'm aware of to turn off DST. However, I know that some timezones don't follow DST but I'm not aware for Russia. You seem to say that this "no DST" is new in Russia ? I would think that opening a bug against ACS to modify the Russian timezone is the way to go.
03-22-2012 12:32 PM
In ACS, the timezone names match what we see in Linux /usr/share/zoneinfo.
For timezones that are offset from UTC/GMT, and do not observe DST, the syntax is ‘Etc/GMT’ +/- n:
---snip
ise-srv14/admin# show timezones | inc GMT
Etc/GMT+10
Etc/GMT+8
Etc/GMT-4
Etc/GMT-9
Etc/GMT-13
Etc/GMT+7
Etc/GMT+12
Etc/GMT+5
Etc/GMT-1
Etc/GMT-5
Etc/GMT+6
…
ise-srv14/admin# conf t
Enter configuration commands, one per line. End with CNTL/Z.
ise-srv14/admin(config)# clock timezone Etc/GMT+4
ise-srv14/admin(config)# end
ise-srv14/admin# show clock
Thu Mar 15 08:47:58 GMT+4 2012
ise-srv14/admin#
---snip
03-22-2012 01:36 PM
Thanx a lot! It works but with one correction GMT-4 (not GMT+4). Why I don't know.
11-21-2012 12:11 AM
MNenashev написал(а):
Thanx a lot! It works but with one correction GMT-4 (not GMT+4). Why I don't know.
It the standard behaviour of POSIX system.
21.4.7 Specifying the Time Zone with TZ
In POSIX systems, a user can specify the time zone by means of the TZ environment variable.
...
The offset specifies the time value you must add to the local time to get a Coordinated Universal Time value. It has syntax like [+|-]hh[:mm[:ss]]. This is _positive_ if the local time zone is _west_ of the Prime Meridian and _negative_ if it is east.
http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
11-21-2012 08:45 AM
try
no clock summer-time
12-12-2012 01:21 AM
ACS has not got the commant "clock summer-time".
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide