Difference between revisions of "Vnx-labo-opennebula2"
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Title|OpenNebula laboratory}} | {{Title|OpenNebula laboratory}} | ||
+ | |||
+ | |||
+ | |||
+ | * Start the scenario with: | ||
+ | vnx -f opennebula-lxc.xml -v -t | ||
+ | vnx -f opennebula-lxc.xml -v -x config | ||
+ | |||
+ | * Access Sunstone from a web browser connecting to: | ||
+ | http://localhost:9869 | ||
+ | with the user 'oneadmin' and the password stored in file /var/lib/one/.one/one_auth inside frontend node. | ||
+ | # cat one/.one/one_auth | ||
+ | oneadmin:gredvact4Fim | ||
+ | Note: that file is also accesible fron the host: | ||
+ | # cat one/.one/one_auth | ||
+ | oneadmin:gredvact4Fim | ||
+ | |||
+ | Tutorial steps: | ||
+ | * Add hosts from Sunstone or from command line with: | ||
+ | onehost create worker1 -i kvm -v kvm -n dummy | ||
+ | onehost create worker2 -i kvm -v kvm -n dummy | ||
+ | * See the hosts with: | ||
+ | onehost list | ||
+ | onehost top | ||
+ | onehost show 1 | ||
+ | * Download image from OpenNebula Marketplace. Go to Marketplace, select 'ttylinux virtio' image and click on 'import' button. | ||
+ | * Create a virtual network with name=private, bridge=onebr and IP Start=192.168.0.100 and size=100 |
Latest revision as of 02:00, 19 March 2016
OpenNebula laboratory
- Start the scenario with:
vnx -f opennebula-lxc.xml -v -t vnx -f opennebula-lxc.xml -v -x config
- Access Sunstone from a web browser connecting to:
http://localhost:9869
with the user 'oneadmin' and the password stored in file /var/lib/one/.one/one_auth inside frontend node.
# cat one/.one/one_auth oneadmin:gredvact4Fim
Note: that file is also accesible fron the host:
# cat one/.one/one_auth oneadmin:gredvact4Fim
Tutorial steps:
- Add hosts from Sunstone or from command line with:
onehost create worker1 -i kvm -v kvm -n dummy onehost create worker2 -i kvm -v kvm -n dummy
- See the hosts with:
onehost list onehost top onehost show 1
- Download image from OpenNebula Marketplace. Go to Marketplace, select 'ttylinux virtio' image and click on 'import' button.
- Create a virtual network with name=private, bridge=onebr and IP Start=192.168.0.100 and size=100