Help Finding the MOID of resource pools using MOB

Finding the MOID of resource pools using MOB

What is a MOID? 

The Managed Object ID (MOID), also known as the Managed Object Reference ID (MORef ID), is a VMware internal identifier that is generated by vSphere when new objects like VMs are created, or when ESXi hosts are added to vCenter. These MOIDs are used to uniquely identify VMware components and are used by all VMware solutions to reference objects within vCenter. 

For example, when a vCenter server domain is used, the MOIDs of various VMware components will look like:

VMware component Web browser URL MOID
Datacenter https://192.168.50.223/mob/?moid=datacenter-2 datacenter-2
ESX/ESXi host https://192.168.50.223/mob/?moid=domain-s201 domain-s201
Resource pool https://192.168.50.223/mob/?moid=resgroup-202 resgroup-202
Datastore https://192.168.50.223/mob/?moid=datastore-11 datastore-11
Virtual machine https://192.168.50.223/mob/?moid=vm-211 vm-211

Where can I find MOIDs?

You can find MOIDs in the Managed Object Browser (MOB). You can use the domain of a vCenter host or VMware ESX/ESXi host, as used in the Site24x7 web client, to find MOIDs.

Follow the steps outlined in this document to find the Managed Object ID (MOID) — a valuable reference point essential for debugging and interacting with the VMware infrastructure programmatically through APIs or other tools. 
You should only carry out the following steps on the machine where the On-Premise Poller is installed; this is because the browser (in which these steps are executed) and the poller should be on the same network.

Finding the MOID of resource pools using a vCenter server 

Using a web browser, navigate to:

https://<VC_SERVER>/mob/?moid=<OBJECT_ID> 

Where:

  • <VC_SERVER> is the FQDN (fully qualified domain name) or IP of the vCenter server.
  • =<OBJECT_ID> is the ID of the object you are looking for.
    Example: https://192.168.50.223/mob/?moid=resgroup-263

How to navigate to the MOID using the vCenter server domain

  1. Enter the FQDN or IP of the vCenter server with "/mob" as the suffix.
    Example: 192.168.50.223/mob
    You might be notified of an insecure connection. Add an exception and proceed.
  2. Enter the username and password of the vCenter host. This will direct you to the MOB home page.
  3. In the Properties section, click Content under VALUE.
  4. In the page that opens, under the NAME of rootFolder beside the TYPE of ManagedObjectReference:Folder, click the VALUE of Group-xx
    For example:
    NAME | TYPE | VALUE 
    rootFolder | ManagedObjectReference:Folder | Group-d1 (Datacenters)
  5. In the page that opens, under the NAME of childEntity beside the TYPE of ManagedObjectReference:ManagedEntity, click the VALUE of datacenter-xx. Choose the datacenter in which the host is located and click on it.
    For example:
    NAME | TYPE | VALUE 
    childEntity | ManagedObjectReference:ManagedEntity | datacenter-2 (New Datacenter)
  6. In the page that opens, under the NAME of hostFolder beside the TYPE of ManagedObjectReference:Folder, click the VALUE of group-hx. Choose the desired host group and click on it.
    For example:
    NAME | TYPE | VALUE 
    hostFolder | ManagedObjectReference:Folder | group-h4 (host)
  7. In the page that opens, under the NAME of childEntity beside the TYPE of ManagedObjectReference:ManagedEntity[], click the VALUE of domain-xxx. Choose the domain of the desired host and click on it.
    For example:
    NAME | TYPE | VALUE 
    childEntity | ManagedObjectReference:ManagedEntity[] | domain-s44 (192.168.50.221)
  8. In the page that opens, under the NAME of resourcePool beside the TYPE of ManagedObjectReference:ResourcePool, click the VALUE of resgroup-xx. Choose the desired resource pool group and click on it.
    For example:
    NAME | TYPE | VALUE 
    resourcePool | ManagedObjectReference:ResourcePool | resgroup-45 (Resources)
  9. In the page that opens, under the NAME of resourcePool beside the TYPE of ManagedObjectReference:ResourcePool[], click the VALUE of resgroup-xxx. Choose the desired resource pool and click on it.
    For example:
    NAME | TYPE | VALUE 
    resourcePool | ManagedObjectReference:ResourcePool[] | resgroup-263 (RP Outer1)
  10. You've now navigated to https://<VC_SERVER>/mob/?moid=<OBJECT_ID>
    Here,
    https://192.168.50.223/mob/?moid=resgroup-263
    resgroup-263 is the MOID of the resource pool.

Finding the MOIDs of inner resource pools using the vCenter server domain

You can find the MOIDs of inner resource pools by following the steps below:

  1. Follow the above steps 1-9 from How to navigate to the MOID using the vCenter server domain.
  2. In the page that opens, under the NAME of resourcePool beside the TYPE of ManagedObjectReference:ResourcePool[], click the VALUE of resgroup-xxx. Choose the desired inner resource pool and click on it.
    For example:
    NAME | TYPE | VALUE 
    resourcePool | ManagedObjectReference:ResourcePool[] | resgroup-264 (RP Inner1)
  3. You've now navigated to https://<VC_SERVER>/mob/?moid=<OBJECT_ID>
    Here,
    https://192.168.50.223/mob/?moid=resgroup-264
    resgroup-264 is the MOID of the inner resource pool.

Finding the MOID of resource pools using a VMware ESX/ESXi server 

Using a web browser, navigate to:

https://<ESX_SERVER>/mob/?moid=<OBJECT_ID>

Where:

  • <ESX_SERVER> is the FQDN (fully qualified domain name) or IP of the VMware ESX/ESXi server.
  • =<OBJECT_ID> is the ID of the object you are looking for.
    Example: https://192.168.50.221/mob/?moid=ha-compute-res

How to navigate to the MOID using VMware ESX/ESXi server domain

  1. Enter the FQDN or IP of the VMware ESX/ESXi server with "/mob" as the suffix. 
    Example: 192.168.50.221/mob
    You might be notified of an insecure connection. Add an exception and proceed.
  2. Enter the username and password of the VMware ESX/ESXi host. This will direct you to the MOB home page.
  3. In the Properties section, click Content under VALUE.
  4. In the page that opens, under the NAME of rootFolder beside the TYPE of ManagedObjectReference:Folder, click the VALUE of ha-folder-root
    For example: 
    NAME | TYPE | VALUE 
    rootFolder | ManagedObjectReference:Folder | ha-folder-root (ha-folder-root)
  5. In the page that opens, under the NAME of childEntity beside the TYPE of ManagedObjectReference:ManagedEntity, click the VALUE of ha-datacenter. Choose the datacenter in which the host is located and click on it.
    For example:
    NAME | TYPE | VALUE 
    childEntity | ManagedObjectReference:ManagedEntity | ha-datacenter (ha-datacenter)
  6. In the page that opens, under the NAME of hostFolder beside the TYPE of ManagedObjectReference:Folder, click the VALUE of ha-folder-host. Choose the desired host group and click on it.
    For example:
    NAME | TYPE | VALUE 
    hostFolder | ManagedObjectReference:Folder | ha-folder-host (host)
  7. In the page that opens, under the NAME of childEntity beside the TYPE of ManagedObjectReference:ManagedEntity[], click the VALUE of ha-compute-res. Choose the domain of the desired host and click on it.
    For example:
    NAME | TYPE | VALUE 
    childEntity | ManagedObjectReference:ManagedEntity[] | ha-compute-res (ESX-1.zylker.com)
  8. In the page that opens, under the NAME of resourcePool beside the TYPE of ManagedObjectReference:ResourcePool, click the VALUE of ha-root-pool. Choose the desired resource pool group and click on it.
    For example:
    NAME | TYPE | VALUE 
    resourcePool | ManagedObjectReference:ResourcePool | ha-root-pool (Resources)
  9. In the page that opens, under the NAME of resourcePool beside the TYPE of ManagedObjectReference:ResourcePool[], click the VALUE of poolx
    Choose the desired resource pool and click on it.
    For example:
    NAME | TYPE | VALUE 
    resourcePool | ManagedObjectReference:ResourcePool[] | pool0 (RP Outer1)
  10. You've now navigated to https://<ESX_SERVER>/mob/?moid=<OBJECT_ID>
    Here,
    https://192.168.50.221/mob/?moid=pool0
    pool0 is the MOID of the resource pool.

Finding the MOIDs of inner resource pools using VMware ESX/ESXi server domain

You can find the MOIDs of inner resource pools by following the steps below:

  1. Follow the above steps 1-9 from How to navigate to the MOID using VMware ESX/ESXi server domain.
  2. In the page that opens, under the NAME of resourcePool beside the TYPE of ManagedObjectReference:ResourcePool[], click the VALUE of pool1. Choose the desired inner resource pool and click on it.
    For example:
    NAME | TYPE | VALUE 
    resourcePool | ManagedObjectReference:ResourcePool[] | pool1 (RP Inner1)
  3. You've now navigated to https://<ESX_SERVER>/mob/?moid=<OBJECT_ID>
    Here,
    https://192.168.50.221/mob/?moid=pool1
    pool1 is the MOID of the inner resource pool.

Related articles 

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Finding the MOID of resource pools using MOB