Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Whit Blauvelt
On Thu, Feb 02, 2012 at 02:30:45PM -0500, Brian K. White wrote: > I certainly don't have any such thing as a central management app > that knows what all the vm's are on all the hosts. At the level of the VM, I'd certainly hope going forward that there's no assumption of a "central management app

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Whit Blauvelt
Thanks Eric and Bryan. What I'm interested in is an unconventional failover arrangement. Say there are hosts 1 and 2, with guest A in a DRBD-mirrored partition on each. Then when guest A starts, as it happens, on host 1, it initiates a ucarp instance locally, and also causes a linked ucarp instan

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Brian K. White
On 2/2/2012 2:15 PM, Paul Lussier wrote: On Thu, Feb 2, 2012 at 2:08 PM, Eric Blake wrote: Did you mean for this to go to the list? Yes, sorry :) On 02/02/2012 12:04 PM, Paul Lussier wrote: On Thu, Feb 2, 2012 at 1:52 PM, Eric Blake wrote: On 02/02/2012 11:33 AM, Whit Blauvelt wrote: Is

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Paul Lussier
On Thu, Feb 2, 2012 at 2:08 PM, Eric Blake wrote: > Did you mean for this to go to the list? Yes, sorry :) > On 02/02/2012 12:04 PM, Paul Lussier wrote: >> On Thu, Feb 2, 2012 at 1:52 PM, Eric Blake wrote: >>> On 02/02/2012 11:33 AM, Whit Blauvelt wrote: Is there a way internal to a KVM VM

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Brian K. White
On 2/2/2012 1:52 PM, Eric Blake wrote: On 02/02/2012 11:33 AM, Whit Blauvelt wrote: Is there a way internal to a KVM VM to know which host it's running on? No. The ideal hypervisor is one where the guest doesn't even know it is running as a virtual machine. And consider live migration - a gu

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Eric Blake
On 02/02/2012 11:54 AM, Brian K. White wrote: > On 2/2/2012 1:41 PM, Bryan Kearney wrote: >> On 02/02/2012 01:33 PM, Whit Blauvelt wrote: >>> Is there a way internal to a KVM VM to know which host it's running on? >>> >>> It could send a command via ssh to virsh on a host, and learn from that >>> w

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Eric Blake
On 02/02/2012 11:33 AM, Whit Blauvelt wrote: > Is there a way internal to a KVM VM to know which host it's running on? No. The ideal hypervisor is one where the guest doesn't even know it is running as a virtual machine. And consider live migration - a guest might not be running on the same hos

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Brian K. White
On 2/2/2012 1:41 PM, Bryan Kearney wrote: On 02/02/2012 01:33 PM, Whit Blauvelt wrote: Is there a way internal to a KVM VM to know which host it's running on? It could send a command via ssh to virsh on a host, and learn from that whether the host currently has it running. But is there somethin

Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Bryan Kearney
On 02/02/2012 01:33 PM, Whit Blauvelt wrote: Is there a way internal to a KVM VM to know which host it's running on? It could send a command via ssh to virsh on a host, and learn from that whether the host currently has it running. But is there something within the VM itself which will reveal th

[libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Whit Blauvelt
Is there a way internal to a KVM VM to know which host it's running on? It could send a command via ssh to virsh on a host, and learn from that whether the host currently has it running. But is there something within the VM itself which will reveal this? Thanks, Whit __

[libvirt-users] I want to ask How can I get something like id, uuid, its dom0 in the domU ?

2012-02-02 Thread Ming Q
hello! I'm new here. I want to ask How can I get something like id, uuid, its dom0 in the domU ? ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users