E-book details

VMware vCloud Director Cookbook. Over 80 recipes to help you master VMware vCloud Director

VMware vCloud Director Cookbook. Over 80 recipes to help you master VMware vCloud Director

Daniel Langenhan

Ebook
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.
  • VMware vCloud Director Cookbook
    • Table of Contents
    • VMware vCloud Director Cookbook
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
        • Instant Updates on New Packt Books
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Setting Up Networks
      • Introduction
        • Network Pools
      • Setting up an External Network
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more...
      • Creating 1,000 isolated networks without VXLANs
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Making VXLANs work
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Integrating the Cisco 1000v into vCD
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Giving your networks an Edge
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Doing it all(most) without a Distributed Switch
        • Getting ready
        • How to do it...
        • How it works...
    • 2. vCloud Networks
      • Introduction
        • Usage of different Network types
          • Isolated vApp Network
          • VMs directly connected to an External Network
          • vApp Network connected via vApp router to an External Network
          • VMs directly connected to an isolated Organization Network
          • vApp connected via a vApp router to an isolated Organization Network
          • VMs connected directly to an Edge device
          • A vApp connected to an Edge via a vApp router
          • IP management
          • Some things you will need for all of the recipes for this chapter
      • Deploying a vApp with a vApp router
        • Getting ready
        • How to do it...
        • How it works...
      • Forwarding an RDP (or SSH) session into an isolated vApp
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Creating multiple forwards
          • Logging network traffic
          • Other ideas
        • See also
      • Accessing a fully isolated vApp or Organization Network
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
        • See also
      • Using Organization Networks for interconnection between vApps
        • Getting ready
        • How to do it
        • How it works...
        • There's more
      • Using templates with firewall and NAT settings
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Connecting a physical device to an isolated network
        • Getting ready
        • How to do it...
        • How it works...
      • Sharpening the Edge
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using vApp Network fencing
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating multitiered vApp Networks
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Downloading and importing a virtual router into vCloud
          • Setting up the networking
          • Setting up the web interface
          • Configuring the WAN interfaces with the correct network settings
          • Configuring the OPT1 interfaces with the correct network settings
          • Configuring static routing
        • See also
      • Ensuring no change in IP after redeployment
        • Getting ready
        • How to do it...
          • Ensuring no change occurs in IP after redeployment by setting up the vApp
          • Ensuring no change occurs in IP after redeployment by retrofitting an existing vApp
        • How it works...
        • There's more...
      • Automatic IP management for External Network Pools
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Static DNS Pool
          • Preallocated DNS pool with a manual IP
          • Automated setup
          • Linux and Guest Customization
        • See also
      • Creating load-balanced VMs in an organization
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Load balancer methods
        • See also
      • Creating a secure connection between organizations (which can be in different vClouds)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Connecting to other networks in the same organization
          • Connection to the outside
          • Public IPs
          • More VPN possibilities
      • Monitoring which network resources have been used where
        • Getting ready
        • How to do it...
        • How it works...
        • See also
    • 3. Better vApps
      • Introduction
        • vSphere and vCloud vApps
        • Roles and rights
      • Proper vApp startup and shutdown
        • Getting ready
        • How to do it...
        • How it works...
          • Important changes in vCloud 5.5
        • There's more...
          • Power Off
          • Templates
      • Adding a VM to a vApp
        • Getting ready
        • How to do it
        • How it works...
        • There's more...
      • Importing a vApp into vCloud
        • Getting ready
        • How to do it...
          • Importing a VM from vSphere
          • Importing an OVF/OVA into a catalog
          • Import an OVF/OVA into My Cloud
          • Importing from Workstation/Fusion
        • How it works...
          • Important changes in vCloud 5.5
        • There's more...
          • Aftercare
          • Migrating running VMs
        • See also
      • Exporting a vApp from vCloud
        • Getting ready
        • How to do it...
          • Exporting a vApp from a catalog
          • Exporting a vApp from My Cloud
        • How it works...
        • See also
      • Creating a sandbox environment
        • Getting ready
        • How to do it...
          • Creating an organization for the sandbox
          • Creating an OvDC for the sandbox
          • Adding networking
        • How it works...
          • Lease time
          • Allocation model
          • Networking
        • There's more...
          • Fair warning
          • Using an Edge gateway to give access to the play infrastructure
      • Using Guest Customization with pre and post deploy
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Limits
          • Old bugs
          • Logfiles
          • Template Guest Customization
        • See also
      • Using PowerShell or Perl to perform Guest Customization tasks
        • Getting ready
        • How to do it...
          • Using PowerShell or Perl to perform Guest Customization tasks via the VM Properties
          • Using PowerShell or Perl to perform Guest Customization tasks via an OS script
        • How it works...
          • Windows PowerShell wrapper
          • Linux Perl wrapper
        • There's more...
        • See also
      • Sharing a vApp
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Joining VMs automatically to domains
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Configuring the organization
          • Configuring the VM
      • Using vApp maintenance mode
        • Getting ready
        • How to do it...
        • How it works...
        • See also
    • 4. Datastores and Storage Profiles
      • Introduction
        • Datastores, profiles, and clusters
        • Thin provisioning
        • Fast provisioning
      • Adding a new storage profile to vCD
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
        • See also
      • Using a specific datastore for templates
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Using storage profiles for storage tiering
        • Getting ready
        • How to do it
        • How it works...
        • See also
      • Making operations on NFS datastores faster
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
        • See also
      • Working with vApp templates and their Shadows
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Reducing the chain length of Linked Clones
        • Getting ready
        • How to do it...
        • How it works...
      • Configuring storage alarms
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Monitoring storage
        • Getting ready
        • How to do it...
        • How it works...
      • The problems associated with the backup and restore of vCloud
        • How it works...
    • 5. Working with the vCloud API
      • Introduction
        • Logging in to the System organization
        • Gathering prerequisites and information gathering
        • Project Onyx
      • Using PowerShell with vCloud Director
        • Getting ready
          • Installing PowerCLI
          • A PowerShell editor
        • How to do it...
          • Connecting vApp
          • Gathering information
          • Creating vApp
          • Powering on vApp
        • How it works...
        • See also
      • Accessing REST with Firefox
        • Getting ready
        • How to do it...
          • The first connection
          • Gathering information
          • Creating a new vApp
          • Powering on
        • How it works...
        • See also
      • Accessing vCD via PHP
        • Getting ready
        • How to do it...
          • Base PHP skeleton
          • Connecting to vCloud
          • Gathering information
          • Creating a new vApp
          • Powering on the vApp
        • How it works...
        • See also
      • Using vCenter Orchestrator to automate vCloud
        • Getting ready
        • How to do it...
          • The first connection
          • Gathering information
          • Creating a new vApp and powering it on
        • How it works...
        • There's more
        • See also
      • A scripted cell shutdown
        • Getting ready
        • How to do it...
          • The script
        • How it works...
        • There's more
      • Adding ISO files to vCD automatically
        • Getting ready
        • How to do it...
        • How it works...
    • 6. Improving the vCloud Design
      • Introduction
      • Creating a naming standard
        • Getting ready
        • How to do it...
        • vSphere naming standard
        • vCloud naming standard
          • Example of a naming standard notation
        • How it works...
      • Using service accounts in the vCloud environment
        • Getting ready
        • How to do it...
          • Creating a service account in AD
          • Creating a service account in SSO
          • Assigning a service account in vCenter
          • Adding a vCloud service account to vCNS
        • How it works...
          • AD or SSO?
          • Understanding vCloud connections
        • There's more...
        • See also
      • Setting up networks for the vCloud VM
        • Getting ready
        • How to do it...
          • Optimal ESXi network setup
          • Optimal vCD Cell network setup
        • How it works...
          • ESXi setup
          • vCloud Cell setup
        • See also
      • Working with vCloud roles
        • Getting ready
        • How to do it...
          • Creating a new role
          • Assigning a role to a user or a group
        • How it works...
          • Changes in vCloud 5.5
        • There's more...
      • Keeping your templates under control
        • Getting ready
        • How to do it...
          • Creating the ADMIN Organization
          • Storage profile
          • Creating an OvDC
          • Creating a published catalog
          • Creating an Organization Network
          • The ADMIN Organization work cycle
        • How it works...
      • Choosing the right Allocation Model
        • Getting ready
        • How to do it...
        • How it works...
          • The three little Allocation Models
          • Overcommit, reservation, and limit
          • vCPU speed
        • There's more...
        • See also
      • Using OvDCs for compute tiering
        • Getting ready
        • How to do it...
          • An example
        • How it works...
        • See also
      • Understanding how the different vCloud types impact the design
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Private vCloud
          • Public vCloud
      • Retrofitting a shared directory into an existing vCD Cell
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Connecting more than one vCloud Cell to the same infrastructure
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Creating multiple vCD Cells for the same vCloud
        • Getting ready
        • How to do it...
          • Preparation of the first cell
          • Installing the second cell
        • How it works...
        • There's more...
        • See also
      • Load balancing vCD
        • Getting ready
        • How to do it...
          • Preparation
          • Configuring the load balancer
            • The HTTP interface
            • The console interface
          • Configuring vCloud for load balancing
        • How it works...
          • SSL certificates
          • Load balancing modes and SSL certificates
        • See also
      • Working with catalogs in vCloud 5.5
        • Getting ready
        • How to do it...
          • Configuring sharing, publishing, and subscribing
          • Sharing an existing catalog
          • Publishing an existing catalog
          • Subscribe to a catalog
        • How it works...
          • Sharing
          • Publishing/subscription
        • There's more...
          • Synchronizing published/subscribed catalogs
          • Media & Other
          • Versioning
    • 7. Operational Challenges
      • Loading Windows Sysprep packages in vCloud
        • Getting ready
        • How to do it...
          • Downloading and preparing the Sysprep files
          • Uploading and integrating the Sysprep files
        • How it works...
        • See also
      • Exchanging SSL certificates
        • Getting ready
        • How to do it...
          • Preparation
          • Deleting an old certificate
          • Creating a certificate request and importing it
          • Creating a new self-signed certificate
          • Finishing touches
        • How it works...
          • Self-signed certificates with longer duration
          • Exporting and importing self-signed certificates
        • See also
      • Bypassing SSO login into vCloud
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Backing up vCloud
        • Getting ready
        • How to do it...
          • SSO backup
          • vCenter backup
          • vCNS backup
          • vCloud backup
        • How it works...
        • There's more...
        • See also
      • Recovering the vCloud system
        • Getting ready
        • How to do it...
          • Restore vSphere from scratch
          • Restore the vSphere environment from DB
          • Restore vCNS
          • Restore vCloud
          • Restore vCloud DB
          • Restore one vCloud Cell (in a multicell environment)
        • How it works...
      • Changing the name of an organization
        • Getting ready
        • How to do it...
        • How it works...
      • Shutting down and starting up the vCloud environment
        • Getting ready
        • How to do it...
          • Start-up sequence
          • Shut-down sequence
        • How it works...
        • There's more
      • Using metadata to improve provisioning
        • Getting ready
        • How to do it...
          • Creating metadata
          • Using metadata
        • How it works...
        • There's more...
        • See also
      • Using vSphere Host Profiles with vCloud
        • Getting ready
        • How to do it...
        • How it works...
      • Using vCloud with vCenter Auto Deploy
        • Getting ready
        • How to do it...
          • Preparing the infrastructure
          • Preparing Blade Center
          • Creating a base ESXi Host Profile
          • Preparing a base image for Auto Deploy
          • Testing Deploy
        • How it works...
        • See also
      • Defining a vCloud development cycle
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Making the VM BIOS ID (UUID) unique
        • Getting ready
        • How to do it...
        • How it works...
      • Importing from Lab Manager into vCloud
        • Getting ready
        • How to do it...
          • Transferring networks
          • Transferring organizations and their resources
          • Transferring library or VM template elements
          • The rest
        • How it works...
        • There's more...
      • Using branding to make vCloud look different
        • Getting ready
        • How to do it...
          • Changes to vCloud
          • Changing the company name
          • Changing the logo
          • Changing the login theme
          • Changing the theme
        • How it works...
        • See also
      • Putting an ESXi host into maintenance
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Updating vCloud Cells without interruption
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Updating a vCloud with only one cell
        • Getting ready
        • How to do it...
        • How it works...
      • Updating a vCenter in vCloud
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Updating vCNS
        • Getting ready
        • How to do it...
        • How it works...
          • Updating an Edge
          • Updating a vApp Network
      • Expanding vCD resources
        • Getting ready
        • How to do it...
          • An OvDC storage profile needs more space
          • A storage profile needs more space
          • An Organization needs more resources
          • An OvDC needs more resources
          • A PvDC needs more resources
        • How it works...
      • Resizing a VM hard disk
        • Getting ready
        • How to do it...
          • Not fast-provisioned VMs
          • Fast-provisioned VMs
        • How it works...
      • Cloning a running vApp
        • Getting ready
        • How to do it...
          • Clone to a catalog
          • Deploy a cloned VM from a catalog
          • Clone to My Cloud
        • How it works...
        • There's more...
      • Removing infrastructure from vCloud
        • Getting ready
        • How to do it...
          • Removing an ESXi Host from vCloud
          • Removing a cluster
          • Removing a cell from vCloud
          • Removing a vCenter from vCloud
        • How it works...
    • 8. Troubleshooting vCloud
      • Introduction
        • Where to look for help
      • Looking for errors in the vCloud GUI
        • Getting ready
        • How to do it...
          • Creating an error
          • Fail log
          • Direct error messages
          • Organization of error logs
          • System logs
        • How it works...
          • Filtering the events
        • There's more
      • Working with vCloud logfiles
        • Getting ready
        • How to do it...
          • Working with a vCD cell logfile
          • Cell log
          • Debug log
          • vCNS logs
        • How it works...
          • Other logfiles
          • Important logfile locations
          • Cell.log
          • Debug log
          • Log rotate
        • There's more
      • Creating and uploading VMware support files
        • Getting ready
        • How to do it...
          • Create vCloud support files
          • Create vCNS support files
          • Upload to VMware
        • How it works...
        • There's more
      • Setting up and using vSphere Syslog Collector
        • Getting ready
        • How to do it...
          • Installing VMware Syslog server
          • Integrating vCloud into Syslog
          • Working with Syslog
        • How it works...
        • See also
      • Troubleshooting vCloud Router traffic
        • Getting ready
        • How to do it
        • How it works.
      • Troubleshooting the Java client
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Recovering from an outage
        • Getting ready
        • How to do it...
        • How it works...
    • A. Appendix
    • Index
  • Title: VMware vCloud Director Cookbook. Over 80 recipes to help you master VMware vCloud Director
  • Author: Daniel Langenhan
  • Original title: VMware vCloud Director Cookbook. Over 80 recipes to help you master VMware vCloud Director
  • ISBN: 9781782177678, 9781782177678
  • Date of issue: 2013-10-24
  • Format: Ebook
  • Item ID: e_3c5x
  • Publisher: Packt Publishing