[CentOS-virt] KVM, virsh attach-disk problems

2011-04-23 Thread Jussi Hirvi
Greetings, list! I hope you forgive cross-posting - I only now found this list. I am in the process of configuring a KVM stack of about 8 vms. Mostly I am concerned about performance, as there will be a lot of I/O. My last problem is this: I try to add a fresh, unformatted disk partition to a

[CentOS-virt] Extract ip address from a kvm guest

2011-04-23 Thread carlopmart
Hi all, Somebody knows how can I extract/know an ip address used by a kvm guest using a script?? For example I have the following guests: [root@kvmsrv01 bin]# virsh list --all Id Name State -- 1 linclunode01 running 2 linmgmt

Re: [CentOS-virt] Extract ip address from a kvm guest

2011-04-23 Thread Mark Pryor
--- On Sat, 4/23/11, carlopmart carlopm...@gmail.com wrote: From: carlopmart carlopm...@gmail.com Subject: [CentOS-virt] Extract ip address from a kvm guest To: centos-virt@centos.org Date: Saturday, April 23, 2011, 8:07 AM Hi all,   Somebody knows how can I extract/know an ip address

Re: [CentOS-virt] Extract ip address from a kvm guest

2011-04-23 Thread carlopmart
On 04/23/2011 07:32 PM, Mark Pryor wrote: --- On Sat, 4/23/11, carlopmartcarlopm...@gmail.com wrote: From: carlopmartcarlopm...@gmail.com Subject: [CentOS-virt] Extract ip address from a kvm guest To: centos-virt@centos.org Date: Saturday, April 23, 2011, 8:07 AM Hi all, Somebody

Re: [CentOS-virt] Extract ip address from a kvm guest

2011-04-23 Thread Akemi Yagi
On Sat, Apr 23, 2011 at 10:46 AM, carlopmart carlopm...@gmail.com wrote: On 04/23/2011 07:32 PM, Mark Pryor wrote: --- On Sat, 4/23/11, carlopmartcarlopm...@gmail.com  wrote:    Somebody knows how can I extract/know an ip address used by a kvm etc)?? I don't use a dhcp or dns server on

[CentOS-virt] A question about memory ballooning

2011-04-23 Thread carlopmart
Hi all, How can I manage automatically memory ballooning under a kvm host (C5.6 and future C6)?? For example if I define a kvm guest to boot up with 512MB of RAM and I have configured 1GB as a maximum memory for this guest, how can I allocate this memory when guest will need it?? And the

Re: [CentOS-virt] Confused by qemu-img convert [OFFLIST]

2011-04-23 Thread William Kern
On 4/22/11 10:18 PM, MargoAndTodd wrote: I have a bunch of virtual machines running under Virtual Box 3.2.12. I want to run them under KVM and drop Virtual Box from these systems. Hi. I am curious why you are making the switch out of VirtualBox. We are beginning to test it with the new

Re: [CentOS-virt] Extract ip address from a kvm guest

2011-04-23 Thread Manuel Wolfshant
On 04/23/2011 09:27 PM, carlopmart wrote: Arpwatch is a correct solution when host and guests are in the same network, but in my environment, they are in different nets with a firewall in the middle... I run arpwatch on the core router which sits between all VLANs

Re: [CentOS-virt] Confused by qemu-img convert [OFFLIST]

2011-04-23 Thread William Kern
hehe, not as offlist as I would of liked grin but the question remains. -bill On 4/23/2011 6:09 PM, William Kern wrote: On 4/22/11 10:18 PM, MargoAndTodd wrote: I have a bunch of virtual machines running under Virtual Box 3.2.12. I want to run them under KVM and drop Virtual Box from these

Re: [CentOS-virt] Confused by qemu-img convert [OFFLIST]

2011-04-23 Thread MargoAndTodd
On 04/23/2011 06:09 PM, William Kern wrote: On 4/22/11 10:18 PM, MargoAndTodd wrote: I have a bunch of virtual machines running under Virtual Box 3.2.12. I want to run them under KVM and drop Virtual Box from these systems. Hi. I am curious why you are making the switch out of VirtualBox. We

Re: [CentOS-virt] Extract ip address from a kvm guest

2011-04-23 Thread Cameron Kerr
And if you can't run arpwatch on such router, you could try SNMP to query the ARP table on the router. On 24/04/2011, at 1:35 PM, Manuel Wolfshant wrote: On 04/23/2011 09:27 PM, carlopmart wrote: Arpwatch is a correct solution when host and guests are in the same network, but in my

Re: [CentOS-virt] Confused by qemu-img convert

2011-04-23 Thread William Kern
VBox 4.x is slower than 3.2.12. I can not take any more performance hits. I am still on 3.2.12 for the same reason you are using old-out-of-date Enterprise Linux. 8478 corrupted the hell out of a Visual Fox Pro and and M$SQL 2008 database. hmm. interesting experience you had. Sorry you had

Re: [CentOS-virt] KVM, virsh attach-disk problems

2011-04-23 Thread Jussi Hirvi
Maybe my question is difficult, though it should not be. Virsh attach-disk seems to be poorly documented. One correction: this was definitely not my last problem - it was only the latest. :-) Now I continue configuring my kvm system with the traditional way - one filesystem per guest. -