How to Check Storage ID to Datastore Name Mapping in vSphere Environment for NSX-T Edge VM Configuration Mismatch Alarm
search cancel

How to Check Storage ID to Datastore Name Mapping in vSphere Environment for NSX-T Edge VM Configuration Mismatch Alarm

book

Article ID: 417277

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This KB explains how to map data store display names to the internally used data store MOIDs.

Environment

VMware vCenter Server

Resolution

The mapping between the datastore ID (Storage Id) and the datastore name viewable in the UI within the vSphere environment can be confirmed using the Managed Object Browser (MOB) or PowerCLI.

 

Option 1: Confirmation via Managed Object Browser (MOB)

  1. Start a Web browser.

  2. Connect to the "Managed Object Browser (MOB)" by using the fully-qualified domain name (or the IP address) of the vCenter Server system.
    - https://<vCenter_FQDN-or-IP>/mob/

  3. Select the link in the VALUE column associated with NAME:rootFolder (expected to be group-## (Datacenters)).

  4. Select the link in the VALUE column associated with NAME:childEntity (expected to be datacenter-## (<DatacenterName>)).

  5. Confirm the datastore MOID and the display name from the VALUE column associated with NAME:datastore.

     

 

Option 2: Confirmation via PowerCLI

  1. Connect to the vCenter Server using the Connect-ViServer cmdlet.

    For details on connecting to a vCenter Server using the Connect-ViServer cmdlet, refer to Getting Started with VMware vSphere And vSAN cmdlets.

  2. Run the command Get-Datastore | Select-Object Id,Name to confirm the datastore ID and the display name.

    For more information about the Get-Datastore cmdlet, refer to Get-Datastore.