similar to: Launch scripts after kvm guest starts and before kvm guest stops

Displaying 20 results from an estimated 60000 matches similar to: "Launch scripts after kvm guest starts and before kvm guest stops"

2011 May 13
2
Discover what vnet is attached to a kvm guest
Hi all, How can I see what vnet is attached to a certain kvm guest?? For example: I have a kvmguest1. When I launch this guest with virsh command, virsh creates a new vnetX interface for this guest. How can I extract this virtual net interface (vnet0, vnet1, vnet2 or so on) using a script?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2013 Oct 08
1
Avoid sharing interrupts under kvm guest
Hi all, How can I avoid sharing interrupts in a kvm guest? I have installed a debian 7 guest in a centos 6.4 host with 5 virtio vnics and 2 virtio disks and irq11 is used by eth2, eth3, eth4 and irq10 eth0, eth1 ... Is it possible to avoid this situation?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2011 Apr 23
2
Extract ip address from a kvm guest
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 at kvmsrv01 bin]# virsh list --all Id Name State ---------------------------------- 1 linclunode01 running 2 linmgmt running 5 win7desktop running I know that linclunode01 has 172.25.50.1 as
2009 Dec 11
5
About doing backups with kvm guests
Hi all, I have two centos 5.4 servers that I use to run several windows kvm guests (10). All works ok (more or less) but I have a problem with backups. These windows guests are configured to use lvm partitions as a virtual disks. My problem is when I need to do guests backups. which is the best form to backup and restore these windows guests? Some examples? I see snapshot's lvm
2010 Feb 17
1
Which driver interface do I need to install Windows 2008 R2 as a KVM guest?
Hi all, With the latest kvm updates, somebody have tried to install windows 2008 R2/windows 7 as a kvm guest using e1000 or virtio net driver?? Works with the windows installer?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2010 Feb 26
1
Sound and VGA resolution for KVM guests
Hi all, Recentlly, I have installed a Windows 7 Enterprise kvm guest under a CentOS 5.4 kvm host (fully updated) using virtio drivers and all works ok except two things: sound and vga resolution. a) How can I increase vga resolution to 1440x900 or is not possible to configure more than 1024x768 when virt-manager is used?? b) I have assigned a sound device to this windows guest (ac97)
2010 Mar 16
2
What kernel params to use with KVM hosts??
Hi all, I order to reach maximum performance on my centos kvm hosts I have use these params: - On /etc/grub.conf: kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=LABEL=/ elevator=deadline quiet - On sysctl.conf # Special network params net.core.rmem_default = 8388608 net.core.wmem_default = 8388608 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216
2007 Oct 12
1
OT: a very big problem with ipsec-tools on CentOS5 (SOLVED)
Buf ... Solved. Problem was that /etc/pam.d/racoon doesn't exists (I found this tip on NetBSD ipsec pages). Simply I have copied /etc/pam.d/passwd to /etc/pam.d/racoon and now all works as expected. Many thanks for your help Ross. Ross S. W. Walker wrote: > > I think it might just use another one like /etc/pam.d/remote > cause I audited the package and it wasn't there.
2006 Aug 21
0
[Fwd: Re: Connecting CentOS to IPSEC VPN (Checkpoint FW1)]
Sorry Dag, it is possible to use linux as a roadwarrior client: http://www.fw-1.de/aerasec/ng/vpn-racoon/CP-VPN1-NG-Linux-racoon-roadwarrior.html -------- Original Message -------- Subject: Re: [CentOS] Connecting CentOS to IPSEC VPN (Checkpoint FW1) Date: Mon, 21 Aug 2006 15:20:55 +0200 From: carlopmart <carlopmart at gmail.com> To: CentOS mailing list <centos at centos.org>
2010 Feb 18
1
Moving vmware guests to a CentOS KVM server
Hi all, I need to move ten CentOS/RHEL 5.4 vmware guests from a vmware ESXi 4 host to a CentOS 5.4 KVM host (fully patched). But I have two doubts. First: all these guests have two e1000 network drivers defined as a eth0,eth1 and modprobe.conf file is the same on all: alias eth0 e1000 alias eth1 e1000 alias net-pf-10 off options ipv6 disable=1 Can I change e1000 driver to
2010 May 03
0
Maximum disks to allocate on kvm guests
Hi all, Somebody knows how many virtio disks can be allocated for one kvm guest?? I am searching on redhat's docs about this without luck. Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2008 Jun 20
1
kvm under centos5.1/5.2
Hi all, Somebody have tried kvm under centos 5/5.1/5.2?? How stable and usable is it?? Any tip?? After redhat news about support kvm in the future I think that software will be more releveant in virtulized environments. Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2008 Jul 10
2
Any news about next kvm release for centos 5.2?
Hi all, Which will be next stable release for CentOS 5.2?? Can i use on a production enviromment?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2013 Sep 24
2
USB redirection under CentOS 6.4
Hi all, Does usb redirection works?? I am trying to assign to a Win7 kvm guest an usb HP printer without luck ... My second attempt is to use usb redirection, but according to Redhat's docs, this option is only available for windows using RHEV ... Is this correct?? Exists another tool to assign a printer via usb to a kvm guest?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2007 Nov 18
2
Launching X-Windows at different runelvels
Hi all, I need to launch X-Windows at runlevel 4 and 5. CentOS only start up x-windows at runlevel by default. I have modified /etc/inittab to accomplish this: x:4:respawn:/etc/X11/prefdm -nodaemon x:5:respawn:/etc/X11/prefdm -nodaemon But this returns errors every time that start and stop system ... Which is the correct form to launch x-windows under centos at different runlevels?? Many
2011 Jan 28
2
OT: Recommendations for a virtual storage server
Hi all, I need to install a virtual machine acting as a virtual storage server under CentOS 5.x (using kvm, xen, virtualbox or vmware). This virtual storage machine needs to server storage to another ESXi server and at the same time to the host where is installed. This is due to the limitations of hardware I have available. Both hosts needs to server several machines. It is very
2011 May 11
0
KVM switch in promiscuous mode
Hi all, I am trying to enable promiscuous mode on a kvm switch due to sniff all traffic using snort installed on a kvm guest. I have found a partial solution configuring this bridge with "brctl setaging br0 0", but all vms sees all traffic. I think the soultion is using ebtables but I didn't found any doc about how can I do under kvm (and upstream recommends disable this
2009 Jun 18
0
About using KVM with centos 5.x
Hi all, Somebody have tried latest kvm release (kvm-85) under test or production environments?? I need some inputs about using kvm to deploy varios linux vm guests (centos, rhel, sles and ubuntu) and windows guests (windows 2003 and 2008) using kvm. Any special considerations?? Any tips?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2013 Mar 16
1
Problems with qemu img disks allocated in a nfs share
Hi all, I have a strange problem with qemu img disks allocated in a nfs share on a CentOS 6.4 host. Every time when I try to start a vm this error appears: char device redirected to /dev/pts/1 qemu-kvm: -drive file=/data/vmachines/win2k12adsrv/win2k12vol01.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: could not open disk image /data/vmachines/win2k12adsrv/win2k12vol01.img:
2011 Apr 23
4
A question about memory ballooning
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 opposite question, can memory balloon be deallocated?? And is it possible to do this automatically or