Build your cloud with DPDK and OpenDaylight

9
Build DPDK powered cloud with OpenDayLight 1. Creating the Environment a. Name the Environment. (Name can be as the one given in the Handout) b. Using QEMU-KVM, as the target nodes are Virtual Machines

Transcript of Build your cloud with DPDK and OpenDaylight

Page 1: Build your cloud with DPDK and OpenDaylight

BuildDPDKpoweredcloudwithOpenDayLight

1. CreatingtheEnvironmenta. NametheEnvironment.(NamecanbeastheonegivenintheHandout)

b. UsingQEMU-KVM,asthetargetnodesareVirtualMachines

Page 2: Build your cloud with DPDK and OpenDaylight

c. SelectOpenDayLightasNeutronBackend

d. SelectthedefaultoptionsandClickNexttillthelaststep.SelectCreatetocompletecreating

theenvironment

2. AddthenodestotheDeployment.(Add1computeand1Controller)

Page 3: Build your cloud with DPDK and OpenDaylight

a. Select“Controller”and“OpenDaylightcontroller”andchooseoneoftheavailablenodesandselect“Applychanges”

b. Select“Compute”andchooseoneoftheavailablenodesandselect“Applychanges”.The

Environmentshouldtypicallylooklikethis.

Page 4: Build your cloud with DPDK and OpenDaylight

3. ConfiguringtheNetworks- MakesureNodesareselectedinsuchawaythatitisnotinconflictwiththeusersonthe

sameservers.4. SelectKVMastheHypervisorfromthesettings!Computetab

5. UseOpenDayLightML2V2driverinsettings!Otherasshownbelow

Page 5: Build your cloud with DPDK and OpenDaylight

6. MakesureyouhaveControllerandComputeNodes’Interfacesasshownbelowa. Controller

b. Compute–EnableDPDKatthisstep

Page 6: Build your cloud with DPDK and OpenDaylight

7. Maketheallocationasshownbelowandsaveyoursettings.

8. Makesurethenetworksareverifiedbyclickingthe“connectivitycheck”buttoninthenetworks

tab.ProceedonlyiftheVerificationisaSuccess.

Page 7: Build your cloud with DPDK and OpenDaylight

9. Gotothe“Dashboard”tabandclick“DeployChanges”

10. Afterthedeploymentisfinished,Logintothecontrollernodeasfollows

a. [email protected](pwd–r00tme)

Page 8: Build your cloud with DPDK and OpenDaylight

b. sshroot@<IPofthecontrollernode>NOTE–IPaddressofcontrollernodeisfoundasbelow- Findthenameofthecontrollernodefromthenodestab- Type“fuelnodes”intheFuelmasterVMtoseeitsrespectiveaddressmatchingthe

name

11. BenchmarkingthedeployedCloudusingRally.- Afterloggingintocontrollernode,runthefollowingcommands

a. apt-getinstallgitpython-pipb. apt-getinstalllibffi-devlibpq-devlibssl-devlibxml2-devlibxslt1-devpython-devc. curlhttps://raw.githubusercontent.com/openstack/rally/master/install_rally.sh|

bashd. .openrcadminadmine. rallydeploymentcreate--fromenv--name=existing

Page 9: Build your cloud with DPDK and OpenDaylight

f. cdrally.gitg. rallytaskstartsamples/tasks/scenarios/neutron/create-and-delete-networks.yamlh. Savetheresults