Solved

Esxi5 time zone problem

Posted on 2012-03-13
35
1,745 Views
Last Modified: 2012-03-26
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
0
Comment
Question by:fosiul01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 22
  • 13
35 Comments
 
LVL 121
ID: 37716844
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
0
 
LVL 121
ID: 37716851
check alerts on the host what is the alarm, it is unlikely to be time!
0
 
LVL 121
ID: 37716858
also is the servers hardware clock set to UTC.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 121
ID: 37716865
also try stopping and starting ntp clientbon server and checking NTP source
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716867
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 ??
0
 
LVL 121
ID: 37716877
PC, where the client is installed.

check the server, login to console or ssh
0
 
LVL 121
ID: 37716883
any alarms in vCenter?
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716887
its utc -dublin,london time ..

which is fine
but the hour is wrong ..
its something 45 min forward then original time ..
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716895
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)
0
 
LVL 121
ID: 37716898
yes, Red usually means, it's not Syncing or getting a time!

should be Black
0
 
LVL 121
ID: 37716917
Stop NTP, Change time on HOST, to roughly correct time, and then start NTP.
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716932
but how do you change the time in esxi server??
0
 
LVL 121
ID: 37716946
~ # 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
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716952
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 ?
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716962
thats odd
chaning date from Vshpere client  does not effect on server

let me try from command line
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37716966
it does.. sorry ... my head is not straight

but how will i know that its actually getting time from ntp server??
0
 
LVL 121
ID: 37716972
you need to check ntp server, first with software.....

make sure firewalls ports are open, check logs
0
 
LVL 121
ID: 37716979
on a windows server you can use

w32tm /stripchart /computer:<time server> /samples:5 /dataonly
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37717256
ok problem is
after i enable ntp..
the yellow sign is not going ??

how to remove that yellow sign?
0
 
LVL 121
ID: 37717269
is the time still displayed in RED?

did you check yout time source?
0
 
LVL 121
ID: 37717273
can the ESXi 5.0 server ping the time server?

ntp server is not blocked?
0
 
LVL 121
ID: 37717285
try another time server?
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37717324
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...
0
 
LVL 121
ID: 37717329
is it just this single ESXi server : restart it
0
 
LVL 121
ID: 37717332
is it still Displayed as RED?
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37717337
no, its gone to black now

i have restarted couple of times..
still its same ...
0
 
LVL 121
ID: 37717350
check /var/log/syslogs.log, this is where ntp info is stored.

correct time?
0
 
LVL 121
ID: 37717353
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37717365
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
0
 
LVL 121
ID: 37717381
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.
0
 
LVL 121
ID: 37717384
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.
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37717396
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
0
 
LVL 121
ID: 37717460
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.
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37717468
0
 
LVL 29

Author Comment

by:fosiul01
ID: 37717476
thanks you very much for your help so far .. and  helping me a lot to learn vmware ..
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question