Hello friends,<br> <br>i am new to kvm hypervisor. i have successfully created cloud with xen hypervisor.<br><br>my configuration of two system has been shown below:<br>Cloud front end:<br>Hypervisor: XEN<br>OS: Centos 5.5<br>
<br>host<br>Hypervisor: KVM(VT bit enabled in BIOS)<br>OS: Centos 5.5<br><br>With above configuration i have successfully add the host. looks like with onehost show command:<br>HOST 1 INFORMATION <br>
ID : 1 <br>NAME : host2 <br>STATE : MONITORED <br>IM_MAD : im_kvm <br>VM_MAD : vmm_kvm <br>
TM_MAD : tm_ssh <br><br>HOST SHARES <br>MAX MEM : 1007348 <br>USED MEM (REAL) : 291660 <br>
USED MEM (ALLOCATED) : 0 <br>MAX CPU : 200 <br>USED CPU (REAL) : 0 <br>USED CPU (ALLOCATED) : 0 <br>RUNNING VMS : 0 <br>
<br>MONITORING INFORMATION <br>ARCH=i686<br>CPUSPEED=2000<br>ERROR=[<br> MESSAGE="Error monitoring host 1 : MONITOR FAILURE 1 -<br>",<br> TIMESTAMP="Wed May 16 16:05:47 2012" ]<br>
FREECPU=200.0<br>FREEMEMORY=715688<br>HOSTNAME=localhost.localdomain<br>HYPERVISOR=kvm<br>MODELNAME="Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz"<br>NETRX=0<br>NETTX=0<br>TOTALCPU=200<br>TOTALMEMORY=1007348<br>USEDCPU=0.0<br>
USEDMEMORY=291660<br><br>now, i am trying to create VM from the following document<br><a href="http://opennebula.org/documentation:archives:rel3.0:vmg">http://opennebula.org/documentation:archives:rel3.0:vmg</a><br><br>when i had execute the onevm create command, it gives me error like "unknown type OS hvm"<br>
the oned.log has been shown below:<br><br>Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG D 10 tm_clone.sh: darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090 host2:/srv/cloud/one/var//10/images/disk.0<br>
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG D 10 tm_clone.sh: DST: /srv/cloud/one/var//10/images/disk.0<br>Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh: Creating directory /srv/cloud/one/var//10/images<br>
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh: Executed "ssh host2 mkdir -p /srv/cloud/one/var//10/images".<br>Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh: Cloning darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090<br>
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh: Executed "scp darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090 host2:/srv/cloud/one/var//10/images/disk.0".<br>Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh: Executed "ssh host2 chmod a+rw /srv/cloud/one/var//10/images/disk.0".<br>
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 ExitCode: 0<br>Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "mkdir -p /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".<br>
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "cp -R /srv/cloud/one/var/10/context.sh /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".<br>Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "cp -R /tty/init.sh /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".<br>
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "cp -R /srv/id_rsa.pub /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".<br>Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "mkisofs -o /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/disk.1 -J -R /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".<br>
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "scp /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/disk.1 host2:/srv/cloud/one/var//10/images/disk.1".<br>Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh: Executed "rm -rf /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af".<br>
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 ExitCode: 0<br>Wed May 16 16:41:39 2012 [TM][D]: Message received: TRANSFER SUCCESS 10 -<br>Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//10/images/deployment.0 host2 10 host2; else exit 42; fi'<br>
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 error: Failed to create domain from /srv/cloud/one/var//10/images/deployment.0<br>Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 error: unknown OS type hvm<br>
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG E 10 Could not create domain from /srv/cloud/one/var//10/images/deployment.0<br>Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 ExitCode: 255<br>Wed May 16 16:41:41 2012 [VMM][D]: Message received: DEPLOY FAILURE 10 Could not create domain from /srv/cloud/one/var//10/images/deployment.0<br>
<br>so, please guide me where i am doing mistake?<br>