EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani 19.6.13 Advanced Topics in Storage Systems Spring 2013.

Slides:



Advertisements
Similar presentations
Logically Centralized Control Class 2. Types of Networks ISP Networks – Entity only owns the switches – Throughput: 100GB-10TB – Heterogeneous devices:
Advertisements

LACP Project Proposal.
© 2012 IBM Corporation Architecture of Quantum Folsom Release Yong Sheng Gong ( 龚永生 ) gongysh #openstack-dev Quantum Core developer.
Application Guide For Mesh AP – MAP-3120
Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou.
A 5 minutes intro to Openstack (and a few more minutes on Openstack Networking) Salvatore Orlando 3 rd OSUG Italy Meetup Rome, May 9 th 2013.
Open vSwitch. What is Open vSwitch ?  Open vSwitch is an open source OpenFlow capable virtual switch that is typically used with hypervisor to interconnect.
OpenDaylight: An Open Source SDN for Your OpenStack Cloud Stephan Baucke, Ericsson Kyle Mestery, Cisco Anees Shaikh, IBM Chris Wright,
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Module 5: Configuring Access for Remote Clients and Networks.
SDN in Openstack - A real-life implementation Leo Wong.
7th OpenSTACK USER group nordics
ITE PC v4.0 Chapter 1 1 Operating Systems Computer Networks– 2.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 5: Planning, Configuring, And Troubleshooting DHCP.
(NHA) The Laboratory of Computer Communication and Networking Network Host Analyzer.
Chapter 23: ARP, ICMP, DHCP IS333 Spring 2015.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
Hands-On Microsoft Windows Server 2003 Networking Chapter 5 Dynamic Host Configuration Protocol.
IIS and PWS. What is IIS and PWS? Microsoft Internet Information Server (IIS) and Peer Web Services (PWS) enable Windows NT servers with the ability to.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Mr. Mark Welton.  Three-tiered Architecture  Collapsed core – no distribution  Collapsed core – no distribution or access.
Network Management Concepts and Practice Author: J. Richard Burke Presentation by Shu-Ping Lin.
Stanford University StanfordNetDB Stanford NetDB- An Open Source Network Management Application for DNS, DHCP, IP Address Spaces, etc.
Hacking the Bluetooth Pairing Authentication Process Graduate Operating System Mini Project Siyuan Jiang and Haipeng Cai.
CNT-150VT. Question #1 Your name Question #2 Your computer number ##
Chapter 2: Installing and Upgrading to Windows Server 2008 R2 BAI617.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Hands-on Networking Fundamentals
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Dynamic and Secure DNS Tianyi Xing.  Establish a dynamic and secure DNS service in the mobicloud system.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
Module 7: Fundamentals of Administering Windows Server 2008.
Connecting to a Network Lesson 5. Objectives Understand the OSI Reference Model and its relationship to Windows 7 networking Install and configure networking.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
NETWORKING COMPONENTS AN OVERVIEW OF COMMONLY USED HARDWARE Christopher Johnson LTEC 4550.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Overview Managing a DHCP Database Monitoring DHCP
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 1: Introduction to Scaling Networks Scaling Networks.
Ph No: Mob: ,plot No-27,NGGO's Colony, Pattabhi reddy gardens,Visakhapatnam-07 Open.
Module 4: Configuring and Troubleshooting DHCP
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
Extending OVN Forwarding Pipeline Topology-based Service Injection
BNL PDN Enhancements. Perimeter Load Balancers Scaleable Performance Fault Tolerance Server Maintainability User Convenience Perimeter Security.
1 Objectives Discuss the basics of Dynamic Host Configuration Protocol (DHCP) Describe the components and processes of DHCP Install DHCP in a Windows Server.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
CCNA1 v3 Module 1 v3 CCNA 1 Module 1 JEOPARDY K. Martin.
Deploy SDN-IP.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Grant.
Application Layer instructors at St. Clair College in Windsor, Ontario for their slides. Special thanks to instructors at St. Clair College in Windsor,
Atrium Router Project Proposal Subhas Mondal, Manoj Nair, Subhash Singh.
Congress Blueprint --policy abstraction
Luis Gomez, Principal SW Test Engineer, Brocade
New Approach to OVS Datapath Performance
Module 8: Networking Services
Tango Administrative Tools
Discussions on group meeting
Deploy OpenStack with Ubuntu Autopilot
OpenStack Ani Bicaku 18/04/ © (SG)² Konsortium.
ONOS Drake Release September 2015.
Indigo Doyoung Lee Dept. of CSE, POSTECH
Networking for Home and Small Businesses – Chapter 2
OpenStack-alapú privát felhő üzemeltetés
Cloud computing mechanisms
* Introduction to Cloud computing * Introduction to OpenStack * OpenStack Design & Architecture * Demonstration of OpenStack Cloud.
Networking for Home and Small Businesses – Chapter 2
Presentation transcript:

EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani Advanced Topics in Storage Systems Spring 2013

Project goals In order to develop QoS for the cloud environment it is necessary to collect network statistics from the different network element. This project aims to expose network statistics from the “open virtual switch” so that further functionality can be added to the open stack environment.

Theoretical Overview OpenStack Quantum Quantum Plugin Architecture Open Virtual Switch Proposed Solution

Quantum Introduced as part of OpenStack Folsom release (sept 2012) Provides Network as a Service between interface devices managed by other OpenStack services (most likely Nova). Allows users to create their own networks / network services and then attach interfaces to them. Quantum has a pluggable architecture to support many popular networking vendors and technologies.

Quantum – the big picture

Quantum – the details

Quantum server – implements the RESTful API and routes requests to the correct plugin-in API abstractions: – Network: layer 2 network object, attributes: admin state, name & subnets. – Subnet: layer 3 network object, attributes: admin state, name, ip addr, subnet mask, dhcp, dns … – Port: NIC object, attributes: network, device (virtual server), mac addr … Quantum plugin architecture

Plugin will typically update the quantum database Plugin agent runs on each compute node, the agent gathers the configuration from the database and communicates directly with the local OVS instance. Quantum also provides an “extensibility” mechanism that enables extension of the Core API (resource/attribute/action) Quantum client - a command line API for accessing quantum functionality

Open virtual switch OVS components ( – Kernel module implementing the data path – User space daemon “ovs-vswitchd” implementing the flow logic layer – User space daemon “ovsdb-server” which holds switch configuration – User space utilities, ovs-ofctl is the OpenFlow switch management utility which also provides port statistics

Open virtual switch Available counters – Rx packets – Rx bytes – Rx drop – Rx errors – Rx crc errors – Rx frame – Rx overruns – Tx packets – Tx bytes – Tx drop – Tx errors – Tx collisions

Design Quantum OVS plugin API DB Compute node OVS instance CLI client OVS Plugin agent

Design options - discussion Pros Data is retrieved as needed, no constant access to database (saves network bandwidth) Data is (close to) “real- time” which may be critical for some applications Cons Plugin has longer access time when compared to local database access. If multiple applications require the statistics, traffic is duplicate. No “natural” path for providing real-time data on request Should plugin-agent be polled or push data Pros & Cons of “polling solution”

Hands on overview Setting up a work environment Installing OpenStack Configuring OpenStack Creating a Cloud

Setting up a work environment First attempt: Dual 3 Ghz cores, 2 GB RAM, Ubuntu Desktop, SLOW….. Second attempt: switched to server installation (no GUI), still sluggish.. Third attempt: 8 * 3.4 Ghz cores, 4 GB RAM, much better Installed SMB to provide remote access to file system (coding). Enabled SSH to provide shell access.

Installing OpenStack Installed by utilizing Devstack, a shell script to build complete OpenStack development environments. – git clone dev/devstack.git (have to install git first) dev/devstack.git – cd devstack &&./stack.sh Horizon is now available at Keystone is serving at Examples on using novaclient command line is in exercise.sh The default users are: admin and demo The password:

Configuring OpenStack Now that we have access to the web server, we can start configuring a virtual network But that would be too easy… Default devstack installation configures nova networking (pre-quantum days) Modify localrc to enable quantum and run devstack again cat /opt/stack/devstack/localrc disable_service n-net ….. enable_service quantum

And finally

Creating a network

Add a virtual host

Add a virtual host - cont.

And we have a network

Network objects

Quantum client

Generating traffic

It works !

Resources Openstack Devstack Openstack dcumentation Open vSwitch

Q UESTIONS ?