[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. -

Re: [CentOS] can not install CentOS as VM in KVM

2011-04-23 Thread Jussi Hirvi
On 6.4.2011 15.44, Michael Zoet wrote: I am trying to install CentOS 5.5 as VM on a KVM server running Ubuntu 10.04. The Problem: the installer does not find the iso image. (Direct copy from website downlod.) I can start CentOS from the iso and can even do some disk checks. But when I go

Re: [CentOS] KVM, virsh attach-disk error

2011-04-23 Thread Jussi Hirvi
Now I could attach a disk to the KVM guest, using a virtio driver: [root@113 info]# virsh attach-disk test1 /dev/sdd1 vdb --driver virtio --mode shareable Disk attached successfully I have not seen any mention anywhere about using virtio drivers like this. Here /dev/sdd is a separate disk,

Re: [CentOS] KVM, virsh attach-disk error

2011-04-23 Thread Kai Schaetzl
FYI: there is a list centos-virt. Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Still a kvm problem after 5.6 upgrade

2011-04-23 Thread David McGuffey
On Fri, 2011-04-22 at 06:50 -0400, David McGuffey wrote: On Fri, 2011-04-22 at 06:18 -0400, Daniel J Walsh wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/21/2011 09:47 PM, David McGuffey wrote: On Thu, 2011-04-21 at 21:09 -0400, David McGuffey wrote: On Thu,

Re: [CentOS] KVM, virsh attach-disk error

2011-04-23 Thread Jussi Hirvi
On 23.4.2011 13.31, Kai Schaetzl wrote: FYI: there is a list centos-virt. Thanks for the tip! I am going to cross-post (sorry) my current questions, but I still welcome answers on this list. - Jussi ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] yum install oprofile-gui

2011-04-23 Thread Nicolas Thierry-Mieg
Frank Chang wrote: Nicolas Thierry-Mieg, We followed your instructions to yum install oprofile-gui. We were able to install oprofile-guii.i386 0:0.9.4-15.el5.centos and oprofile.i386 0.0.9.4.15.el.5.centos. I was wondering what our next step should be. I tried ./configure

Re: [CentOS] yum install oprofile-gui

2011-04-23 Thread Kai Schaetzl
Frank Chang wrote on Sat, 23 Apr 2011 11:56:31 -0400: Kai Schaelzl, I think I underdetstand your email. Yes, I am replying to a digest version. Could you suggest another client which we could use the emails are arranged by threads. No, if you are replying to the digest version there is no

[CentOS] random roundoff?

2011-04-23 Thread Michael D. Berger
On my CentOS 5 box, in a C++ program that does much arithmetic, including numerous matrix multiplications, I have a situation in in which the result depends on the nature of nearby I/O. Thus, with all arithmetic done with type double, and where values are mostly in the range [-1.0e0,+1.0e0] or

[CentOS] Re; Valgrind/Callgrind 3.6.1 does not appear to work on Centos Linux 5.5

2011-04-23 Thread Frank Chang
Tru Huynh, Thank you for your reply. When I enter uname -a I obtain the following output: Linux localhost.localdomain 2.6.18-194.26.1.el5PAE #1 SMP Tue Nov 9 13:34:42 EST 2010 i686 i686 i386 GNU/Linux. This information indicates we are using x86_32 architecture rather than a x86_64