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

Troubleshooting vCloud Router traffic


Syslog comes in very handy when one wants to log what is happening on vApp Network Edges.

Getting ready

We need a vApp Router or an Edge with firewall and/or NAT rules. You can use one of the recipes from Chapter 2, vCloud Networks for this.

We also need a configured Sysprep server.

How to do it…

  1. Log in to vCloud as SysAdmin or into your Organization as OrgAdmin or vAppauthor.

  2. Navigate to vApp.

  3. Click on Networking.

  4. Right-click on the network and select Configure Services.

  5. Select either Firewall or NAT.

  6. While you are configuring firewall rules, check Log network traffic for firewall rule, as shown in the following screenshot:

  7. Create some traffic that flows through the rule that is being logged.

  8. Check out the logfiles in the Syslog server.

How it works….

All firewall and NAT rules can be activated for logging. This means that every package will be logged. With this information, it is easy to figure out why a given firewall or NAT rule isn't working as expected.