Book Image

VMware vSphere 6.7 Cookbook - Fourth Edition

By : Abhilash G B
Book Image

VMware vSphere 6.7 Cookbook - Fourth Edition

By: Abhilash G B

Overview of this book

VMware vSphere is the most comprehensive core suite of SDDC solutions on the market. It helps transform data centers into simplified on-premises private cloud infrastructures. This edition of the book focuses on the latest version, vSphere 6.7. The books starts with chapters covering the greenfield deployment of vSphere 6.7 components and the upgrade of existing vSphere components to 6.7. You will then learn how to configure storage and network access for a vSphere environment. Get to grips with optimizing your vSphere environment for resource distribution and utilization using features such as DRS and DPM, along with enabling high availability for vSphere components using vSphere HA, VMware FT, and VCHA. Then, you will learn how to facilitate large-scale deployment of stateless/stateful ESXi hosts using Auto Deploy. Finally, you will explore how to upgrade/patch a vSphere environment using vSphere Update Manager, secure it using SSL certificates, and then monitor its performance with tools such as vSphere Performance Charts and esxtop. By the end of this book, you'll be well versed in the core functionalities of vSphere 6.7 and be able to effectively deploy, manage, secure, and monitor your environment.
Table of Contents (18 chapters)

Deploying vCenters in a Linked Mode configuration

When you have more than one vCenter to manage in your environment, being able to manage them under a single view is always beneficial. This is achieved by configuring the PSCs to become part of the same SSO domain, thereby putting them in an Enhanced Linked Mode configuration. vCenters in a Linked Mode will replicate roles and permissions, licenses, and other details, letting the administrator perform a single login into the vSphere Web Client to view and manage the inventory objects of all the linked vCenter Servers.

vCenter 6.7 now fully supports configuring embedded PSCs in a Linked Mode configuration, thereby eliminating the need to protect the PSC nodes when configuring high availability for vCenter.

Getting ready

You will need the following information at hand before you proceed:

  • The VMware VCSA 6.7 ISO from https://my.vmware.com/web/vmware/downloads
  • Access to a machine (Windows/Linux/macOS) to run the vCenter installer from
  • The IP address/FQDN of the ESXi host or the vCenter the VCSA will be deployed on
  • The IP configuration (including the static IP address, subnet mask, gateway address, and DNS server addresses)
  • A DNS host record created for the new VCSA
  • The IP address/FQDN of the peer PSC
  • The SSO domain name of the peer PSC
  • SSO administrator credentials for the chosen domain

How to do it...

The following procedure will guide you through the steps that are required to configure vCenters in a Linked Mode configuration:

  1. Go through with Stage 1 of the installation by deploying a new VCSA.
  2. On the Install - Stage 2: Set up vCenter Server Appliance with an Embedded PSC screen, click Next.
  3. On the Appliance Configuration screen, specify a Time synchronization mode and enable SSH access (disabled by default).
  4. On the SSO configuration screen, choose to Join an existing SSO domain. Specify the FQDN/IP of the peer PSC, its SSO domain, and the administrator credentials:
  1. On the Configure CEIP screen, choose to uncheck the Join VMware Customer Experience Improvement Program (CIEP).
  2. On the Ready to complete screen, review the settings and click FINISH to initiate the configuration:
  1. Once the setup/configuration is complete, you will be presented with a confirmation screen, as well as the URL (https://FQDN of VCSA:443) to vCenter's Getting Started page. Click Close to exit the installer.

This finishes the Linked Mode configuration:

Now, when you log in to the web client, it should list all the vCenter servers in the same PSC domain.

How it works...

Once the vCenters are in ELM, they replicate the VMDir contents, license keys, global permissions, tags, and categories.

The replication status can be checked from each node by running the following commands:

The same commands, when executed on the peer vCenter/PSC, should report similar data:

There's more...

You can still deploy external PSCs in vSphere 6.7, although there is no strong use case for doing so. If your 6.5.x or older environment had externalized PSC or SSO servers, they will be migrated/upgraded to become external PSCs by default. These can, however, be converted into embedded VCSAs during the upgrade. We will learn more about this in the next chapter.