Friday, November 4, 2016

Beryllium SR4 OpenDayLight Quick Start on CentOS7 running on Oralce VM Virtual Box on Windows.

OpenDayLight Quick Start on CentOS7 running on Oralce VM Virtual Box on Windows.

Oracle VM VirtualBox 5.1.8 ext pack 111374
The Virtual Machine is with only 1 network adapter as Bridged Adapter with the Wi-Fi Adapter.



CentOS7 Base Installation on Oracle VM Virtual Box on Windows7




Install OpenJDK and few other utilities.

yum -y install java-1.8.0-openjdk* */netstat */nc */xclock */firefox bind-utils




Download the OpenDayLight Beryllium from https://www.opendaylight.org/downloads


We are using Beryllium SR4





Place this downloaded file to the server.
distribution-karaf-0.4.4-Beryllium-SR4.tar.gz
Extract this file
tar xzvf distribution-karaf-0.4.4-Beryllium-SR4.tar.gz
Go to the resulting folder
cd distribution-karaf-0.4.4-Beryllium-SR4/
SET JAVA_HOME as
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-1.b15.el7_2.x86_64/
You can set this JAVA_HOME variable as per java that is installed
OPENJDK 1.8.0 is the OPENJDK here.



Start the OpenDayLight Server
./bin/karaf
Also see the installed features using
opendaylight-user@root>feature:list -i





feature:install odl-mdsal-clustering

The above installs the single node clustering for OpenDayLight.
Installation of dlux which is the GUI of the OpenDayLight,

feature:install odl-dlux-core odl-dlux-node

opendaylight-user@root>feature:list -i | grep -i dlux



opendaylight-user@root>feature:install odl-dlux-yangui
opendaylight-user@root>feature:install odl-dlux-yangvisualizer


opendaylight-user@root>feature:list -i | grep -i odl-dlux | grep -i yang
From other session
See the IP of the machine on which OpenDayLight is running



netstat -an | grep -i listen | grep -i 8181



We have to open Firefox from the local machine, to get the GUI we will use MOBATERM (Install xclock package first to test xclock display)

In the following screen of the MOBATERM session of the server ensure that you have X11-Forwarding as enabled. Optionally test an xclock. Start firefox in the background mode




In the firefox browser open the URL http://192.168.1.7:8181/index.html
Use admin as username as well as password in the OpenDayLight DLUX Screen




Once you are in you can see
Topology
Nodes
Yang UI
Yang Visualizer

No comments:

Post a Comment