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

Recovering from an outage


The following sections explains the things to look at after your vCloud infrastructure has experienced an outage:

Getting ready

This recipe will prove to be useful in the case of a vCloud environment that is currently down.

How to do it...

  1. Make sure the vCloud service has stopped.

  2. Check the vSphere infrastructure and make sure that all the ESXi servers are running and that the datastores are accessible. If this is not the case, work on these issues first.

  3. Start the vCloud service in only one cell.

  4. Monitor the cell's start-up (tail –f /opt/vmware/cloud-director/logs/vcloud-container-debug.log).

  5. Check if there are any errors while the vCloud Cell starts. If there are errors and the vCloud service isn't starting, fix these issues.

  6. When the vCloud service has started, check if the connection to vCenter is working correctly. Do this by forcing a sync of the vCenter services. Navigating to Manage & Monitor| vCenters. Right-click on your vCenter and then select Reconnect. If...