Book Image

VMware vCloud Director Cookbook

By : Daniel Langenhan
Book Image

VMware vCloud Director Cookbook

By: Daniel Langenhan

Overview of this book

VMware vCloud Director is an enterprise software solution that enables the building of secure, private clouds by pooling together infrastructure resources into virtual data centers. The tool enables self-service via a web interface to reduce the management overhead and offers amazing possibilities for production and development environments. Thus, the tool will ensure efficient management of resources with data center efficiency and business agility. "VMWare VCloud Director Cookbook" will cover a lot of ground, ranging from easy to complex recipes. It will not only dive into networks, data-stores, and vApps, but also cover vCloud design improvements, troubleshooting, and the vCloud API. "VMWare VCloud Director Cookbook" is split into different sections, each of which deals with a special topic in vCloud - from networks, to vApps, to storage and design. This book contains over 80 recipes with the difficulty levels ranging from simple to very advanced. You will learn how to automate vCloud easily and quickly with the API, and also learn how to isolate a vApp and still fully access it without risking the network. Design considerations that need to be addressed while deploying the vCloud and more will also be looked into. "VMWare VCloud Director Cookbook" will make your life as an admin a lot easier by providing you with some good recipes that have been proven to work in small to large enterprises.
Table of Contents (16 chapters)
VMware vCloud Director Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Appendix
Index

Resizing a VM hard disk


This recipe shows you how to resize a hard disk of a VM in vCloud.

Getting ready

We need a VM that we can resize.

How to do it...

Depending on the way the VM has been provisioned, the resizing is different.

Not fast-provisioned VMs

If your VM has to be provisioned on an OvDC that is not enabled for fast provisioning, the following recipe works with a powered on VM:

  1. Log in to your organization.

  2. Click on My Cloud and then double-click on the vApp that contains the VM you want to resize.

  3. Right-click on the VM whose hard disk you want to resize and select Properties.

  4. Click on Hardware, and you should see the following screenshot:

  5. Enter a new size that is larger than the original one (you cannot make the hard disk smaller).

  6. Click on OK.

  7. Wait until the task has finished.

  8. Now you just need to change the size of the partitions in the operating system.

Fast-provisioned VMs

VMs that have been provisioned in an OvDC configured with fast provisioning are not able to be resized. Even in vSphere...