wiki:GENIEducation/SampleAssignments/VLCDashTutorial/Execute

Version 3 (modified by divyashri.bhat@gmail.com, 11 years ago) (diff)

--

OpenFlow Load Balancer Tutorial

Image Map

2. Implement VLC DASH Client on ExoGENI VLAN

2.1 Setup OpenFlow Switches

  • 2.1.1 Login to VM and get the public IP by executing ifconfig
  • 2.1.2 Login to nodes VM, VM-0, VM-1, VM-2 and execute the following script
    #!/bin/bash
    ovs-vsctl add-br test
    ovs-vsctl add-port test eth1
    ovs-vsctl add-port test eth2
    ovs-vsctl add-port test eth3
    ovs-vsctl set-controller test tcp:<IP.OF.CONTROLLER>:6633
    ovs-vsctl set-fail-mode test secure
    

Replace IP.OF.CONTROLLER above with the public IP address of VM.

2.2 Setup the Apache Server and host DASH Video

#!/bin/bash

apt-get update
apt-get -y install apache2
apt-get -y install apache2-threaded-dev

apache2ctl restart

mkdir /root/DASH_BuckBunny

curl http://emmy9.casa.umass.edu/wget_download.sh -o /root/wget_download.sh

chmod +x /root/wget_download.sh

sh /root/wget_download.sh

2.3 Install VLC Client

Attachments (6)