VMware Global Community
aceup2u
Contributor
Contributor

ESXi 服务器貌似重启


现象: 虚拟机意外关机,

问题: 怀疑 ESXi服务器重启,

异常:ESXi  中的系统时间比正常慢8小时,

          ESXi  中的日志没有重启之前的,

有哪位同学遇到过这种情况或者知道什么原因的吗??求教。。。

Reply
0 Kudos
9 Replies
wjsinny
Contributor
Contributor

我认为这应该是时区问题,中国在 东八区,所以差八小时

Reply
0 Kudos
AnthonyChow
Hot Shot
Hot Shot

Are you in a production or test environment?  Use NTP to syncrhronize the time.

Reply
0 Kudos
aceup2u
Contributor
Contributor

时间不对 会造成 服务器重启吗??

Reply
0 Kudos
aceup2u
Contributor
Contributor

非常感谢,

但是时间不同步会造成服务器 重启吗??

Reply
0 Kudos
zhangtong3910
VMware Employee
VMware Employee

ESXi 不支持时区的设置。如果是在GMT+8时区,有偏差是正常的。

关于syslog,可以检查syslog是否设置在一个vmfs中,这样能够保存更多的log文件。

Reply
0 Kudos
zhangtong3910
VMware Employee
VMware Employee

不会

Reply
0 Kudos
admin
Immortal
Immortal

Hi  aceup2u

1. 關於 esxi 時區部分,基本上如果在中國,都是差八小時,可以用 vsphere client 去調整時間,但是你在 esxi 上還是會以 UTC 顯示。

2. 至於時區跟重啟理論上是沒有關係的。

3.如果要確認機器是否有重新啟動,可以使用 ssh login to esxi , 執行 uptime ,就可以知道最後一次重啟的時間了

~ # uptime
23:25:05 up 2 days, 23:02:53, load average: 0.09, 0.09, 0.09

Reply
0 Kudos
aceup2u
Contributor
Contributor

谢谢帮忙解答,

虽然找不到重启会跟时间有关系,但是自从时间改正确以后,至今未出现过重启的情况。

求官方解释!!

Reply
0 Kudos