...
You will need to acquire two files: a VirtualBox installer and the Tutorial the Tutorial VM.
After you have downloaded VirtualBox, install it, then go to the next section to verify that the VM is working on your system.
...
Click on import. When the import is finished start the VM and login using:
USERNAME: distributedonos
PASSWORD: distributedonos
Important Command Prompt Notes
...
indicates that you are in mininet.
Setting up a 3-node ONOS cluster
There is already a 3-node LXC-based container cluster set up in the tutorial VM. We're now going to install and start ONOS on all 3 nodes to give us a cluster to work with.
First, let's start by making sure our environment is correctly setup.
Code Block |
---|
distributed@mininet-vm:~$ cell 3node
ONOS_CELL=3node
OCI=10.0.3.11
OC1=10.0.3.11
OC2=10.0.3.12
OC3=10.0.3.13
ONOS_FEATURES=webconsole,onos-api,onos-core,onos-cli,onos-rest,onos-gui,onos-openflow
ONOS_NIC=10.0.3.* |
Now we just need to package ONOS by running:
Code Block |
---|
distributed@mininet-vm:~$ onos-package
-rw-rw-r-- 1 distributed distributed 41940395 Dec 11 13:20 /tmp/onos-1.0.0.distributed.tar.gz |
This prepares an ONOS installations which can now be shipped to the remote instances:
Code Block |
---|
distributed@mininet-vm:~$ onos-install -f $OC1
onos start/running, process 308
distributed@mininet-vm:~$ onos-install -f $OC2
onos start/running, process 302
distributed@mininet-vm:~$ onos-install -f $OC3
onos start/running, process 300
distributed@mininet-vm:~$ |
This has now installed ONOS on your docker instances.
Verifying that ONOS is deployed
...