0% found this document useful (0 votes)
337 views6 pages

Installing and Tasting OpenDaylight Beryllium

The document provides instructions for installing OpenDaylight Beryllium-SR2 (ODL-BE) and Mininet to test their integration. It describes: 1. Setting up a CentOS VM to host the ODL-BE controller and installing Java and ODL-BE. 2. Installing Mininet on a separate VM to provide the software-defined networking platform. 3. Steps to run ODL-BE, install features, run Mininet with ODL-BE as the remote controller, and access the ODL-BE web console.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
337 views6 pages

Installing and Tasting OpenDaylight Beryllium

The document provides instructions for installing OpenDaylight Beryllium-SR2 (ODL-BE) and Mininet to test their integration. It describes: 1. Setting up a CentOS VM to host the ODL-BE controller and installing Java and ODL-BE. 2. Installing Mininet on a separate VM to provide the software-defined networking platform. 3. Steps to run ODL-BE, install features, run Mininet with ODL-BE as the remote controller, and access the ODL-BE web console.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

Installing and tasting OpenDaylight Beryllium-SR2 [ODL-BE] and Mininet

What we need:
1. CentOS 6.5 [x64] VM

To host OpenDaylight Controller

1vCPU
2GB vRAM
16GB HD
IP: 192.168.1.222/24
2. Mininet VM

SW platform

http://downloads.mininet.org/mininet-2.2.1-150420-ubuntu-14.04server-amd64.zip
3. OpenDaylight Beryllium-SR2 Pre-build
https://nexus.opendaylight.org/content/groups/public/org/opendaylight/
integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf0.4.2-Beryllium-SR2.tar.gz
4. Open JDK
java-1.8.0-openjdk
java-1.8.0-openjdk-devel
Steps;
[1]
[2]
[3]
[4]

Install CentOS 6.5 [Select Web Server] this will install apache
Copy [use winscp] ODL-BE.tar file to users [root] document directry
tar xvf distribution-karaf-0.4.2-Beryllium-SR2.tar.gz
Download java and run
#yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
root@opendl bin]# yum -y install java-1.8.0-openjdk java-1.8.0openjdk-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.serversaustralia.com.au
* extras: centos.mirror.serversaustralia.com.au
* updates: centos.mirror.serversaustralia.com.au
Setting up Install Process
Resolving Dependencies
--> Running transaction check

---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.101-3.b13.el6_8 will be


installed
--> Processing Dependency: java-1.8.0-openjdk-headless =
1:1.8.0.101-3.b13.el6_8 for package: 1:java-1.8.0-openjdk-1.8.0.1013.b13.el6_8.x86_64
---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.101-3.b13.el6_8
will be installed
--> Running transaction check
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.1013.b13.el6_8 will be installed
--> Processing Dependency: tzdata-java >= 2014f-1 for package:
1:java-1.8.0-openjdk-headless-1.8.0.101-3.b13.el6_8.x86_64
--> Running transaction check
---> Package tzdata-java.noarch 0:2013g-1.el6 will be updated
---> Package tzdata-java.noarch 0:2016f-1.el6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
==========================================
==========================================
==========================================
==========================================
Package
Arch
Version
Repository
Size
==========================================
==========================================
==========================================
==========================================
Installing:
java-1.8.0-openjdk
x86_64
1:1.8.0.101-3.b13.el6_8
updates
197 k
java-1.8.0-openjdk-devel
x86_64
1:1.8.0.101-3.b13.el6_8
updates
10 M
Installing for dependencies:
java-1.8.0-openjdk-headless
x86_64
1:1.8.0.101-3.b13.el6_8
updates
32 M
Updating for dependencies:
tzdata-java
noarch
2016f-1.el6
updates
180 k
Transaction Summary
==========================================
==========================================
==========================================
==========================================
Install
3 Package(s)
Upgrade
1 Package(s)
Total download size: 42 M

Downloading Packages:
(1/4): java-1.8.0-openjdk-1.8.0.101-3.b13.el6_8.x86_64.rpm
| 197 kB
00:00
(2/4): java-1.8.0-openjdk-devel-1.8.0.101-3.b13.el6_8.x86_64.rpm
| 10 MB
00:29
(3/4): java-1.8.0-openjdk-headless-1.8.0.101-3.b13.el6_8.x86_64.rpm
| 32 MB
01:31
(4/4): tzdata-java-2016f-1.el6.noarch.rpm
| 180 kB
00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------Total
350 kB/s | 42 MB
02:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : tzdata-java-2016f-1.el6.noarch
1/5
Installing : 1:java-1.8.0-openjdk-headless-1.8.0.1013.b13.el6_8.x86_64
2/5
Installing : 1:java-1.8.0-openjdk-1.8.0.101-3.b13.el6_8.x86_64
3/5
Installing : 1:java-1.8.0-openjdk-devel-1.8.0.101-3.b13.el6_8.x86_64
4/5
Cleanup : tzdata-java-2013g-1.el6.noarch
5/5
Verifying : tzdata-java-2016f-1.el6.noarch
1/5
Verifying : 1:java-1.8.0-openjdk-1.8.0.101-3.b13.el6_8.x86_64
2/5
Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.1013.b13.el6_8.x86_64
3/5
Verifying : 1:java-1.8.0-openjdk-devel-1.8.0.101-3.b13.el6_8.x86_64
4/5
Verifying : tzdata-java-2013g-1.el6.noarch
5/5
Installed:
java-1.8.0-openjdk.x86_64 1:1.8.0.101-3.b13.el6_8
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.101-3.b13.el6_8
Dependency Installed:
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.101-3.b13.el6_8
Dependency Updated:
tzdata-java.noarch 0:2016f-1.el6

Complete!
[root@opendl bin]#
[5]

Set Java Home

[root@opendl bin]# alternatives --config java


There are 4 programs which provide 'java'.
Selection Command
----------------------------------------------1
/usr/lib/jvm/jre-1.5.0-gcj/bin/java
+2
/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
3
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
* 4
/usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
Enter to keep the current selection[+], or type selection number: 4
[root@opendl bin]# java -version
openjdk version "1.8.0_101"
OpenJDK Runtime Environment (build 1.8.0_101-b13)
OpenJDK 64-Bit Server VM (build 25.101-b13, mixed mode)
[root@opendl bin]#
[root@opendl bin]#
[root@opendl bin]#
[root@opendl bin]#
Export JAVA HOME - set this on user profile
[root@opendl bin]# export JAVA_HOME=/usr/lib/jvm/jre-1.8.0openjdk.x86_64/bin/java

Go to ODL BE folder and run


./distribution-karaf-0.4.0-Beryllium/bin/karaf

List and install features


feature:list -i
feature:install odl-l2switch-switch
feature:install odl-dlux-all
In Mininet VM console;
#sudo mn --controller=remote,ip=192.168.1.100 \
--topo=linear,2
--switch=ovsk,protocols=OpenFlow13

Open ODL-BE Web console


User / Pass : admin/admin

You might also like