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

Putting an ESXi host into maintenance


This recipe describes what to do if one of your ESXi Servers needs maintenance.

Getting ready

We need a vCloud environment with deployed VMs as well as access to vCenter.

How to do it...

  1. Log in to vCloud as SysAdmin.

  2. Navigate to Manage & Monitor | Hosts.

  3. Right-click on the ESXi host and select Disable Host.

  4. Have a look at the column Total VMs. If the value is zero, you can skip the next step.

  5. Right-click on the ESXi Server again and select Redeploy All VMs as shown in the following screenshot:

  6. Accept the warning.

  7. Using vMotion, vCloud will now move the VMs from this ESXi to other ESXis in the cluster.

  8. Log in to vCenter using the web client.

  9. Navigate to vCenter | Hosts as Clusters.

  10. Expand the cluster and click on the ESXi you want to put into maintenance.

  11. Right-click on the ESXi and select Enter Maintenance Mode.

  12. Make sure that in the pop-up window, the option Move powered-off and suspended VMs to other hosts in the cluster is checked. Click on Yes.

  13. If DRS is not...