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

Creating multitiered vApp Networks


Having multiple networks inside the same vApp is not straightforward, at least not if it comes to easy-to-connect ability.

Getting ready

We need a VM template that we can add multiple times to build the vApp.

Note

If you want to follow my instructions to build your own router, you will need a virtual router and you need to know how to configure it. If you would like to use my example, have a closer look at the There's more... section of this recipe.

How to do it...

Let's work through the two different options we have.

Perform the following steps for using the vApp router:

  1. Create a new isolated Organization Network, call it App Net, and assign it a 192.168.2.0/24 network with an IP Pool.

  2. Create a new vApp.

  3. Add at least three VMs to the vApp.

  4. When it comes to connecting the VMs to the network, we do the following:

    1. Create a vApp Network, call it DB Net, and assign it a 192.168.1.0/24 network with an IP pool.

    2. Connect one VM to the DB network.

    3. Connect one VM to the previously...