Hi all, I've started playing with kvm on CentOS 5.5, with not much success so far. In a nutshell, I have the same problem as http://lists.centos.org/pipermail/centos-virt/2010-April/001854.html I followed the RHEL5 virtualization guide to set up a bridge interface br0, and then used virt-install (rather than virt-manager - I like automation) to set up the vm. It hangs at some point. The command line is slightly modified from the one I was using with xen. Running it with -d shows that the correct hypervisor is used and the network install source is found. Otherwise, I'm fresh out of ideas. # lsmod|grep kvm kvm_intel 86920 0 kvm 226208 2 ksm,kvm_intel # uname -a Linux x3250 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux # virt-install -r 512 -n test -f /dev/vol0/lvol4 --nographics --os-type=linux --os-variant=rhel5.4 --accelerate -w bridge:br0 -l http://centos/centos/x86_64 -x ks=http://centos/centos/kickstart/ks.test.cfg -m 00:16:3e:30:4d:80 Starting install... Retrieving file .treeinfo... | 417 B 00:00 Retrieving file vmlinuz... | 1.9 MB 00:00 Retrieving file initrd.img... | 7.7 MB 00:00 Creating domain... | 0 B 00:00 Connected to domain test Escape character is ^] --------------------------------------------------------------- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. ---------------------------------------------------------------
On 06/09/10 15:31, Lars Hecking wrote:> Hi all, > > I've started playing with kvm on CentOS 5.5, with not much success so far. > In a nutshell, I have the same problem as > http://lists.centos.org/pipermail/centos-virt/2010-April/001854.html > > I followed the RHEL5 virtualization guide to set up a bridge interface br0, > and then used virt-install (rather than virt-manager - I like automation) to > set up the vm. It hangs at some point. The command line is slightly modified > from the one I was using with xen. Running it with -d shows that the correct > hypervisor is used and the network install source is found. Otherwise, I'm > fresh out of ideas. > > # lsmod|grep kvm > kvm_intel 86920 0 > kvm 226208 2 ksm,kvm_intel > # uname -a > Linux x3250 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux > # virt-install -r 512 -n test -f /dev/vol0/lvol4 --nographics --os-type=linux --os-variant=rhel5.4 --accelerate -w bridge:br0 -l http://centos/centos/x86_64 -x ks=http://centos/centos/kickstart/ks.test.cfg -m 00:16:3e:30:4d:80 > > > Starting install... > Retrieving file .treeinfo... | 417 B 00:00 > Retrieving file vmlinuz... | 1.9 MB 00:00 > Retrieving file initrd.img... | 7.7 MB 00:00 > Creating domain... | 0 B 00:00 > Connected to domain test > Escape character is ^] >Try setting up vnc and use a vnc viewer to administer the guest. IIRC you're connected to the serial console of the guest, so if your software isn't setup to use the serial port nothing will happen (or output only garbage). Glenn
On Wed, Jun 9, 2010 at 7:01 PM, Lars Hecking <lhecking at users.sourceforge.net> wrote:> > ?I've started playing with kvm on CentOS 5.5, with not much success so far. > ?In a nutshell, I have the same problem as > ?http://lists.centos.org/pipermail/centos-virt/2010-April/001854.html >I have not yet deployed any KVM on CentOS as host OS. However, I have a few production KVM guest OS installs (CentOS 5.3) deployed on openSUSE 11.2 as host; I am running DNS/DHCP and openLDAP running on the guests. My KVM guests are deployed in small IT shops with 100 nodes max. where there is no full time IT support. So I have sort of put together my own KVM management system (I am not using libvirtd and associated tool set). The guest KVMs are started/shutdown during host OS system boot/shutdwon via my own /etc/init.d/kvminit script. So far no issues with service availability. -- Arun Khan