Book Image

VMware vSphere 5.1 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.1 Cookbook

By: Abhilash G B

Overview of this book

Amidst all the recent competition from Citrix and Microsoft, VMware's vSphere product line is still the most feature rich and futuristic product in the virtualization industry. Knowing how to install and configure vSphere components is important to give yourself a head start towards virtualization using VMware. If you want to quickly grasp the installation and configuration procedures, especially by using the new vSphere 5.1 web client, this book is for you.VMware vSphere 5.1 Cookbook will take you through all the steps required to accomplish a task with minimal reading required. Most of the tasks are accompanied with relevant screenshots with an intention to provide a visual guidance as well.The book has many useful recipes that will help you progress through the installation of VMware ESXi 5.1 and vCenter Server 5.1. You will learn to use Auto Deploy and Image Profiles to deploy stateless/stateful ESXi servers, configure failover protection for virtual machines using vSphere HA, configure automated load balancing using vSphere DRS and DPM. Finally, the book guides you through upgrading or patching ESXi servers using VMware Update Manager and also deploying and configuring vSphere Management Assistant (VMA) to be able to run scripts to manage the ESXi servers.
Table of Contents (20 chapters)
VMware vSphere 5.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating an Image Profile from scratch


When creating an image from scratch, you would have to identify the software packages you need to be part of the image. This means that, unlike customizing an existing image, you will create a new one with only what you need, so that you don't have to go through the process of removing software packages from an Image Profile.

Note

It is important to pay careful attention to dependencies and acceptance levels when you create an Image Profile from scratch.

How to do it…

The following procedure will guide you through the steps required to create an Image Profile from scratch:

  1. Use the Add-EsxSoftwareDepot cmdlet to add all the needed Offline Bundles to the vSphere PowerCLI session.

    Add-EsxSoftwareDepot C:\AutoDeploy-VIBS\ESXi500-201111001.zip
    
  2. Issue the command Get-EsxSoftwareDepot cmdlet to verify the Offline bundles have been added successfully.

  3. Assign the output of the Get-EsxSoftwareDepot command to a user defined variable.

    $softdepot = Get-EsxSoftwareDepot...