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 from vSphere 5.5 or 6.0 to vSphere 6.5

vSphere 5.5 is the oldest supported version of an upgrade to vSphere 6.5. Before we begin, let's review vSphere 5.5 component architecture so that we have a clear understanding of what needs to be upgraded. vSphere 5.5 had separate components.

If you have environments running versions older than vSphere 5.5, you will either need to update the components to vSphere 5.5 first or perform a fresh installation of vSphere 6.5 and then move the workloads to the new environment. In such cases, it is quite possible that the older hardware is no longer supported to host vSphere 6.5 or its components. Use the steps provided in the Planning vSphere upgrade section to review your current environment.

How to do it...

In this section, we will cover the steps involved in upgrading a vSphere 5.5 environment to vSphere 6.5:

  1. Backup the current configuration: Take snapshots of SSO, vCenter, and database VM before you start the upgrade. Also, take backups of the database if vCenter is running on a physical machine and using an external database.
  2. Upgrade SSO servers to vSphere 6.5 PSC: Regardless of the platform (Windows or vCSA), the Single Sign-On component servers should be upgraded from 5.5/6.0 to vSphere 6.5 before the vCenter upgrade.
  3. Upgrade vCenter to VCSA 6.5: For instructions on how to migrate from Windows to VCSA 6.5, read the section Upgrading vCenter Server - Migrating from Microsoft Windows to VCSA of this chapter. Single Sign-On and other services will be migrated. vCenter 6.5 can also be installed on a Windows Server, so upgrading vCenter can also be performed without having to rebuild a new machine. Read the section Upgrading vCenter Server on Microsoft Windows for instructions. In either case, a database upgrade will be performed.
VCSA 6.5 no longer supports the use of an external database. Hence, the current database will be migrated to a PostgreSQL database.
  1. Upgrade vSphere Update Manager: VUM will be upgraded and made part of the vCenter Server if the current vCenter system being upgraded also has VUM installed on it. If VUM is installed on a separate machine, which is mostly the case in enterprise infrastructures, then you will need to run the vCenter Migration Assistant on the VUM machine as well.
  2. Use vSphere Update Manager to upgrade the hosts to ESXi 6.5: Read the Chapter 14, Upgrading and Patching using vSphere Update Manager for instructions on how to use VUM to upgrade ESXi hosts by scheduling upgrades/updates.
  3. Use vSphere Update Manager to upgrade the virtual machine hardware and VMware tools: Read Chapter 14, Upgrading and Patching using vSphere Update Manager, for instructions.

How it works...

When you upgrade from vSphere 5.5 to vSphere 6.5, you start with upgrading all the SSO instances. When the SSO instances are upgraded, the existing vSphere 5.5 environment will remain unaffected and will also be accessible via the already existing instance of the vSphere Web Client. If the existing SSO is not embedded, then the upgrade will result in a separate vSphere 6.5 PSC instance. The result remains the same regardless of the platform vCenter is deployed on. If you have more than one vCenter server connecting to the same SSO domain, then post the upgrade of one of the vCenter Servers, the newer vSphere Web Client 6.5 can be used to view/manage both vSphere 6.5 and 5.5 vCenter Servers. If you have more than one SSO/PSC servers, then upgrading one among them will not affect any of the services including vCenter Servers, except for the linked mode configuration, which will not be able to link two disparate vCenter versions.

Another important aspect to keep in mind is that the Platform Services Controller (PSC) and vCenter Server (Appliance or Windows) will manage two separate sets of services. The following table lists some of the services managed by both the components:

Platform Service Controller vCenter Server
VMware Appliance Management Service vSphere Web Client
VMware License Service vSphere Auto Deploy
VMware Component Manager vSphere Syslog Collector
VMware Identity Management Service and Secure Token Service (STS) vSphere ESXi Dump Collector
VMware Certificate Service vCenter Update Manager