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

2010-11-13 Thread 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 officially supported from RHEL/CentOS 5.5.

Re: [CentOS-virt] Can I mix kvm and virtual box?

2010-11-13 Thread Mathieu Baudier
If you manually install virtualbox, you can unload the kvm module manually and load the virtual box modules. You can't have both loaded at the same time (at least not that I know of), but you can unload one and load the other. Concretely, before running VirtualBox, run: sudo /sbin/modprobe -r

[CentOS-virt] IP aliases from a QEMU/KVM guest

2010-08-13 Thread Mathieu Baudier
Hello, I'm trying to set up IP aliases within a QEMU/KVM guest on CentOS 5.5 x86_64, going through a bridged virtualized interface. The virtualized interface in the guest is configured as follow: # ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none PEERDNS=yes GATEWAY=IP.OF.HOST.GATEWAY

Re: [CentOS-virt] IP aliases from a QEMU/KVM guest

2010-08-13 Thread Mathieu Baudier
On first reading I thought eth1 would have been your second interface within the guest, besides eth0. Meanwhile I think you just skipped eth0. There is a eth0 interface, but it is connected to the internal NAT network of libvirt. That way I have a LAN between my guests and eth1 is used for

Re: [CentOS-virt] IP aliases from a QEMU/KVM guest

2010-08-13 Thread Mathieu Baudier
NETMASK=255.255.255.255? it surprised me as well first, but that is what OVH recommends and it works fine with virtual interfaces ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt

[CentOS-virt] IP based VirtualHost: IP aliases vs. additional virtual interfaces

2010-08-10 Thread Mathieu Baudier
Hi, I have a virtualized infrastructure based on KVM/QEMU with CentOS 5.5 x86_64 hosts and guests, using bridge networking. I want to set up IP based VirtualHosts in Apache (because they will use SSL) and I have ordered an IP block. Now, in order to have the IPs available on some guests, I'm

Re: [CentOS-virt] IP based VirtualHost: IP aliases vs. additional virtual interfaces

2010-08-10 Thread Mathieu Baudier
You don't have to restart the guest to add or remove aliases: yes I am aware of that, and that's why I'm wondering whether it is better to use aliases rather than to add virtual interfaces (which does require to restart guests with our KVM version, no hot-plug I think). But is there any

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
yes, you can add / remove disks to a VM without restarting the guest. look at the xm block-attach  / block-detach commands My understanding is that xm is Xen specific (I'm using Qemu/KVM) I tried with virsh: virsh # attach-disk 6 /dev/mapper/vg_alma_fast-lv_test_virtlvm2 vdb Disk attached

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
You also need to tell the guest that a new device exists... Unless it (the guest) has some hotswap abilities Do you know how I can do that? I reinstalled the guest (CentOS 5.4 x86_64, just as the host) with the default non-desktop groups, but it still doesn't see when I attach a disk. I

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
something along          echo - - - /sys/class/scsi_host/hostX/scan  // yes, the - must be there ! Unfortunately there is nothing under scsi: [r...@localhost ~]# ll /sys/class/scsi_* /sys/class/scsi_device: total 0 /sys/class/scsi_disk: total 0 /sys/class/scsi_host: total 0 I also tried

Re: [CentOS-virt] QEMU/KVM: SELinux denial on /dev/zero when starting a VM

2010-01-08 Thread Mathieu Baudier
SELinux is preventing qemu-kvm (qemu_t) execute to /dev/zero (zero_device_t). (full alert below) I thought that maybe the latest selinux-policy update would fix this, but after updating and 'sudo /sbin/restorecon -v /dev/zero' again, I still have the same SELinux denial. I browsed the CentOS

[CentOS-virt] QEMU/KVM: SELinux denial on /dev/zero when starting a VM

2010-01-04 Thread Mathieu Baudier
Hi, on an up to date CentOS 5.4 x86_64 (test machine), I systematically get the following SELinux denial when I start a QEMU/KVM virtual machine via virt-manager: SELinux is preventing qemu-kvm (qemu_t) execute to /dev/zero (zero_device_t). (full alert below) Running the command suggested by