On Mon, Oct 06, 2008 at 04:57:45PM +0100, Daniel P. Berrange wrote:
On Mon, Oct 06, 2008 at 05:54:28PM +0200, Daniel Veillard wrote:
> On Mon, Oct 06, 2008 at 08:14:12AM -0700, Ian Main wrote:
> > > I'm just wondering if there is any DNS customization trick which
would
> > > allow the qpid client to automatically find the broker based on the DNS
> > > settings (things like _qpid._tcp SRV entries in the local domain). That
> > > would avoid the configuration on each monitored node.
> >
> > Nice, glad you got it all working! :)
> >
> > This is exactly how we do it in ovirt.. I posted a patch to use DNS
> > SRV entries and it just sets up the libvirt-qpid sysconfig file on each boot.
>
> Trying to make sure I understand, there is no such support in the
> upstream qpid but that's a patch carried just on Ovirt ?
It is not really a patch - it is just the way oVirt configures its managed
node virtualization host at startup.
The managed node has a whole bunch of services running, of which libvirtqpid
is just one. So, after networking comes up, oVirt queries the SRV records
for all the services it cares about, and uses augeas to edit the config
files to point to these services.
Ah, I was hoping some kind of standardization of lookup embedded in
the qpid library itself.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/