Book Image

VMware Virtual SAN Cookbook

Book Image

VMware Virtual SAN Cookbook

Overview of this book

Table of Contents (18 chapters)
VMware Virtual SAN Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The vsan.vm_object_info command


While you can see a VM's object distribution throughout the VSAN cluster by examining the Manage VM Storage Policies view in the vSphere Web Client, you can get more information about a VM's distribution and usage by examining the RVC command.

Getting ready

You should be logged in to RVC as a vCenter Administrator.

How to do it…

  1. As we are asking for information about a VM running on VSAN, the command will be executed against the VM level in RVC.

  2. Type vsan.vm_object_info /<vCenter>/<Datacenter>/computers/<Cluster>/resourcePool/vms/<VM> and strike the Enter key:

    Note

    The output about only the namespace object (VM Home Directory) is shown here to save space and avoid redundancy.

  3. Here, we see how the object is distributed, its policies, storage-policy UUID, and so on.

How it works…

This command queries VSAN for detailed information about the VM object distribution and its usage and makeup. Unlike in the vSphere Web Client, here, we can see actual...