<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div><br/>
<br/><div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);"><div><div style="font-family: Verdana;font-size: 12.0px;"><div>
Hi Erico,<br/></div><div>first of all, thank you for your reply. I've edited my template file for the contextualization, now it looks like this:<br/></div><div><br/></div><div>NAME = ttylinux<br/>CPU = 0.1<br/>MEMORY = 64<br/><br/>DISK = [SOURCE = "/var/lib/one/images/ttylinux.img", TARGET = "hda"]<br/><br/>NIC = [ NETWORK = "Small network" ]<br/><br/>FEATURES=[ acpi="no" ]<br/><br/>GRAPHICS = [<br/> TYPE = "VNC",<br/> LISTEN = "0.0.0.0"<br/>]<br/><br/>CONTEXT = [<br/> hostname = "$NAME",<br/> ip_public = "$NIC[IP, NETWORK = \"Small network\"]",<br/> files = "/var/lib/one/images/init.sh /var/lib/one/images/id_rsa.pub",<br/> target = "hdc",<br/> root_pubkey = "id_rsa.pub",<br/> username = "opennebula",<br/> user_pubkey = "id_rsa.pub"<br/>]<br/><br/>Is that right so far? I've already added the graphics section to the template before you told me to and I can see the VNC-icon at the sunstone web interface. But when i click on it says only "Submitted VM startvnc: 18" and nothing happens then. I don't know why but for some reasons i wasn't able to install :<br/></div><div><pre class="xterm">$> cd /usr/share/one
$> sudo ./install_novnc.sh</pre><div>Ubuntu says it's an unknown command. <br/></div><div><br/></div><div>Best Regards<br/></div><div><br/></div></div><div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;">
<b>Gesendet:</b> Dienstag, 03. Juli 2012 um 17:10 Uhr<br/>
<b>Von:</b> "Erico Augusto Cavalcanti Guedes" <eacg@cin.ufpe.br><br/>
<b>An:</b> "Bendix Harries" <br4ve_cs@web.de><br/>
<b>Cc:</b> users@lists.opennebula.org<br/>
<b>Betreff:</b> Re: [one-users] Can't ssh to vm (no route to host)
<br/></div>
<div>
Hi Bendix,<br/><br/><div class="gmail_quote">2012/7/3 Bendix Harries <span><<a href="#">br4ve_cs@web.de</a>></span><br/><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,<br/></div><div>I got some issues to ssh or ping to my vm. I don't really know what the problem is, because the vm is running.<br/></div></div></div></blockquote>
<div><br/>Runn status, viewed by "onevm list" output, doesn't means that correct IPs are configured on VMs. I solved this issue performing contextualization[1]. vmcontext.sh file customizes network configuration file to configure VMs with correct IPs.<br/>
<br/>Another action that you should perform is sunstone configuration[2]. It will really helps you with IPs troubleshooting . Insert<br/><br/>GRAPHICS = [ <br/> TYPE = "vnc", <br/> LISTEN = "0.0.0.0"<br/>
]<br/><br/>on your VM template file, and follow instructions presented on[2], related to access VMs through VNC.<br/><br/>Erico.<br/><br/>[1] <a href="http://www.opennebula.org/documentation:rel3.4:cong" target="_blank">http://www.opennebula.org/documentation:rel3.4:cong</a><br/>
[2]<a href="http://www.opennebula.org/documentation:rel3.4:sunstone" target="_blank">http://www.opennebula.org/documentation:rel3.4:sunstone</a><br/> <br/></div><blockquote class="gmail_quote" style="margin: 0.0pt 0.0pt 0.0pt 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;">
<div><div style="font-family: Verdana;font-size: 12.0px;"><div>Onevnet looks like:<br/></div><div><br/></div><div>VIRTUAL NETWORK 0 INFORMATION <br/>ID : 0 <br/>
NAME : Small network <br/>USER : oneadmin <br/>GROUP : oneadmin <br/>TYPE : FIXED <br/>BRIDGE : br0 <br/>VLAN : No <br/>
USED LEASES : 1 <br/><br/>PERMISSIONS <br/>OWNER : um- <br/>GROUP : --- <br/>OTHER : --- <br/>
<br/>VIRTUAL NETWORK TEMPLATE <br/><br/><br/>USED LEASES <br/>LEASE=[ IP=XXX.XXX.177.150, MAC=02:00:93:ac:b1:96, USED=1, VID=16 ]<br/>
<br/>FREE LEASES <br/>LEASE=[ IP=XXX.XXX.177.151, MAC=02:00:93:ac:b1:97, USED=0, VID=-1 ]<br/><br/></div><div>And my template file:<br/></div><div><br/></div><div>
NAME = ttylinux<br/>CPU = 0.1<br/>MEMORY = 64<br/><br/>DISK = [SOURCE = "/var/lib/one/images/ttylinux.img", TARGET = "hda"]<br/><br/>NIC = [ NETWORK = "Small network" ]<br/><br/>FEATURES=[ acpi="no" ]<br/>
<br/>#CONTEXT = [<br/># hostname = "$NAME",<br/># ip_public = "XXX.XXX.177.152",<br/># files = "/var/lib/one/images/init.sh /var/lib/one/images/id_rsa.pub",<br/># target = "hdc",<br/>
# root_pubkey = "id_rsa.pub",<br/># username = "opennebula",<br/># user_pubkey = "id_rsa.pub"<br/>#]<br/><br/></div><div>I'm not quite sure about the contextarea, whether to use it or not, because I thought I read it's optional.<br/>
</div><div>Further more my network interfaces look like this:<br/></div><div><br/></div><div>auto lo<br/>iface lo inet loopback<br/><br/>auto eth0<br/>iface eth0 inet manual<br/><br/>auto br0<br/>iface br0 inet dhcp<br/>bridge_ports eth0<br/>
bridge_stp off<br/>bridge_maxwait 0<br/>bridge_fd 9<br/>bridge_maxage 0<br/>bridge_hello 0<br/><br/></div><div><br/></div><div>Would be great if somebody could help me out.<br/></div><div><br/></div><div>Best regards<br/></div></div>
<br/><br/><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: verdana;font-size: 12.0px;line-height: 17.0px;border-top: 1.0px solid rgb(0,0,0);">Ihr <a href="http://WEB.DE" target="_blank">WEB.DE</a> Postfach immer dabei: die kostenlose <a href="http://WEB.DE" target="_blank">WEB.DE</a> Mail App für iPhone und Android. <br/>
<a href="https://produkte.web.de/freemail_mobile_startseite/" target="_blank"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td></tr></tbody></table>
</div>
<br/>_______________________________________________<br/>
Users mailing list<br/>
<a href="#">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/></blockquote></div><br/>
</div>
</div><div><br/><br/></div></div>
</div><br/>
</div>
<br/></div><div><br/></div></div> <br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td style="font-family:verdana; font-size:12px; line-height:17px;border-top:1px solid #000000">Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android. <br><a href="https://produkte.web.de/freemail_mobile_startseite/"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td></tr></table>
</body></html>