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.
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|