how to add ram and storage  dynamically in virtual machine   hosted in Microsoft Hypher -V  2008 r2

Posted on 2011-09-06
Last Modified: 2013-11-11
how to add ram and storage  dynamically in virtual machine   hosted in Microsoft Hypher -V  2008 r2
Deleted the WAP Zone and added the Hypervisor Zone instead.

EE ZA Storage

Open in new window

Question by:greensuman
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 36493756
I am a bit sure what you are trying to do. Do you want to change storage space and ram size while the virtual machine is running?

Storage space should be OK as you can create a "Dynamically expanding" VHD. You can chose this upon creation of the VHD.

As to the RAM; as far as I know you cannot change this while the machine is running..
LVL 18

Expert Comment

ID: 36494171

To do this, you need to shutdown the VM, go to Hyper V manager and re-assign resources and start up the VM again. With adding storage you will need to right click the VM and need to choose Edit Disk. See the following link on how to expand your hard drive for your VM:

Depending on your guest OS, it should show up the correct RAM values, unless it is a 32bit OS in which case it'll be capped at 4GB.

Hope this helps.
LVL 42

Expert Comment

ID: 36494218
You can hot add a VHD to the SCSI controller on a VM if you configured the VM to have a virtual synthetic SCSI controller. You can also add iSCSI storage to a VM if you use the iSCSI initiator in the OS. Those are the only two ways to dynamically (hot add) storage that I am aware of while the VM is running.

As for RAM, you can only change RAM assignment when the VM is off. You can give the VM either a fixed amount of RAM or a range, which Microsoft calls Dynamic Memory. Modern Windows OS can use what is called a balloon driver to ask for and get more RAM from the Hypervisor when more RAM is needed.  

Accepted Solution

jbvernej earned 500 total points
ID: 36511267

You also need to install the Service Pack 1 of W2008R2 on your Windows 2008 R2 hyperV host to add new features in HyperV like
- "Dynamic Memory Allocation"
- remote FX, etc...

Once Sp1 applied on host, you need to upgrade in each VM the "HyperV's Integration services" to update VM drivers.
Then shutdown the updated VM and change settings to move to "Dynamic Allocation of Memory" (type Min and MAx values of RAM you want for your VM)
Start the VM and it will use dynamic memory allocation

BUT there is no "HOT-ADD" or "ONLINE" feature for adding RAM in VM.

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question