I would like to find out how could I be able to retrieve the system-serial-number of virtual machines installed on Citrix XenServer. I had referred to How to get unique ID of a Citrix XenServer VM from the guest OS? but still could not get with the given solution in this post.
I am able to get the system-serial-number for the virtual machines install on vSphere Client using
Example:
$ dmidecode -t 1 | grep -i serial
Serial Number: VMware-xx xx xx xx xx xx xx xx-xx xx xx xx xx xx xx xx
The virtual machines were running on RHEL 6.5 (for both Xen and vSphere). When the same command was being executed to retrieve the serial number on the Citrix XenServer VM, the below error messages will be displayed:
$ dmidecode -t 1 | grep -i serial
# dmidecode 2.12
# No SMBIOS nor DMI entry point found, sorry.
Had also tried the below command on the Xen Server, it does not work too.
$ lshal | grep -i serial