Jump to content
Welcome to our new Citrix community!
  • 0

Host hardware info via xe or Xen API

Motohiro Kanda




We want following hardware information on servers running Citrix Hypervisor.
Are these available via xe or Xen API? Vmware vCenter provides these via SDK API as well as web browser GUI.
Ssh connections are sometimes prohibited on production environment. So, we prefer xmlrpc/json API.
We know some CPU and memory information is available via host-cpu-info and host-param-list but not enough.


1 Server model name and serial number


# dmidecode -t system
Handle 0x008D, DMI type 1, 27 bytes
System Information
        Manufacturer: HITACHI
        Product Name: HA8000V/DL360 Gen10
        Serial Number: SGH002V38J


Customers want this in order to locate physical machines running there guest VMs.


2 Server NIC model, harddisk model, storage controller model and PCI locations.


# lspci
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
5c:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI 12G SAS/PCIe 3 (rev 01)


# sginfo /dev/sdb
INQUIRY response (cmd: 0x12)
Device Type                        0
Vendor:                    HP
Product:                   MO000800JWUFU
Revision level:            HPD1


We want these for diagnostics purpose and PCI pass through settings.

Thanks in advance.


Link to comment

4 answers to this question

Recommended Posts

  • 0


python SDK PCI class gave me all I wanted on PCI devices.
(Pdb) dev = session.xenapi.PCI.get_by_uuid("f9fc83af-d414-135f-dc75-afc53fd9e3f3")
(Pdb) record = session.xenapi.PCI.get_record(dev)
(Pdb) record
{'class_name': 'Ethernet controller', 'vendor_name': 'Broadcom Inc. and subsidiaries', 'device_name': 'NetXtreme BCM5719 Gigabit Ethernet PCIe','host': 'OpaqueRef:cb3f7d56-bf5a-46aa-be11-1d03b95b613c', 'pci_id': '0000:02:00.1',


Any info on server model and disk model is appreciated, thanks.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...