somenathpal .
2015-Apr-20 13:52 UTC
[libvirt-users] Question regarding management of VMs using libvirtd.
Hi All, I have a question regarding the uses of libvirtd. We have the following situation to manage. We have several hosts with libvirtd running. We have one management application to manage different VMs launched in those different hosts. We want to configure the system such a way so that one libvirtd can collect information about the VMs launched by other libvirtd running in different hosts. Is it possible? Could you please point me to some resource around this? In this we will be able to get information about VMs from single source and need not to query different host for VMs info. Regards, Somenath
Michal Privoznik
2015-Apr-20 14:55 UTC
Re: [libvirt-users] Question regarding management of VMs using libvirtd.
On 20.04.2015 15:52, somenathpal . wrote:> Hi All, > > > > I have a question regarding the uses of libvirtd. We have the following > situation to manage. > > We have several hosts with libvirtd running. We have one management > application to manage different VMs launched in those different hosts. > > We want to configure the system such a way so that one libvirtd can collect > information about the VMs launched by other libvirtd running in different > hosts. Is it possible? Could you please point me to some resource around > this? > > In this we will be able to get information about VMs from single source and > need not to query different host for VMs info.No, libvirtd's scope is a single host. It can't manage VMs on a distant hosts, so I'm afraid you'll have to query daemons on all the hosts to get desired info. Michal
Eric Blake
2015-Apr-20 15:47 UTC
Re: [libvirt-users] Question regarding management of VMs using libvirtd.
On 04/20/2015 08:55 AM, Michal Privoznik wrote:> On 20.04.2015 15:52, somenathpal . wrote: >> Hi All, >> >> >> >> I have a question regarding the uses of libvirtd. We have the following >> situation to manage. >> >> We have several hosts with libvirtd running. We have one management >> application to manage different VMs launched in those different hosts. >> >> We want to configure the system such a way so that one libvirtd can collect >> information about the VMs launched by other libvirtd running in different >> hosts. Is it possible? Could you please point me to some resource around >> this? >> >> In this we will be able to get information about VMs from single source and >> need not to query different host for VMs info. > > No, libvirtd's scope is a single host. It can't manage VMs on a distant > hosts, so I'm afraid you'll have to query daemons on all the hosts to > get desired info.That said, libvirtd IS designed to be remote controlled, so it is certainly feasible to write higher-layer applications that manage connections to multiple libvirtd and collect results into a single app for use by the end user. In fact, that's what VDSM does. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Maybe Matching Threads
- Re: Question regarding management of VMs using libvirtd.
- libvirtd segfault when using oVirt 4.1 with graphic console - CentOS7.3
- libvirtd loses all of its data after restart
- Re: Unit libvirtd.service could not be found. on VM
- error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable