Vnx-labo-opennebula2

From VNX
Revision as of 02:00, 19 March 2016 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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