How to Find dom-id or Domain ID of Virtual Machines Running On XenServer

How to Find dom-id or Domain ID of Virtual Machines Running On XenServer

book

Article ID: CTX215960

calendar_today

Updated On:

Description

Note : Domain ID or domid is only for Running VMs or Booting VMs. ( A VM which is powered off will not have a domid of its own )  

Run the following command to obtain the domain ID of a particular VM running on XenServer.

# xl list | grep -i "VM_NAME" 

User-added image
OR

# list_domains | grep -i VM_UUID

User-added image


In the above case , the domain ID is 2 for the Virtual Machine - Citrix WLB Virtual Appliance

(To find the UUID of the VM , Click on the VM > Click on General Tab > Right click On UUID > copy the UUID to clipboard > Now you can paste the same while executing the command - list_domains | grep -i UUID_Of_THE_VM )

User-added image
 

Issue/Introduction

This Article will tell you how to find Dom-ID or domain ID in XenServer.