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)

Masking paths to a LUN

You can remove access to a LUN by masking all of its paths to the ESXi host. This can be used when troubleshooting storage issues. This is achieved by using the MASK_PATH PSA plugin to claim the paths corresponding to the intended LUN.

The following flowchart depicts a high-level overview of the process:

How to do it...

The following procedure will help you mask paths to a LUN:

  1. Get the NAA ID of the LUN, which needs to be masked, by issuing the following command. The following command will list all the NAA IDs seen by the ESXi:
esxcfg-scsidevs -u
  1. Get the multipathing information of the LUN by issuing the following command syntax:
esxcfg-mpath –l –d <naa-id of the LUN>
  1. Create...