vCenter

 View Only
  • 1.  the virtual machine swap file location

    Posted Nov 18, 2009 01:17 PM

    Hi,

    I recently updated our vmware environment from esx 3.5 u4 and virtual center 2.5 u4 to esx 4 and vcenter 4.

    Since then when we restart the virtual center service (I am pretty sure this is the cause of the issue), the virtual machine swap file location (on each esx host)which was set to a dedicated nfs datastore is back resetted to the default location with non specified.

    Our HA cluser is set for the swap file location to "Store the swapfile in the datastore specified by the host".

    Anyone any idea what is causing this issue?

    Thanks very much.

    Regards,

    JB



  • 2.  RE: the virtual machine swap file location
    Best Answer

    Posted Nov 19, 2009 08:01 AM

    Hi,

    It's a confirmed bug in vCenter and should be fixed in the next update due sometime this year: http://www.b3rg.nl/blog/blog-it/bug-swap-datastore-is-unset.html

    If you're familiar with PowerCLI you can use this oneliner whenever it happens: Get-VMHost | Set-VMHost –VMSwapfileDatastore ”<datastore-name>”

    That line will set the specified datastore as swapfile datastore on all your hosts connected to vCenter.