vSphere Storage Appliance

 View Only
  • 1.  How to provide RAM from another Datastore....?

    Posted Sep 26, 2011 01:26 PM

    Dear All,

    When I try to provide the RAM to my Linux OS, It creates an equivalent file of size as the RAM, in the Data Store where vm's folder is located. Can I Provide RAM from some other Data Store?

    Thanks to every one...

    Regards

    Pravesh   



  • 2.  RE: How to provide RAM from another Datastore....?

    Posted Sep 26, 2011 01:33 PM

    Hi

    Dear All,

    When I try to provide the RAM to my Linux OS, It creates an equivalent file of size as the RAM, in the Data Store where vm's folder is located.

    The vswp file will be always created  in a folder where vmx file is located.

    Can I Provide RAM from some other Data Store?

    Could you clarify question, please ?



  • 3.  RE: How to provide RAM from another Datastore....?

    Posted Sep 26, 2011 06:54 PM

    You can define another datastore/location for snapshots and the swapfile by adding "workingDir=..:" to the VM's configuration (.vmx) file. see http://kb.vmware.com/kb/1002929

    If you are running a single host and have sufficient free physical memory/RAM you can also set the memory reservation in the VM's properties to the amount of the configured RAM. The VM' swap file size equals the configured memory minus reserved memory.

    André



  • 4.  RE: How to provide RAM from another Datastore....?

    Posted Sep 26, 2011 09:26 PM

    André Pett wrote:

    You can define another datastore/location for snapshots and the swapfile by adding "workingDir=..:" to the VM's configuration (.vmx) file. see http://kb.vmware.com/kb/1002929

    thanks Andre, I didn't know those options



  • 5.  RE: How to provide RAM from another Datastore....?

    Broadcom Employee
    Posted Sep 27, 2011 08:15 AM

    Can you find all the different methods to configure your VM swap/RAM from another Datastore @ http://kb.vmware.com/kb/1004082 .

    ~Satya

    "Award points if the answer Helps you"



  • 6.  RE: How to provide RAM from another Datastore....?

    Posted Sep 27, 2011 10:39 AM

    HI

    just to clarify: the vswp is not used as RAM while the VMkernel has enough physical RAM. This file is created at VM startup, but it's used by the kernek to swap the VM memory if : 1) physical ram is scarce 2) balloon driver didn't retrive enough VM RAM (or is not installed).

    But you can :

    - move the file for a particular VM (edit settings of VM - Options - swapfile location) this is better than changing all the working directory, because working directory is used by snapshot too.

    - move all vswp files for a particular ESX (configuration - virtual machine swapfile location) be carefull, VMotion can take longer because having to move the vswp according this parameter.

    - move all vswp files at the Cluster level (edit settings - swapfile location)

    hope it helps.

    Stéphane Grimbuhler

    Senior Virtualization & Storage consultant (VCP / VCAP-DCA)

    VMware Instructor (VCI)

    My Blog : www.virtualgeek.ch