Disable time synchronization of VMware virtual machines to host

Source: Internet
Author: User
Tags local time

Disable time synchronization of VMware virtual machines to host

1. Check to see if VMware Tools is installed on the virtual machine and, if installed, remove the "options" in the VMware Tools Properties window and "Other options" in front of "virtual machine versus host OS Time synchronization (T)" and click OK.

2. Turn off the virtual machine (shutdown, not hibernate), and turn off VMware Workstation.

3. See if there are services in the host that have the name "VMware Tools Service" and, if so, disable the service.

4. Use Notepad to open the. vmx file, such as "F:/my Virtual machines/red hat Enterprise Linux 4/red hat Enterprise Linux 4.vmx"

5. Change the value of the following configuration item to FALSE

[JavaScript]View PlainCopy
    1. Tools.synctime = "FALSE"
    2. Time.synchronize. continue = "FALSE"
    3. Time.synchronize.restore = "FALSE"
    4. Time.synchronize.resume.disk = "FALSE"
    5. Time.synchronize.shrink = "FALSE"
    6. Time.synchronize.tools.startup = "FALSE"

6. If you need to set the startup time of the virtual machine, modify the value of the configuration item rtc.starttime, which is the number of seconds from January 1, 1970 0:0 0 seconds to the current time.

For example, after you set the value of Rtc.starttime to 1218182888, the virtual machine's time will be set to August 8, 2008 8:8 8 seconds after the VM is restarted.

[JavaScript]View PlainCopy
    1. Rtc.starttime = 1218182888


You can convert a time to a UNIX timestamp from this URL: http://www.onlineconversion.com/unix_time.htm

7. Run the VMware Workstation and start the virtual machine.

Attached 1: If it is Virtual PC 2007, open the. vmc file (the configuration file for Virtual PC 2007) with Notepad, and change the value of <enabled> below

[XHTML]View PlainCopy
  1. <integration>
  2. <Microsoft>
  3. Then add the following codes
  4. <components>
  5. <host_time_sync>
  6. <enabled type="boolean">false</enabled>
  7. </host_time_sync>
  8. </Components>
  9. ...... ......

Attached 2: Description of several configuration items modified in the. vmx file (refer to Http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf on page 17th):

tools.synctime If set to TRUE, the clock syncs peri Odically.
time.synchronize.continue If set to TRUE, the clock syncs after taking a Snapshot.
time.synchronize.restore If set to TRUE, the clock syncs after reverting To a snapshot.
time.synchronize.resume.disk If set to TRUE, the clock syncs after Resumi Ng from suspend and after migrating to a new host using the VMware vMotion feature.
time.synchronize.shrink If set to TRUE, the clock syncs after Defragmenti ng a virtual disk.
time.synchronize.tools.startup If set to TRUE, the clock syncs when the T Ools Daemon.

The following is referenced on page 8th of Http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf
You can also force the CMOS TOD clock-to-start at a-specified time whenever the virtual machine was powered on, independent of the real time. To does this, set the configuration file option rtc.starttime. The value you specify are in seconds since Jan 1, 1970 00:00 UTC, but it's converted to the local time zone of the host OP Erating system before setting the CMOS TOD clock (under the assumption that the guest operating system requires the CMOS T OD clock to read in local time). If your guest operating system is running the CMOS TOD clock in UTC or some other time zone, you should correct for this W Hen setting rtc.starttime.

Disable time synchronization of VMware virtual machines to host

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.