VMware vSphere

 View Only
  • 1.  [please Help] Timekeeping not working at all on my Esxi 55

    Posted Dec 09, 2014 12:34 PM

    Hi

    Ive an ESXi 5.5 running with severals VM clients

    I tried to freeze the start time of two VM by adding :

    tools.syncTime = "False "

    time.synchronize.continue = "FALSE "

    time.synchronize.restore = "FALSE"

    time.synchronize.resume.disk = "FALSE "

    time.synchronize.shrink = "FALSE"

    rtc.startTime = xxxxxxxxx

    time.synchronize.tools.startup = "FALSE"


    the rtc.startTime was generated with : (1418127780)

    4WebHelp - Online Tools: Unix Timestamp Converter


    Unfortunatly, when i start the Vm, it starts with the present time and not at all with the fixed past time


    I tried to read this :

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002222

    But i really do not understand this

    I also read Timekeeping-In-VirtualMachines.pdf but again it is not so clear for me because ima a beginer

    Question : to get run the timekeeping should i add something else in VMX file or in ESXi parameters ?

    PS: ive tried also to replace the "FALSE" with "0" as value

    But i obtain the same result

    Can you help me please

    May be its different because ESXi=linux ??!??

    Many thanks

    Best regards



  • 2.  RE: [please Help] Timekeeping not working at all on my Esxi 55

    Posted Dec 11, 2014 10:02 PM

    Hi Barmet,

    I'm a little unclear what you are trying to do.

    Why do you want to "freeze" the time?

    Normally the desired state is that despite the RTC of the physical server continues to run even when a VM is not recieving CPU Schedules/Slices this is corrected by

    a) syncing with the RTC via VMtools

    b) syncing with an external time source.  Domain Controller, Network Device, Radio Clock on your network or Internet Time service.

    Can you just clarify what it is you are trying to achieve please and that may help get to the answer quicker.

    Thanks

    Chris



  • 3.  RE: [please Help] Timekeeping not working at all on my Esxi 55

    Broadcom Employee
    Posted Dec 12, 2014 06:46 AM

    The guest configuration parameters in your *.vmx files should look like this:


    tools.syncTime = "FALSE"

    time.synchronize.continue = "FALSE"

    time.synchronize.restore = "FALSE"   

    time.synchronize.resume.disk = "FALSE"

    time.synchronize.shrink = "FALSE"              

    time.synchronize.tools.startup = "FALSE"       

    time.synchronize.tools.enable = "FALSE"               

    time.synchronize.resume.host = "FALSE"          

    rtc.startTime = "1404500400"                    

    Not exactly sure how you added the parameters, but some of the values on the right hand side of some of yours look

    like they contain a trailing space. You will also want to set time.synchronize.tools.enable and

    time.synchronize.resume.host too. With ESXi, the best way to add or update the parameters is to use the

    management interface. On the guest VM summary page, select "Edit Settings" and under "Advanced" look for the

    "Configuration Parameters" button. You can add rows or change the values in the pop-up dialog box.  You may

    use "0" or "FALSE" for the values.

    You didn't say what kind of guest you're running. But, obviously make sure that the guest VM isn't running 'ntpd'

    or the Windows time service. If you're still stuck, please let us know if you're shutting down the guest VM or

    suspending it,