WikiStart: RouteFlowInstall.md

File RouteFlowInstall.md, 1.8 KB (added by andy, 5 years ago)
Line 
1% SDN / OpenFlow tutorial
2%
3% Installing RouteFlow
4
5# Introduction
6
7In this lab we will install routeflow and configure a distributed route fabric
8
9# Goals
10
11* Install RouteFlow
12* Configure distribute route fabric
13
14
15# Notes
16
17* Commands preceded with "$" imply that you should execute the command as
18  a general user - not as root.
19* Commands preceded with "#" imply that you should be working as root.
20* Commands with more specific command lines (e.g. "RTR-GW>" or "mysql>")
21  imply that you are executing commands on remote equipment, or within
22  another program.
23
24# Installation
25
26
27Become root on the controller
28
29        $ sudo bash
30
31Ensure that the linux kernel headers are present on the system
32
33        # apt-get install linux-headers-3.2.0-56-virtual
34
35
36Fetch and checkout the appropriate version of RouteFlow
37
38        # git clone https://github.com/routeflow/RouteFlow.git
39        # cd RouteFlow
40        # git checkout vandervecken
41
42Fetch and checkout the appropriate version of Ryu-RFProxy
43
44        # git clone https://github.com/routeflow/ryu-rfproxy.git
45        # cd ryu-rfproxy
46        # git checkout vandervecken
47        # cd ..
48
49Set off the automated build script
50
51        # ./build.sh -c -z ryu
52
53Eventually the following will appear
54
55        make[1]: Leaving directory `/home/sysadm/RouteFlow/rfclient'
56        done.
57        Finishing up...
58
59
60        # apt-get install lxc
61        # vi /etc/default/lxc
62       
63
64Make sure that the following line appears near the top of the file
65
66        MIRROR="http://apt.ws.nsrc.org:3142/archive.ubuntu.com/ubuntu"
67
68Make the RouteFlow test environment
69
70        # cd rftest
71        # ./create
72
73Copy in the one lib that we still need
74
75    # cp /usr/local/lib/libzmq.so.3 /var/lib/lxc/rfvm1/rootfs/usr/local/lib/
76
77        # cd ~
78    # wget http://noc.ws.nsrc.org/rfstart
79    # chmod 700 rfstart
80
81Run the RouteFlow environment
82
83        # ./rfstart
84
85Connect to your datapath element, run the daemons and connect to the controller
86
87        $ /root/bootovs-rb532.sh
88        $ /root/monitor_flows.sh
89
90
91
92
93--End