Avatar of fosiul01
fosiul01Flag for United Kingdom of Great Britain and Northern Ireland asked on

Esxi5 time zone problem

hi
i just realized that this esxi 5 server has time problem

its automatically taking utc and its 1 hr different then current time ..

from Configuraiton->time->
correct server address and ntp is running.. but still it has the wrong time ..
and after I turn on the ntp client  on the esxi5 server there is a yellow sign in server name ..

please have a look at picture

how can i change the time to current british time ??
timeproblem.GIF
VirtualizationVMware

Avatar of undefined
Last Comment
fosiul01

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

what is the time zone on the Client?

because vSphere translates the time to that of the client.

login to the server and check time
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

check alerts on the host what is the alarm, it is unlikely to be time!
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

also is the servers hardware clock set to UTC.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

also try stopping and starting ntp clientbon server and checking NTP source
ASKER
fosiul01

Vcenter is installed on a windows 2008 server and it has right time

and  Vsphere clients is installed on windows 7 pc, and it has right time ..
which one are you saying ??
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

PC, where the client is installed.

check the server, login to console or ssh
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

any alarms in vCenter?
ASKER
fosiul01

its utc -dublin,london time ..

which is fine
but the hour is wrong ..
its something 45 min forward then original time ..
ASKER
fosiul01

this from ssh to esxi5

~ # date
Tue Mar 13 20:33:56 UTC 2012
~ #


I am connecting to vcenter via Vshpere client ..

there is not any alarm

but as soon as i enable ntp client, there is a yellwo sign , ( you can see that from picture)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

yes, Red usually means, it's not Syncing or getting a time!

should be Black
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Stop NTP, Change time on HOST, to roughly correct time, and then start NTP.
ASKER
fosiul01

but how do you change the time in esxi server??
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

~ # date --help
BusyBox v1.9.1-VMware-visor-6030 (2011-02-15 14:57:41 PST) multi-call binary

Usage: date [OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]

Display current time in the given FORMAT, or set system date

Options:
        -R              Outputs RFC-822 compliant date string
        -d STRING       Displays time described by STRING, not 'now'
        -I[TIMESPEC]    Outputs an ISO-8601 compliant date/time string
                        TIMESPEC='date' (or missing) for date only,
                        'hours', 'minutes', or 'seconds' for date and
                        time to the indicated precision
        -D hint         Use 'hint' as date format, via strptime()
        -s STRING       Sets time described by STRING
        -r FILE         Displays the last modification time of FILE
        -u              Prints or sets Coordinated Universal Time
ASKER
fosiul01

ok i changed the time manually

then started ntp ..
its not red any more..

does it mean.. its getting time from time serveR??
i guess no ..
is not it ?
ASKER
fosiul01

thats odd
chaning date from Vshpere client  does not effect on server

let me try from command line
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER
fosiul01

it does.. sorry ... my head is not straight

but how will i know that its actually getting time from ntp server??
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

you need to check ntp server, first with software.....

make sure firewalls ports are open, check logs
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

on a windows server you can use

w32tm /stripchart /computer:<time server> /samples:5 /dataonly
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
fosiul01

ok problem is
after i enable ntp..
the yellow sign is not going ??

how to remove that yellow sign?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

is the time still displayed in RED?

did you check yout time source?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

can the ESXi 5.0 server ping the time server?

ntp server is not blocked?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

try another time server?
ASKER
fosiul01

yes , i just tryed a internal ntp server

and other debian server they can get time from this server.,..

and this esxi is in same network and it can ping to that server...
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

is it just this single ESXi server : restart it
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

is it still Displayed as RED?
ASKER
fosiul01

no, its gone to black now

i have restarted couple of times..
still its same ...
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

check /var/log/syslogs.log, this is where ntp info is stored.

correct time?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

ASKER
fosiul01

look at the log

2012-03-13T21:10:03Z ntpd[4813]: ntpd exiting on signal 1
2012-03-13T21:10:06Z root: ntpd Starting ntpd
2012-03-13T21:10:06Z ntpd[4830]: ntpd 4.2.6p2@1.2194-o Tue Mar 15 09:36:00 UTC 2011 (1)
2012-03-13T21:10:06Z ntpd[4834]: proto: precision = 0.584 usec
2012-03-13T21:10:06Z ntpd[4834]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
2012-03-13T21:10:06Z ntpd[4834]: Listen normally on 1 lo0 127.0.0.1 UDP 123
2012-03-13T21:10:06Z ntpd[4834]: Listen normally on 2 vmk0 192.0.0.61 UDP 123


to me, i think its working fine ...

but why i am seeing that sign.. there is not any alarm or anything
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

if this is ESXi 5.0 phantom alarms, which is a bug.

if no alarms are present in the alarms, or Summary page.

e.g. if you enable ssh you get a warning!

to my knowlegde NTP does not give a warning or alert other than state stopped, started or appear in RED.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

also HA failover, HA lack of datastores, gives a warning in Summary Page, but is not listed as an alarm.

Check Events, Tasks, Alarm, Summary page for host.
ASKER
fosiul01

ok because ssh was enabled it was giving that warning

after turned off ssh, the sign gone off!!


i was watching tcmpdum output ..
its looks to me its working
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

red hearing.......!!!

its damn annoying that Warnings now trigger Yellow Triangles, and its not listed in Alarms!

because technically its not an alarm, so VMware state, its a Warning!

I have an article to surpress....l.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
fosiul01

thanks you very much for your help so far .. and  helping me a lot to learn vmware ..