Book Image

VMware vSphere 6.5 Cookbook - Third Edition

By : Abhilash G B, Cedric Rajendran
Book Image

VMware vSphere 6.5 Cookbook - Third Edition

By: Abhilash G B, Cedric Rajendran

Overview of this book

VMware vSphere is a complete and robust virtualization product suite that helps transform data centers into simplified on-premises cloud infrastructures, providing for the automation and orchestration of workload deployment and life cycle management of the infrastructure. This book focuses on the latest release of VMware vSphere and follows a recipe-based approach, giving you hands-on instructions required to deploy and manage a vSphere environment. The book starts with the procedures involved in upgrading your existing vSphere infrastructure to vSphere 6.5, followed by deploying a new vSphere 6.5 environment. Then the book delves further into the procedures involved in managing storage and network access to the ESXi hosts and the virtual machines running on them. Moving on, the book covers high availability and fair distribution/utilization of clustered compute and storage resources. Finally, the book covers patching and upgrading the vSphere infrastructure using VUM, certificate management using VMCA, and finishes with a chapter covering the tools that can be used to monitor the performance of a vSphere infrastructure.
Table of Contents (18 chapters)

Upgrading ESXi Hypervisor

Once you have vCenter Server upgraded to version 6.5, the next step is to upgrade the ESXi hosts. The upgrade procedure will depend on the current deployment architecture. For instance, if all your ESXi hosts were deployed using the VMware Auto Deploy server, then you'll have to update the image profile sourcing the streamed image using a new offline bundle. As Auto Deploy is covered in Chapter 5, Using vSphere Auto Deploy, in this chapter, we will cover the upgrade of the ESXi host using the installation media. VMware ESXi can also be upgraded by running the ESXi installer on each of the servers or use vSphere Update Manager to perform the same activity. You will learn about patching/upgrading ESXi hosts using VUM in Chapter 14, Upgrading and Patching using vSphere Update Manager.

Getting ready

Before you begin any upgrade, it is very important to plan for it. So what would you need to do to perform an upgrade of ESXi? You would, of course, need the ISO image downloaded from VMware's website, but you would also need a method to present the ISO to the physical machine so that it can boot from it. Most of the modern server equipment's have a methodology to avoid the need to burn ISO to a physical DVD medium and then insert it into the DVD drive of the physical machine. If you are an administrator, you might already be aware of terms such as ILO (HP), DRAC (Dell), and KVM Manager (Cisco). These are web-based tools that will connect to an RAC on the server and enable remote access to the server's console via the Web. Enough said on what is available out there; let's make a list of what you need to begin the upgrade:

How to do it...

The following procedure will walk you through the steps involved in upgrading ESXi 5.5/6.0 to ESXi 6.5 using the ESXi installer:

  1. Boot the host with the ESXi 6.5 installer ISO mapped to it.
  2. Choose ESXi 6.5 standard installer from the boot menu and press Enter:
  1. Once the installer is fully loaded into the memory, you will be prompted with a Welcome to the VMware ESXi 6.5.0 Installation screen. Now press Enter to continue.
  2. To accept the EULA and continue, press the function key F11.
  3. Select the storage device that has the previous installation of ESXi and press F1 to view the disk details:
  1. On pressing F1, it will show you the Disk Details. In this case, it has detected an ESXi 6.0 installation. Press Enter to go back to the Select a Disk to Install or Upgrade screen:
  1. At the Select a Disk to Install or Upgrade window, press Enter to continue.
  2. On the ESXi and VMFS Found window, select the option Upgrade ESXi, preserve VMFS datastore and press Enter to continue:
  1. On the Confirm Upgrade window, select the Upgrade option by pressing the F11 key:
  1. If the upgrade completes successfully, you will be presented with an Upgrade Complete success window. Now press Enter to reboot the ESXi host.
  2. After a reboot, you should be able to see the ESXi 6.5 DCUI welcome screen.

You should now be able to connect to this vCenter using the embedded host client as well. If the host was managed by a vCenter, then the inventory should now show this ESXi host connected.

There is more...

Once you have vCenter and Update Manager upgraded and configured for use, the ESXi host upgrades can be performed using VUM in a much more effective manner. You will be able to run the upgrades simultaneously on more than one ESXi host using VUM remediation. You will learn more about this in Chapter 14, Upgrading and Patching using vSphere Update Manager.

It is important to note that although there are means to retain your Microsoft Windows servers to run the vCenter components, there is no longer a compelling reason to do so. The vCenter Server Appliance is the way ahead, and you need not be surprised to see VMware completely removing the dependency on Microsoft OS or external databases in its future releases.