Book Image

Windows Server 2012 Hyper-V Cookbook

By : Leandro Eduardo S Carvalho, Leandro Carvalho
Book Image

Windows Server 2012 Hyper-V Cookbook

By: Leandro Eduardo S Carvalho, Leandro Carvalho

Overview of this book

Virtualization has proved that it can help organizations to reduce costs, and the Private Cloud has created a revolution in the way we manage and control our servers with centralization and elasticity. The new Windows Server 2012 Hyper-V release from Microsoft comes with a myriad of improvements in areas such as mobility, high availability and elasticity, bringing everything you need to create, manage and build the core components of a Microsoft Private Cloud for virtualized workloads."Windows Server 2012 Hyper-V Cookbook" is the perfect accompaniment for Hyper-V administrators looking to take advantage of all the exciting new features the release has to offer. Through practical recipes, you'll master Hyper-V deployment, migration and management. "Windows Server 2012 Hyper-V Cookbook" is an essential resource for any Hyper-V administrator looking to migrate, install and manage their virtual machine efficiently. With all the features of Windows Server 2012 Hyper-V covered, you will learn everything from installation to disaster recovery, security, high availability, configuration, automation, architecture and monitoring, all in a practical recipe format. The book also includes new features such as Storage and Shared Nothing Live Migration, Hyper-V Replica and Network Virtualization and much more.With "Windows Server 2012 Hyper-V Cookbook" in hand, you'll be equipped to manage your Private Cloud with ease.
Table of Contents (18 chapters)
Windows Server 2012 Hyper-V Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up dynamic memory for virtual machines


Sometimes, it is hard to know how much memory a virtual machine needs. Even when capacity planning is performed, the Virtual Machine (VM) will never use the full memory specification, resulting in poor memory utilization and a loss of resources.

Windows Server 2008 R2 SP1 introduced a new feature Dynamic Memory (DM) that allows the memory on the host server to be shared with the virtual machines using a method called Ballooning. Ballooning ensures that the VMs use only the memory that they need and releases it back to the host if another VM requires more memory. This allows the memory in the parent partition to be reallocated automatically through the VMs, increasing or decreasing it, based on the current workload.

Let's use an example of a VM with a database server that was installed and configured to use 16 GB of memory. That is the value that you got from the planning phase. The problem is that the database server will only use 16 GB when...