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

Introduction


In this chapter, we will focus on the steps required to upgrade your ESX servers to ESXi 5.1 and the vCenter Server to vCenter 5.1. If you are trying to rebuild or set up a new vSphere 5.1 environment then you should refer to Chapter 2, Performing a Fresh Installation of vSphere 5.1.

Always the rule of thumb is to upgrade the vCenter Server first, followed by the ESX server.

The upgrade is a three-step process:

  1. Upgrade the vCenter Server to 5.1.

  2. Upgrade the ESX/ESXi servers to 5.1.

  3. Upgrade VMware Tools and then the virtual machine hardware.

It is recommended that you check the VMware Compatibility Guide web page for changes in the supportability of your current hardware. The hardware components may sometimes need a firmware upgrade to work as expected when used with a newer release of vSphere.

The VMware Compatibility Guide web page is available at www.vmware.com/go/hcl.

Upgrading the vCenter Server

VMware vCenter 5.1 is 64-bit; so the process of upgrading the vCenter Server to version 5.1 can be different, depending on whether you are already running your current vCenter on a 64-bit operating system or a 32-bit operating system.

There are two methods of upgrading your current vCenter to vCenter 5.1:

  • The in-place upgrade method

  • Migrating vCenter data using the vSphere Data Migration tool

The in-place upgrade is done by running the vCenter 5.1 installer on the machine where you have the existing vCenter Server, provided it is 64-bit. It is called in-place, because you are just letting the installer do the upgrade by automatically preserving the settings of the existing vCenter Sever. This procedure is discussed in the Performing an in-place upgrade of vCenter Server recipe.

If your existing vCenter is running on a 32-bit operating system, then you cannot install vCenter 5.1 on the same machine because it is a 64-bit application. You will need a machine running a 64-bit version of Windows. This is when you can choose to migrate the current vCenter data, using the vSphere Data Migration tool, from the 32-bit machine to a 64-bit machine where you intend to install vCenter 5.1. To learn how this is done, read the Upgrading a 32-Bit vCenter Server to vCenter 5.1 recipe.

Upgrading the ESXi server

Unlike the vCenter Server, the process of upgrading the ESXi server to version 5.1 is pretty straightforward. It is important that you upgrade the vCenter Server prior to upgrading the ESXi servers. There are different methods to upgrade the ESX server to ESXi 5.1. Refer to the Upgrading to ESXi 5.1 recipe for more information on how the upgrade is done using the ESXi 5.1 installation DVD. References for other methods can be found in the same chapter.

vSphere Web Client

Starting with vSphere 5.1, VMware has introduced a Web Client component that can be used to manage the vSphere environment. Although, I will be using vSphere Web Client for most of the tasks in the chapters, you could still use the vSphere Client to perform the same tasks. But there are certain tasks that can only be done using the vSphere Client. For example, the VMware Update Manager plugin is not available for the vSphere Web Client. Having said that, VMware will be moving all of the vSphere management GUIs to the Web Client in the upcoming versions of vSphere. So it would be good to get used to the vSphere Web Client interface. For instructions on how to install the vSphere Web Client component, refer to the Installing vSphere Web Client recipe.