[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How domU could guess about its dom0?


  • To: "Sergey Lukashevich" <lukash33@xxxxxxx>
  • From: "Alain Barthe" <ab266061@xxxxxxxxx>
  • Date: Wed, 12 Nov 2008 13:24:09 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 12 Nov 2008 04:24:55 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Wzl6ddPRu3HNaEb783DSEpBvHDAl2yXessYkwmlZUcFXisEb2JSWXk9iNkJk6NLGb5 GvyPKUiEwV3BZxUVDPRPAnRAcpFBXBR9sYStggMrH46p05MiFAKfKGsoh596amJF1QVM hftR4muJE3vmVtoqWVQ553UGVfCrTJ7EIxrNM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.