Book Image

Mastering VMware vSphere Storage

By : Victor Wu, Eagle Huang
Book Image

Mastering VMware vSphere Storage

By: Victor Wu, Eagle Huang

Overview of this book

<p>vSphere Storage is one of the three main infrastructure components of a vSphere deployment (Compute, Storage, and Network).</p> <p>Mastering VMware vSphere Storage begins with an insightful introduction to virtualization and creating your own virtual machines. We then talk about VMware vCenter Server and virtual machine management, as well as managing vSphere 5 using vSphere Management Assistant (vMA) and esxcli and vmware-cmd commands. We then swiftly move on to a very interesting topic, reviewing the vSphere performance and troubleshooting methodology. We then configure VM storage profiles, Storage DRS, and Storage I/O control. More significantly, we will troubleshoot and analyze storage using the VMware CLI and learn how to configure iSCSI storage.</p> <p>By the end of the book, you will be able to identify useful information to make virtual machine and virtual data center design decisions.</p>
Table of Contents (21 chapters)
Mastering VMware vSphere Storage
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

LUN masking


LUN masking can control which LUNs are visible to each vSphere host. This is the opposite of zoning, where the storage array configuration determines which LUNs are visible to a host. This feature allows multiple vSphere hosts to be connected to a storage with multiple LUNs, while allowing only one vSphere host, which you specify, to see some particular LUNs. This feature is the same as EMC CLARiiON or VNX provide LUN masking in the storage group at the array level. You can add the host and LUNs to a storage group, and then the host will only be able to see those LUNs.

Here is the GUI meant for providing LUN masking to the Storage Group in the EMC array:

Now we'll go through an example showing how you can operate this on an ESXi host. Here is the procedure:

  1. First, we should find out which LUN we want to mask. We need to display the LUN with VMFS volumes using the esxcfg-scsidevs –m command. In the following example, we find the device ID (it starts with naa). Our device ID is naa...