|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How domU could guess about its dom0?
2008/11/7 Sergey Lukashevich <lukash33@xxxxxxx>
Hurding multiple domUs on several Dom0 farms, sometimes, we need to gather actual info on de-facto dom0-domUs relationship. It could become a complicated task if a Dom0 is missing the list and only DomUs are well-known. Is there any method a DomU can get the hostname of its Dom0? We usually use PV Linux as DomU.
We solve that indirectly by writing a service like script that runs on every dom0 and that produces a XML file describing the domU running on this dom0 regularly (every two minutes in our case). The XML data is written on a NFS share, accessable from all dom0s and eventually by any machine, including some domUs.
We use this XML data to maintain some HTML pages that describe dom0s, domUs and their relationships. Another script allows to query the XML data to locate a particular domU or a particular virtual block device.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|