Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Open Software Networking Platform : Part 2 March 17, 2015 CS Hong March 17, 2015 CS Hong.

Similar presentations


Presentation on theme: "Introduction to Open Software Networking Platform : Part 2 March 17, 2015 CS Hong March 17, 2015 CS Hong."— Presentation transcript:

1 Introduction to Open Software Networking Platform : Part 2 March 17, 2015 CS Hong March 17, 2015 CS Hong

2 2 OSSs OpenStack CloudStack Open vSwitch Aduino Rasberry PI

3 3 What is OpenStack OpenStack: The Mission "To produce the ubiquitous Open Source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable." 3

4 4 History of OpenStack 4 Release history Austin 21 October 2010 Bexar 3 February 2011 Cactus 15 April 2011 Diablo 22 September 2011 Essex 5 April 2012 Folsom 27 September 2012 Grizzly 4 April 2013 Havana 17 October 2013 Icehouse 17 April 2014 Juno October 2014 K-series April 2015 Codenames alphabetically ordered 6 month development cycle

5 5 OpenStack Founding Principles Apache 2.0 license (OSI), open development process Open design process, 2x year public Design Summits Publicly available open source code repository Open community processes documented and transparent Commitment to drive and adopt open standards Modular design for deployment flexibility via APIs 5

6 6 Community with Broad Commercial Support 6

7 7 Users 7 disney, zynga, candy crush, youtube, Netflix

8 8 Official, incubator et al. programs Official Common 8

9 9 A fraction of OpenStack architecture 9

10 10 Its growth 100 X growth in developers. The crew is multiplying! and it has millions of lines of code, and a dozen projects. 10

11 11 OpenStack Isn't Everything

12 12 Virtual Machines and Storage

13 13 Object Storage Key Features

14 14 System Components The Ring: Mapping of names to entities (accounts, containers, objects) on disk.  Stores data based on zones, devices, partitions, and replicas  Weights can be used to balance the distribution of partitions  Used by the Proxy Server for many background processes Proxy Server: Request routing, exposes the public API Replication: Keep the system consistent, handle failures Updaters: Process failed or queued updates Auditors: Verify integrity of objects, containers, and accounts 14

15 15 System Components (Cont.) Account Server: Handles listing of containers, stores as SQLite DB Container Server: Handles listing of objects, stores as SQLite DB Object Server: Blob storage server, metadata kept in xattrs, data in binary format  Recommended to run on XFS  Object location based on hash of name & timestamp 15

16 16 Software Dependencies Object Storage should work on most Linux platforms with the following software (main build target for Austin release is Ubuntu 10.04):  Python 2.6  rsync 3.0 And the following python libraries:  Eventlet 0.9.8  WebOb 0.9.8  Setuptools  Simplejson  Xattr  Nose  Sphinx 16

17 17 Evolution of Object Storage Architecture

18 18 OpenStack Compute Key Features Building an OpenStack Cloud Compute

19 19 Open Stack Compute

20 Apache CloudStack

21 21 IaaS…

22 22 IaaS challenges Not out of the box by itself Need a farm of hypervisors  Xen, KVM, VMware… Need storage  For image catalogue  For volume/snapshot management Need flexible network that can be configured on-demand  VLANS, no VLANS, existing net infra, SDN…

23 23 IaaS is really: A Data Center Orchestrator  Data storage  Data movement  Data processing That can:  Handle failures  Support large scale  Be programmed

24 24 DevOps Bring your developers closer to the operations Make your sys admins develop the apps Move to Software Defined Data Center, Automate everything Dev: Java IDE Ops: Shell CLI

25 25 “A little bit about the internals”

26 26 A Very Flexible IaaS Platform Primary Storage Secondary Storage http://www.slideshare.net/cloudstack/cloudstack-architecture

27 27 Architecture / Language Java application Tomcat6, Axis2, Maven build + ant  Ant going away in 4.1 Moving towards a plugin architecture

28 28 Releases Apache CloudStack 4.4.1 released in Oct. 2014 Time based releases  Rather slip features but guarantee release Apache CloudMonkey 5.2.0 released for Aug. 2014

29 29 Cloud Interactions CloudStack Cloud user {API client (Fog/etc)} End User UI Admin UI MySQ L CloudStack Clustered CloudStack Management Server Clustered CloudStack Management Server Domain Admin UI CS Admin & End-user API Cloud user {ec2 API client } ec2 API Monitori ng CS API vSphere Cluster Primary Storage vcenter Cluster Mgmt XS Cluster Primary Storage vCenter API XAPI KVM Cluster Primary Storage JSON OVM Cluster Primary Storage XenApi NetConf Nitro API Juniper SRX Netscaler Console Proxy VM JSON Cloud user HTTPS Ajax Console VNC Sec. Storage VM Sec. Storage VM NFS Server NFS Sec. Storage VM Sec. Storage VM HTTP (Template Download) HTTP (Template Copy) HTTP (Swift) NFS Router VM JSON {Proxied} SSH http://www.slideshare.net/cloudstack/cloudstack-architecture

30 30 CloudMonkey The CloudStack CLI, developed by Rohit Yadav ~600 lines of Python can be used both as an interactive shell and as a command line tool that simplifies CloudStack configuration and management. Lots of features:  Auto-completion  Tabular output  Help, scriptable, interactive shell…

31 31 Info Apache incubator project http://incubator.apache.org/cloudstack #cloudstack and #cloudstack-dev on irc.freenode.net @CloudStack on Twitter http://www.slideshare.net/cloudstack http://incubator.apache.org/cloudstack/mailing- lists.html Collaboration Conference, Nov 30 th -Dec 2 nd  http://collab12.cloudstack.org/ http://collab12.cloudstack.org/  http://www.youtube.com/diycloudcomputing http://www.youtube.com/diycloudcomputing

32 32 What is Open vSwitch Open vSwitch is a production quality, multilayer virtual switch licensed under the open source Apache 2.0 license. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag).Apache 2.0

33 33 What is Virtualization Multiple virtual machines on the same physical host  Lowest layer is the hypervisor, which provides the illusion  Built by OS people  Historically, simple bridge Physical Switch

34 34 Main Components

35 35 Forwarding Components ovs-­vswitchd (Slow Path)  Forwarding logic (learning, mirroring, VLANs, and bonding)  Remote configuration and visibility openvswitch_mod.ko (Fast Path)  Packet lookup, modification, and forwarding  Tunnel encapsulation/decapsulation

36 36 Centralized Control One OpenFlow connection per datapath  Exports idealized view of swtich’s datapath Lookup based on L2­ ‐ L4 Full wildcarding and priorities Actions: forward, drop, modify, and queue Missed flows go to central controller One management channel per system  Switch‐level configuration  Resources  Counters

37 37 Distributed Virtual Switch

38 38 Performance

39 39 Raspberry Pi

40 40 Introduction The Raspberry Pi is a credit-card sized computer It can be plugged into your TV and a keyboard, and can be used for many of the things that your average desktop does - spreadsheets, word-processing, games and it also plays high-definition video.

41 41 Introduction Measuring approximately 9cm x 5.5cm

42 42 History Raspberry Pi is the work of the Raspberry Pi Foundation, a charitable organisation UK registered charity (No. 1129409), May 2009 It's supported by the University of Cambridge Computer Laboratory and tech firm Broadcomm

43 43 Motivation Computer science skills increasingly important Access to computers Computers are the tool of the 21st century Computer Science is concerned with much more than simply being able to use a computer. Children should understand how they work and how to program them

44 44 What is Raspberry Pi? The Raspberry Pi is a fully featured micro -computer squashed onto a circuit board measuring approximately 9cm x 5.5cm.

45 45 Features Ultra low-cost (Model A $25, Model B $35) Ultra low-power ~1W Credit-card sized, fanless, instant start-up Complete easy-to-program computer

46 46 Features Provide a fun environment for experimenting with programming and electronics Inexpensive, simple, open and easy to maintain computer for schools Fun computer for children to experiment with at home(programming, robotics, etc...)

47 47 Technology The Raspberry Pi has a Broadcom BCM2835 system on a chip (SoC),which includes an ARM1176JZF-S 700 MHz processor Video Core IV GPU originally shipped with 256 megabytes of RAM, later upgraded to 512MB. It does not include a built-in hard disk, but uses an SD card for booting and long-term storage.

48 48 Hardware 10/100 BaseT Ethernet socket HDMI socket USB 2.0 socket RCA video socket SD card socket Powered from microUSB socket 3.5mm audio out jack Header footprint for camera connection

49 49 Hardware

50 50 Operating System Linux on a bootable SD card  Fedora  Raspbian  Debian  ArchLinux ARM

51 51 How to make it work!

52 52 Programming By default, supporting Python as the educational language. Any language which will compile for ARMv6 can be used with the Raspberry Pi.

53 53 Price Model A - $ 25 Model B - $ 35 Why so cheap ?  SoC - System on a chip, a computer on a single low voltage chip  Linux OS

54 54 Applications Can be used for making super computers

55 55 Applications Raspberry Pi Medical Device Input Shield

56 56 Applications Solar Raspberry Pi Power Pack

57 57 Applications Voice-Activated Coffee Machine Raspberry Pi Dynamic Bike Headlight Prototype

58 58 Applications It can make your Old TV in to a smart TV. (You can play Videos, 3D Games, Music, Browse Inter net and much more. Raspberry Pi can Act as Full HD 1080p Media Pl ayer. Its a Mini Computer which just cost Rs.2,350/- You can connect a Monitor, Keyboard and Mous e and use it as a normal computer. Its Graphics Capabilities is better than Apple Pr oducts.

59 59 Raspberry Pi 2020 Exploit process scaling and keep price constant: 8 cores, improved GPU, 8GB main memory WiFi, camera, matchbox sized case holographic laser projector, virtual keyboard FPGA logic on main SoC, high speed links, …. < $25

60 60 Introduction to Arduino Famous microcontroller manufacturers are MicroChip, Atmel, Intel, Analog devices, and more. It is a micro-computer. As any computer it has internal CPU, RAM, IOs interface. It is used for control purposes, and for data analysis. Micro-Controller:

61 61 What is Arduino? 61 A microcontroller board, contains on-board power supply, USB port to communicate with PC, and an Atmel microcontroller chip. It simplify the process of creating any control system by providing the standard board that can be programmed and connected to the system without the need to any sophisticated PCB design and implementation. It is an open source hardware, any one can get the details of its design and modify it or make his own one himself.

62 62 What is Arduino? 62 Large community Multi platform Win/Mac/Linux Based on ATmega328 – 8 BIT Specs RISC @ 16 Mhz, 20 MIPS 32 K Memory 6 Ch 10 Bit A/D PWM, I2C, SPI Inexpensive - $31.95 Sparkfun Electronics - $34.99 Radioshack

63 63 Arduino UNO: Digital output ~: PWM. 0,1: Serial port. In circuit Serial programming Atmel MicroController Analog input. Power Supply USB port Power input

64 64 You can download the Arduino IDE (The program used to write code and uploading it to arduino boards) from: http://arduino.cc/en/Main/Software Arduino IDE:

65 65 What do these do? Digital IO (LEDs, switches) Analog IO (resistive sensor data) Serial Connection (Sensors, GPS, etc) Program from your computer Your limit is only your creativity! 65

66 66 Terminology 66 I/O Board - main microcontroller Shield - add-on boards Sketch - the program Sensor - components (thermistors, etc.) Modules - serial data (GPS module, etc.)

67 67 Arduino I/O boards UNOMegaLilyPad Arduino BTArduino NanoArduino Mini

68 68 Shields 68

69 69 Shields

70 70 More Shields… 70 WiFi Shield XBee Shield Ethernet Shield WiFiShield

71 71 Sensors 71

72 72 References http://www.openstack.org/ http://www.slideshare.net/cloudstack http://openvswitch.org Source repository: gitclonegit://openvswitch.org/openvswitch Electronics For You, November 2012, Page 18 http://en.wikipedia.org/wiki/Raspberry_Pi http://www.raspberrypi.org http://www.element14.com/community/groups/raspbe rry-pi http://arduino.cc 72


Download ppt "Introduction to Open Software Networking Platform : Part 2 March 17, 2015 CS Hong March 17, 2015 CS Hong."

Similar presentations


Ads by Google