Setting up a Highly Configurable, Scalable Nimbus Cloud Test Bed Running on a MANET
Total Page:16
File Type:pdf, Size:1020Kb
Setting Up a Highly Configurable, Scalable Nimbus Cloud Test Bed Running on a MANET Master’s Project Report By Joshua McKee (Advisor: Patricia J. Teller, Ph.D.) Department of Computer Science The University of Texas at El Paso December 2014 Acknowledgements This work would not have been possible without the software and technical assistance provided by FutureGrid. In particular, we extend our sincere thanks to Kate Keahey and Pierre Riteau of the University of Chicago for their assistance. Also, we wish to acknowledge the economic support provided by the Army Research Laboratory through the Army High Performance Computing Research Center (AHPCRC), Stanford University Award 60300261-107307-B. ii Contents Chapter 1: Introduction ................................................................................................................................ 1 Chapter 2: Related Work .............................................................................................................................. 4 2.1 Cloud Computing Test Beds ............................................................................................................... 5 2.2 FutureGrid .......................................................................................................................................... 6 Chapter 3: Design ......................................................................................................................................... 7 3.1 High-level Design ................................................................................................................................ 7 3.2 Software Selected to Implement High-level Design ........................................................................... 8 Chapter 4: Implementation ........................................................................................................................ 12 4.1 Setting up Nimbus on a MANET ....................................................................................................... 12 4.2.1 Setting up VM Bridging using Wireless Cards ............................................................................ 12 4.1.2 Configuring Nimbus to Run on a MANET .................................................................................. 14 4.2 Making Nimbus Resource Aware ..................................................................................................... 16 Chapter 5: Automatic Configuration .......................................................................................................... 18 5.1 Flowcharts ........................................................................................................................................ 18 5.2 Automation Scripts ........................................................................................................................... 19 5.2.1 Test Bed Management Scripts ................................................................................................... 20 5.2.2 Test Bed Management Core Scripts .......................................................................................... 20 5.2.2.1 manage-host core scripts ................................................................................................... 20 5.2.2.1.1 add-host ...................................................................................................................... 20 5.2.2.1.2 remove-host ................................................................................................................ 21 5.2.2.1.3 update-hosts ............................................................................................................... 22 5.2.2.1.4 list-hosts ...................................................................................................................... 22 5.2.2.2 manage-olsrd-hosts core scripts ........................................................................................ 22 5.2.2.2.1 add-olsrd-host ............................................................................................................. 22 5.2.2.2.2 remove-olsrd-host ....................................................................................................... 23 5.2.2.2.3 update-olsrd-hosts ...................................................................................................... 23 5.2.2.2.4 update-olsrd-host ........................................................................................................ 24 5.2.2.2.5 list-olsrd-hosts ............................................................................................................. 25 5.2.2.3 manage-nimbus-head-node core scripts ............................................................................ 25 5.2.2.3.1 setup-nimbus-head-node ............................................................................................ 25 5.2.2.3.2 remove-nimbus-head-node ......................................................................................... 26 iii 5.2.2.3.3 update-nimbus-head-node ......................................................................................... 27 5.2.2.4.8 list-nimbus-head-node ................................................................................................ 27 5.2.2.4 manage-nimbus-vmm-node core scripts ............................................................................ 27 5.2.2.4.1 add-nimbus-vmm-node ............................................................................................... 27 5.2.2.4.2 remove-nimbus-vmm-node ........................................................................................ 29 5.2.2.4.3 update-nimbus-vmm-nodes ........................................................................................ 30 5.2.2.4.4 update-nimbus-vmm-node ......................................................................................... 30 5.2.2.4.5 connect-nimbus-vmm-to-head ................................................................................... 31 5.2.2.4.6 disconnect-nimbus-vmm-from-head .......................................................................... 32 5.2.2.4.7 is-nimbus-vmm-connected-to-head ............................................................................ 32 5.2.2.4.8 list-nimbus-vmm-nodes ............................................................................................... 33 5.2.2.5 manage-nimbus-client-nodes core scripts ......................................................................... 33 5.2.2.5.1 add-nimbus-client-node .............................................................................................. 33 5.2.2.5.2 remove-nimbus-client-node ........................................................................................ 34 5.2.2.5.3 update-nimbus-client-nodes ....................................................................................... 34 5.2.2.5.4 update-nimbus-client-node ......................................................................................... 35 5.2.2.5.5 list-nimbus-client-nodes .............................................................................................. 35 5.2.2.6 manage-phantom-vm core scripts ..................................................................................... 35 5.2.2.6.1 setup-for-phantom-vm ................................................................................................ 35 5.2.2.6.3 remove-phantom-vm-setup ........................................................................................ 36 5.2.2.6.2 create-phantom-vm .................................................................................................... 37 5.2.2.6.4 setup-adhoc-gateway .................................................................................................. 38 5.2.3 Other Test Bed Management Scripts .................................................................................... 38 5.2.3.1 Setup .................................................................................................................................. 38 5.2.3.1.1 setup ............................................................................................................................ 38 Chapter 6: Demonstration and Observations ............................................................................................ 40 6.1 Functionality Offered by aNTRuM .................................................................................................... 40 6.2 Observations .................................................................................................................................... 41 6.2.1 Network Communication Observations .................................................................................... 41 6.2.2 Device Load Observations ......................................................................................................... 42 Chapter 7: Conclusions and Future Work .................................................................................................. 43 7.1 Conclusions ...................................................................................................................................... 43 iv 7.2 Future Work ..................................................................................................................................... 44 Bibliography ..............................................................................................................................................