本文介绍了如何保持 VMWare VM 的时钟同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到我们的 VMWare 虚拟机上的时间经常不正确.无论我重置多少次,它们都会继续不同步.

I have noticed that our VMWare VMs often have the incorrect time on them. No matter how many times I reset the time they keep on desyncing.

有没有其他人注意到这一点?其他人如何保持他们的 VM 时间同步?

Has anyone else noticed this? What do other people do to keep their VM time in sync?

顺便说一下,这些是 CLI linux VM.

These are CLI linux VMs btw..

推荐答案

如果你的主机时间正确,你可以设置以下 .vmx 配置文件选项来启用定期同步:

If your host time is correct, you can set the following .vmx configuration file option to enable periodic synchronization:

tools.syncTime = true

默认情况下,这会每分钟同步一次时间.要更改周期速率,请将以下选项设置为所需的同步时间(以秒为单位):

By default, this synchronizes the time every minute. To change the periodic rate, set the following option to the desired synch time in seconds:

tools.syncTime.period = 60

为此,您需要在来宾操作系统中安装 VMWare 工具.

For this to work you need to have VMWare tools installed in your guest OS.

请参阅http://www.vmware.com/pdf/vmware_timekeeping.pdf了解更多信息

这篇关于如何保持 VMWare VM 的时钟同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 15:36