Hi folks,<br><br>Thanks a lot for the fast and concise response. As i suspected the answer was just in front of my eyes and I did not payed enough attention. Apologies for the noise.<br><br>Thanks especially to Vivek and Carlos, who just pointed at the important fact: <br>
<br>connect via VNC to the host IP, not the VM one.<br><br>Best regards,<br>Samuel.<br><br><div class="gmail_quote">2011/5/25 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Samuel,<br><br>Please take a look at this FAQ entry [1], those are the common connectivity problems.<br>
VNC is the best way to solve this kind of problems, but you have to connect to your physical host IP, not the VM one:<div class="im"><br>
<br> GRAPHICS = [TYPE = "vnc", LISTEN = "0.0.0.0", port="5901"]<br><br></div>Means that the physical host hypervisor will open a VNC server at port 5901, accepting connections from any IP.<br>
<br>
Regards,<br>
Carlos.<br><br>[1] <a href="http://opennebula.org/documentation:community:faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong" target="_blank">http://opennebula.org/documentation:community:faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong</a><br clear="all">
<font color="#888888">
<span style="border-collapse: collapse; color: rgb(136, 136, 136); font-family: arial,sans-serif; font-size: 13px;">--<br>Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color: rgb(255, 255, 204); color: rgb(34, 34, 34);">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.opennebula.org/" style="color: rgb(42, 93, 176);" target="_blank">www.<span style="background-color: rgb(255, 255, 204); color: rgb(34, 34, 34);">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color: rgb(42, 93, 176);" target="_blank">cmartin@<span style="background-color: rgb(255, 255, 204); color: rgb(34, 34, 34);">opennebula</span>.org</a></span><br>
<br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Tue, May 24, 2011 at 6:37 PM, samuel <span dir="ltr"><<a href="mailto:samu60@gmail.com" target="_blank">samu60@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Dear all,<br><br>First of all congratulations for this projects, I've just started using it and looks really promising.<br><br>I've created the simple controller+2nodes following the website documentation (opennebula version 2.2) and the basics seems to work (at cluster level): that is I can create hosts and nets. I'm also using the web front-end sunstone and really simplifies the managing of the underlying structure.<br>
<br>The problem I'm facing is accessing the just created virtual machines. <br>I've downloaded a qcow2 debian instance from <a href="http://people.debian.org/%7Eaurel32/qemu/amd64/" target="_blank">http://people.debian.org/~aurel32/qemu/amd64/</a> and used the next template to create a virtual machine:<br>
<br>NAME=debian.squeeze.qcow2<br>MEMORY=1025<br>CPU=0.5<br><br>OS = [<br> BOOT ="hd",<br> ROOT ="hda"<br> ]<br><br>DISK = [<br> TYPE= "disk",<br> DRIVER="qcow2",<br>
SOURCE = "/srv/cloud/images/qcow/debian_squeeze_amd64_standard.qcow2",<br> TARGET = "hda",<br> CLONE = "no",<br> SAVE = "no"<br> ]<br><br><br> GRAPHICS = [TYPE = "vnc", LISTEN = "0.0.0.0", port="5901"]<br>
NIC = [ NETWORK = "control" ]<br><br> FEATURES=[ acpi="no" ]<br><br>The virtual machine is created (appears as running in the web interface) and from the command line I can see the vm running:<br>
onevm show 26<br>
VIRTUAL MACHINE 26 INFORMATION <br>ID : 26 <br>NAME : debian.squeeze.qcow2<br>STATE : ACTIVE <br>LCM_STATE : RUNNING <br>
START TIME : 05/24 18:20:18 <br>END TIME : - <br>DEPLOY ID: : one-26 <br><br>VIRTUAL MACHINE MONITORING <br>NET_TX : 0 <br>
NET_RX : 0 <br>USED MEMORY : 0 <br>USED CPU : 0 <br><br>VIRTUAL MACHINE TEMPLATE <br>CPU=0.5<br>
DISK=[<br> CLONE=no,<br> DISK_ID=0,<br> DRIVER=qcow2,<br> SAVE=no,<br> SOURCE=/srv/cloud/images/qcow/debian_squeeze_amd64_standard.qcow2,<br> TARGET=hda,<br> TYPE=disk ]<br>FEATURES=[<br> ACPI=no ]<br>GRAPHICS=[<br>
LISTEN=0.0.0.0,<br> PORT=5901,<br> TYPE=vnc ]<br>MEMORY=1025<br>NAME=debian.squeeze.qcow2<br>NIC=[<br> BRIDGE=vbr0,<br> IP=192.168.50.5,<br> MAC=02:00:c0:a8:32:05,<br> NETWORK=control,<br> NETWORK_ID=2 ]<br>OS=[<br>
BOOT=hd,<br> ROOT=hda ]<br>VMID=26<br><br>The problems is that I can not acces the console via virsh:<br>virsh # list<br> Id Nombre Estado<br>----------------------------------<br> 16 one-17 en pausa<br>
21 one-22 en pausa<br> 23 one-26 ejecutando<br><br>virsh # console 23<br>No existe una terminal disponible para el dominio<br><br><br> neither to the VNC access:<br><br>$vncviewer 192.168.50.5<br>
<br>Tue May 24 18:21:02 2011<br> main: unable to connect to host: No route to host (113)<br><br>From the nodes or the controller doing a mtr,ping, nmap it appears as if there is no route to the new IP 192.168.50.5 but the problem is that I don't know what can be wrong. Anyone can point to any documentation or how to debug the connection?<br>
<br>I've also tried to create images from iso files but I'm not 100% sure I've done it right. Is there any documentation about how to create virtual machine from a .iso linux or windows burned CD?<br><br><br>
Thanks a lot in advance and apologies for the size of this email.<br><font color="#888888">
<br>Samuel.<br><br>
</font><br></div></div><div class="im">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>