The demo server at ON.LAB (IP address 10.254.1.22, login: admin) currently runs XOS, the OpenStack controller services, and a nova-compute node in a VM. For the demo it is also intended to run two ONOS instances but these have not been configured yet.
VM Setup
Each service runs in its own KVM virtual machine. Use virsh list to see a list of the running VMs, each named after the service it hosts:
admin@cordsrv01:~$ virsh list
Id Name State
----------------------------------------------------
2 xos running
3 juju running
4 mysql running
5 rabbitmq-server running
6 keystone running
7 glance running
8 nova-cloud-controller running
9 quantum-gateway running
10 openstack-dashboard running
11 ceilometer running
12 nagios running
23 compute-1 running
All of the VMs are attached to bridge virbr0
with private addresses on the 192.168.122.0/24 subnet, and so are not reachable externally. The IP addresses of the VMs are in /etc/hosts
, or can be obtained using uvt-kvm ip <VM name>:
admin@cordsrv01:~$ uvt-kvm ip xos
192.168.122.37
Logging into a VM
Log in to a VM using ssh ubuntu@<VM name>. The default SSH key for the admin user (/home/admin/.ssh/id_rsa.pub)
has been added for the ubuntu
user inside all the VMs, so this should just work:
admin@cordsrv01:~$ ssh ubuntu@compute-1
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)
...
ubuntu@compute-1:~$
Creating new VMs
The existing VMs are created using the uvt-kvm tool. To create a new VM (e.g., for ONOS) run uvt-kvm <VM name> --cpu=<num vCPUs> --memory=<memory MB> --disk=<disk GB>. Be aware that this server has a small disk, though plenty of memory and CPU cores.
Accessing the XOS GUI
The XOS GUI is at http://10.254.1.22:8000. Contact Scott Baker or Andy Bavier for login details.