Re: [CentOS-virt] using an lvm for kvm vm

2011-02-13 Thread Kenni Lund
2011/2/13 Dennis Jacobfeuerborn : > On 02/13/2011 09:27 AM, Nataraj wrote: >> Is there a simple way to directly install a vm on an lvm (or proably >> seperate LVM's for root and swap)?   For example something like: Use a volume group as a storage pool in virsh/virt-manager: http://docs.redhat.com/

Re: [CentOS-virt] iTunes?

2011-02-12 Thread Kenni Lund
2011/2/13 MargoAndTodd : > On 02/12/2011 05:30 PM, Kenni Lund wrote: >> 2011/2/13 MargoAndTodd: >>> Eventually, I am going to remove Virtual Box from my and all >>> my customer's machines in favor of KVM.  So the Harmony may >>> be short lived if KVM

Re: [CentOS-virt] iTunes?

2011-02-12 Thread Kenni Lund
2011/2/13 MargoAndTodd : > Eventually, I am going to remove Virtual Box from my and all > my customer's machines in favor of KVM.  So the Harmony may > be short lived if KVM does not also support USB as well > as Virtual Box 4.0.x. KVM only supports emulated USB 1.1 at the moment, all USB devices

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Thomas Smith : > I am coming into this discussion a little late, so apologies if I ask for > any information previously provided. > I can help you with this, but I'll need to know the domU's file system > layout to do so. Can you send the output of the following commands? > * fdisk -l > *

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Poh Yong Hwang : > Hi Kenni, > Sorry i might have miss it but if i do a man of qemu-img, i do not see > resize option. I only see create, convert, commit and info. Ohh, I'm sorry then :( Guess the qemu-img version in CentOS 5 just is too old... qemu-img *is* the tool you want, neverthele

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Poh Yong Hwang : > Hi, > Thanks but my issue is i do not have enough diskspace to create another > partition of the size that i needed. Is there a way for me to reduce the > actual image size? Yes, like I wrote 10 minutes ago: qemu-img resize Best regards Kenni __

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Poh Yong Hwang : > Hi, > I have an issue. I have already resize the partition using Gparted. Now how > can i resize the actual image size in virtual manager? I do not see any > option for me to change the size of the allocated hard disk. You're probably looking for the resize feature of t

Re: [CentOS-virt] IBM GPFS filesystem

2010-12-02 Thread Kenni Lund
2010/12/2 Fabian Arrotin : > Why would so much people use a clusterfs for Virtualization ? > Just use lvm and a logical volumes for your guests. No filesystem > overhead and better performances. ...live migration...? ___ CentOS-virt mailing list CentOS-v

Re: [CentOS-virt] what scheduling algorithm does KVM use?

2010-11-18 Thread Kenni Lund
2010/11/19 Nick : > Thanks for the quick reply. > > On 18/11/10 23:45, Kenni Lund wrote: >> The good thing about KVM compared to other virtualization solutions, >> is that KVM doesn't try to reinvent the wheel. It leaves scheduling to >> the Linux kernel, so whatev

Re: [CentOS-virt] What are KVM guest cores?

2010-11-18 Thread Kenni Lund
> Do you have a rule of thumb as to how many core to assign > to a guest?  For instance, with an Intel x5650 with 6 real > and 12 hyperthreaded cores, how many cores would you assign > to the guest? It fully depends on the load of your guests and how many guests you want/need to run on a single se

Re: [CentOS-virt] what scheduling algorithm does KVM use?

2010-11-18 Thread Kenni Lund
2010/11/19 Nick : > The problem with this is that it is obviously more of a constraint to have two > physical CPUs available.  Therefore adding virtual CPUs to a co-scheduled VM > can > actually make performance worse if the physical CPUs are under any sort of > contention.  Performance degrades r

Re: [CentOS-virt] [HOWTO] Running Xen 4.0 host (dom0) with Redhat Enterprise Linux 6 (RHEL6)

2010-11-18 Thread Kenni Lund
2010/11/18 Pasi Kärkkäinen : > Hello, > > If you're interested in running Xen 4.0 hypervisor/dom0 on RHEL6, > take a look at here: http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial > > It explains steps needed to rebuild Xen 4.0.1 src.rpm from Fedora on RHEL6, > and how to fetch dom0 capable 2.6.32.x k

Re: [CentOS-virt] What are KVM guest cores?

2010-11-18 Thread Kenni Lund
2010/11/18 MargoAndTodd : > Hi All, > > What are guest cores in KVM?  Are they fake, like everything else > in the guest? KVM requires VT-x support in your CPU, to get optimal CPU-performance in the guest. Eg. no, it is not emulated like for example the sound card - the virtual CPU uses the hardwa

Re: [CentOS-virt] KVM: where are the directions?

2010-11-14 Thread Kenni Lund
2010/11/14 MargoAndTodd : > On 11/13/2010 07:44 AM, compdoc wrote: >>> $ uname -r -m >>> 2.6.18-194.26.1.el5 i686 >>> >>> $ rpm -qa \*kvm\* >>> kvm-36-1 >>> kmod-kvm-36-3 >>> >>> >>> Not even close to 83.  :-( >> >> My centos 5.5 has kvm 83. I'm not sure how you got that old stuff > > I am 32 bit.

Re: [CentOS-virt] KVM: where are the directions?

2010-11-13 Thread Kenni Lund
2010/11/13 Mathieu Baudier : >> kvm-83. That said, as you've probably already read in the docs, KVM is >> a "technology preview" in RHEL 5.x...6.0 will be the first version >> with official/stable KVM support by Red Hat. > > My understanding is that KVM was tech preview in RHEL/CentOS 5.4 and > off

Re: [CentOS-virt] KVM: where are the directions?

2010-11-13 Thread Kenni Lund
2010/11/13 MargoAndTodd : > On 11/11/2010 01:50 PM, Kenni Lund wrote: >> No, you're not running an old version of qemu-kvm in CentOS. Like most >> other packages, Red Hat has selected an (old and stable) version as >> the baseline version and then backported bugfixes and

Re: [CentOS-virt] KVM: where are the directions?

2010-11-13 Thread Kenni Lund
2010/11/13 MargoAndTodd : > On 11/11/2010 01:50 PM, Kenni Lund wrote: >> You'll never need to run it from the command line, use the available >> management tools (libvirt+virsh from the command line, >> libvirt+virt-manager from X11), it makes your life much much easier.

Re: [CentOS-virt] KVM: where are the directions?

2010-11-11 Thread Kenni Lund
2010/11/11 MargoAndTodd : > On 11/10/2010 08:31 PM, Mark Pryor wrote: >> >> >> --- On Wed, 11/10/10, jaye...@gmail.com  wrote: >> >>> From: jaye...@gmail.com >>> Subject: Re: [CentOS-virt] KVM: where are the directions? >>> To: "Discussion about the virtualization on CentOS" >>> Date: Wednesday, No

Re: [CentOS-virt] Latest KVM for 5.5...

2010-10-04 Thread Kenni Lund
2010/10/2 Tom Bishop : > what I would like to know what is the latest KVM that I can run with 5.5 and Run the qemu-kvm version included with CentOS and use the KVM modules included in the default CentOS kernel - these versions are tweaked to work the best in CentOS/RHEL. > what are the best manag

Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm

2010-07-27 Thread Kenni Lund
2010/7/27 cris rock : > > On the /var/log/libvirt/qemu/p3k0401.log: > > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ > /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401 > -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor > pty -pidfile /var/run/lib

Re: [CentOS-virt] 4 CPU with WinXP on Centos 5.5 KVM?

2010-05-28 Thread Kenni Lund
2010/5/28, Marcelino Mata : > >> > >> > AFAIK KVM will always emulate CPUs not cores. >> > >> In fact, newer qemu/kvm supports "cores" parameter when used >> with smp: >> https://patchwork.kernel.org/patch/33961/ >> >> RHEL6 beta has new kvm and qemu - it is possible to use >> multi-core CPU within

Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-28 Thread Kenni Lund
2010/5/28 compdoc : > Maybe the part about netfilter? > > http://wiki.libvirt.org/page/Networking The part about disabling netfilter on bridges? It is already done, line 78-80: http://pastebin.com/jtTrHLqA ___ CentOS-virt mailing list CentOS-virt@centos

Re: [CentOS-virt] 4 CPU with WinXP on Centos 5.5 KVM?

2010-05-28 Thread Kenni Lund
2010/5/28 Marcelino Mata : > Has anyone had any success getting WinXP 32bit to use 4 CPU's under > Centos 5.5 KVM? > > I have tried everything and the best I can get is 2 CPU's.  I tried > everything listed here > http://www.linux-kvm.com/content/running-windows-smp-guests  I am using > the VIRTIO

Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread Kenni Lund
2010/5/27 Veiko Kukk : > On 05/27/2010 12:21 PM, Aleksei Miheev wrote: >>> Is it typo? >>> There can be no subnet with /32 bit mask, it's single host only. >>> >> >> Actually, it is possible: >> >> ip addr add xxx.yyy.zzz.215/32 dev eth0 >> ip route add xxx.yyy.zzz.193 dev eth0 >> ip route add defa

[CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-25 Thread Kenni Lund
Hi Is it expected behaviour that a libvirt NAT-based network is faster than a libvirt routed network? I would guess that the routed network would be the fastest one in all cases, but I'm seeing the opposite in my setup. On a 100mbit internet connection, the routed network tops at 4mbyte/sec, whil

Re: [CentOS-virt] Moving vmware guests to a CentOS KVM server

2010-02-20 Thread Kenni Lund
2010/2/20 S.Tindall : > > On Sat, 2010-02-20 at 02:41 +0100, Kenni Lund wrote: >> 2010/2/18 compdoc : >> > I would also just use the e1000 emulation. Theres nothing >> > better about the virtio devices... >> >> ...other than lower CPU utilization and hi

Re: [CentOS-virt] Moving vmware guests to a CentOS KVM server

2010-02-19 Thread Kenni Lund
on. Do your own testing if in doubt. Best Regards Kenni Lund ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt

Re: [CentOS-virt] About doing backups with kvm guests

2009-12-16 Thread Kenni Lund
just using qcow2 on top of a Linux filsystem, the qcow2 solution seems much nicer :) Especially now when the qcow2 performance has been highly optimized: http://fedoraproject.org/wiki/Features/KVM_qcow2_Performance https://rhn.redhat.com/errata/RHSA-2009-1659.

Re: [CentOS-virt] About doing backups with kvm guests

2009-12-12 Thread Kenni Lund
2009/12/12 Christopher G. Stach II : > - "Kenni Lund" wrote: > >> I'm also very interested in how to make backups of Windows guests on >> LVM. But will the shadow copy feature in amanda not only backup the >> files within the Windows machine? I don'

Re: [CentOS-virt] About doing backups with kvm guests

2009-12-12 Thread Kenni Lund
e in amanda not only backup the files within the Windows machine? I don't think I fully understand the method - How do you then do a full restore, eg. with no working Windows machine? Would you then have to do a clean install of Windows in order to get the partition and bootloader setup correctly, aft

Re: [CentOS-virt] KVM Support for Windows Server 2003 32 bit ready for production?

2009-12-02 Thread Kenni Lund
2009/12/2 Kenni Lund : > 2009/12/2 Neil Aggarwal : >> I am wondering if KVM is ready for production >> for running a Windows Server 2003 32 bit guest. > Well, the drivers works just fine for 64 bit guests, but they're > tricky to install in their current form, since

Re: [CentOS-virt] KVM Support for Windows Server 2003 32 bit ready for production?

2009-12-02 Thread Kenni Lund
till be fairly good. You you, like me, don't mind a bit of hacking on the initial installation of a Windows Server, running with NIC and block VirtIO drivers should be just as stable (today I'm running VirtIO on all my Windows and Linux systems). Best Regards Kenni Lund ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt

Re: [CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

2009-11-10 Thread Kenni Lund
ead connect the virtual machine to your network, meaning you can request a DHCP address if you have a DHCP server or assign a static IP inside the virtual machine. Best Regards Kenni Lund ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt

Re: [CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

2009-11-10 Thread Kenni Lund
2009/11/10 James B. Byrne : > > On Tue, November 10, 2009 09:16, Kenni Lund wrote: > >> >> You need to configure your virtual machine to use a shared device, >> eg. your bridge. If your client gets a 192.168.122.x address, you've >> setup your virtual machin

Re: [CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

2009-11-10 Thread Kenni Lund
2009/11/10 James B. Byrne : > > On Tue, November 10, 2009 05:34, Kenni Lund wrote: > >> >> Yep, you do want tun/tap. But if you create a regular bridge and >> tells virt-manager or libvirt to use this for your virtual >> machines, virt-manager/libvirt wi

Re: [CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

2009-11-10 Thread Kenni Lund
2009/11/9 James B. Byrne : > Further, do I need tun/tap to host VMs that themselves support > virtual ips? The module for tun I found as part of the base install. >  But I cannot locate the module for ethertap and yum does not tell > me where it is found. Yep, you do want tun/tap. But if you creat

Re: [CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

2009-11-10 Thread Kenni Lund
2009/11/10 James B. Byrne : > > So, it would appear as if kvm-qemu-img is intended as a lightweight > replacement for the full qemu package where all the functionality of > the latter is not required.  However, as I wish to use virt-manager > clearly the full qemu package is required. No, it's not