Go Premium for a chance to win a PS4. Enter to Win


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

Posted on 2011-09-06
Medium Priority
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

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: http://social.technet.microsoft.com/wiki/contents/articles/266.aspx

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 2000 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


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

927 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