Hi Erico,
first of all, thank you for your reply. I've edited my template file for the contextualization, now it looks like this:
NAME = ttylinux
CPU = 0.1
MEMORY = 64
DISK = [SOURCE = "/var/lib/one/images/ttylinux.img", TARGET = "hda"]
NIC = [ NETWORK = "Small network" ]
FEATURES=[ acpi="no" ]
GRAPHICS = [
TYPE = "VNC",
LISTEN = "0.0.0.0"
]
CONTEXT = [
hostname = "$NAME",
ip_public = "$NIC[IP, NETWORK = \"Small network\"]",
files = "/var/lib/one/images/init.sh /var/lib/one/images/id_rsa.pub",
target = "hdc",
root_pubkey = "id_rsa.pub",
username = "opennebula",
user_pubkey = "id_rsa.pub"
]
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 :
CPU = 0.1
MEMORY = 64
DISK = [SOURCE = "/var/lib/one/images/ttylinux.img", TARGET = "hda"]
NIC = [ NETWORK = "Small network" ]
FEATURES=[ acpi="no" ]
GRAPHICS = [
TYPE = "VNC",
LISTEN = "0.0.0.0"
]
CONTEXT = [
hostname = "$NAME",
ip_public = "$NIC[IP, NETWORK = \"Small network\"]",
files = "/var/lib/one/images/init.sh /var/lib/one/images/id_rsa.pub",
target = "hdc",
root_pubkey = "id_rsa.pub",
username = "opennebula",
user_pubkey = "id_rsa.pub"
]
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 :
$> cd /usr/share/one $> sudo ./install_novnc.sh
Ubuntu says it's an unknown command.
Best Regards
Gesendet: Dienstag, 03. Juli 2012 um 17:10 Uhr
Von: "Erico Augusto Cavalcanti Guedes" <e...@cin.ufpe.br>
An: "Bendix Harries" <br4ve...@web.de>
Cc: users@lists.opennebula.org
Betreff: Re: [one-users] Can't ssh to vm (no route to host)
Von: "Erico Augusto Cavalcanti Guedes" <e...@cin.ufpe.br>
An: "Bendix Harries" <br4ve...@web.de>
Cc: users@lists.opennebula.org
Betreff: Re: [one-users] Can't ssh to vm (no route to host)
Hi Bendix,
2012/7/3 Bendix Harries <br4ve...@web.de>
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.
Another action that you should perform is sunstone configuration[2]. It will really helps you with IPs troubleshooting . Insert
GRAPHICS = [
TYPE = "vnc",
LISTEN = "0.0.0.0"
]
on your VM template file, and follow instructions presented on[2], related to access VMs through VNC.
Erico.
[1] http://www.opennebula.org/documentation:rel3.4:cong
[2]http://www.opennebula.org/documentation:rel3.4:sunstone
Hi,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.
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.
Another action that you should perform is sunstone configuration[2]. It will really helps you with IPs troubleshooting . Insert
GRAPHICS = [
TYPE = "vnc",
LISTEN = "0.0.0.0"
]
on your VM template file, and follow instructions presented on[2], related to access VMs through VNC.
Erico.
[1] http://www.opennebula.org/documentation:rel3.4:cong
[2]http://www.opennebula.org/documentation:rel3.4:sunstone
Onevnet looks like:VIRTUAL NETWORK 0 INFORMATION
ID : 0
NAME : Small network
USER : oneadmin
GROUP : oneadmin
TYPE : FIXED
BRIDGE : br0
VLAN : No
USED LEASES : 1
PERMISSIONS
OWNER : um-
GROUP : ---
OTHER : ---
VIRTUAL NETWORK TEMPLATE
USED LEASES
LEASE=[ IP=XXX.XXX.177.150, MAC=02:00:93:ac:b1:96, USED=1, VID=16 ]
FREE LEASES
LEASE=[ IP=XXX.XXX.177.151, MAC=02:00:93:ac:b1:97, USED=0, VID=-1 ]And my template file:NAME = ttylinux
CPU = 0.1
MEMORY = 64
DISK = [SOURCE = "/var/lib/one/images/ttylinux.img", TARGET = "hda"]
NIC = [ NETWORK = "Small network" ]
FEATURES=[ acpi="no" ]
#CONTEXT = [
# hostname = "$NAME",
# ip_public = "XXX.XXX.177.152",
# files = "/var/lib/one/images/init.sh /var/lib/one/images/id_rsa.pub",
# target = "hdc",
# root_pubkey = "id_rsa.pub",
# username = "opennebula",
# user_pubkey = "id_rsa.pub"
#]I'm not quite sure about the contextarea, whether to use it or not, because I thought I read it's optional.
Further more my network interfaces look like this:auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_maxwait 0
bridge_fd 9
bridge_maxage 0
bridge_hello 0Would be great if somebody could help me out.Best regards
Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.
https://produkte.web.de/freemail_mobile_startseite/
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android. https://produkte.web.de/freemail_mobile_startseite/ |
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org