Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Wso2 con raspberry-pi-cluster

37,304 views

Published on

How the Raspberry Pi cluster containing 24 RPis, was built

Published in: Technology
  • Be the first to comment

Wso2 con raspberry-pi-cluster

  1. 1. Raspberry Pi – WSO2 Style
  2. 2. Raspberry Pie?
  3. 3. Raspberry Pie?
  4. 4. A humble beginning IMG_20121220_124101.jpg
  5. 5. What the Pi?? WSO2 middleware on Pi??
  6. 6. High level plan• Run Java on Pi• Run vanilla Carbon kernel on Pi• Run enhanced Carbon kernel on Pi• Use enhanced kernel with WSO2 AppServer• Conduct load tests to get an idea about performance on Pi• Do something useful using GPIO functionality• Bootup script which will connect any Pi into AS cluster
  7. 7. Supplying Power to aRaspberry Pi Cluster
  8. 8. Power Supply Schematic
  9. 9. V = IRW = VI
  10. 10. Managing the work area
  11. 11. Rack prototype #1
  12. 12. Rack prototype #2
  13. 13. The final outcome
  14. 14. Setting up the Network
  15. 15. Network setup
  16. 16. Cluster Management & Monitoring
  17. 17. Pis everywhere!
  18. 18. Too many instances to manage!
  19. 19. GPIO
  20. 20. The App• wso2con.com/m• Android• iOS
  21. 21. API Dashboardswso2con.com/m
  22. 22. SoftwareOptimizations
  23. 23. Carbon kernel & AppServer enhancements• Run in worker mode without any admin services• Disable unused deployers• Lazy loading deployment artifacts• Cut down bootup time from 5 minutes to 1.5 minutes• Bleeding edge Hazelcast based clustering implementation
  24. 24. Software• OS • Raspbian “wheezy” • Linux kernel • Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU/Linux• JAVA • Java(TM) SE Embedded Runtime Environment (build 1.7.0_10-b18, headless)• Python • Python 2.7.3 • python-dev• GPIO • RPi.GPIO-0.4.1a• WSO2 • AppServer with enhanced Carbon kernel
  25. 25. Other Experiments
  26. 26. LXC on Raspberry Pi
  27. 27. LXC on Raspberry Pi
  28. 28. LXC on Raspberry Pi
  29. 29. No Raspberry Pis were harmedin this production 
  30. 30. But we managed to explode few capacitors
  31. 31. Questions?
  32. 32. Thank you

×