This is an Openstack tutorial scenario designed to experiment with Openstack free and open-source software platform for cloud-computing.
The scenario is made of four virtual machines: a controller based on LXC and a network node and two compute nodes based on KVM. Optionally, a third compute node can be added once the scenario is started.
All virtual machines use Ubuntu 14.04.3 LTS and Openstack Kilo.
The scenario has been inspired by the ones developed by Raul Alvarez to test OpenDaylight-Openstack integration, but instead of using Devstack to configure Openstack nodes, the configuration is done by means of commands integrated into the VNX scenario following Openstack installation recipes in http://docs.openstack.org/kilo/install-guide/install/apt/content/
To use the scenario you need a Linux computer (Ubuntu 14.04 or later recommended) with VNX software installed. At least 4Gb of memory are needed to execute the scenario.
See how to install VNX here: http://vnx.dit.upm.es/vnx/index.php/Vnx-install
If already installed, update VNX to the latest version with:
To make startup faster, enable one-pass-autoconfiguration for KVM virtual machines in /etc/vnx.conf:
[libvirt] ... one_pass_autoconf=yes
Check that KVM nested virtualization is enabled:
cat /sys/module/kvm_intel/parameters/nested Y
If not enabled, check, for example, http://docs.openstack.org/developer/devstack/guides/devstack-with-nested-kvm.html to enable it.
Download the scenario with the virtual machines images included and unpack it:
wget http://idefix.dit.upm.es/cnvr/openstack_tutorial-v013-with-rootfs.tgz vnx --unpack openstack_tutorial-v013.tgz
Alternatively, you can download the much lighter version without the images and create the root filesystems from scratch in your computer:
wget http://idefix.dit.upm.es/cnvr/openstack_tutorial-v013-with-rootfs.tgz vnx --unpack openstack_tutorial-v013.tgz cd openstack_tutorial-v013/filesystems ./create-kvm_ubuntu64-ostack-compute ./create-kvm_ubuntu64-ostack-network ./create-lxc_ubuntu64-ostack-controller