Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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…

670 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