35
The Network The Next Frontier for Devops ? John Willis Director ... Devops Strategy Dell Software (Enstratius) @botchagalupe http://bit.ly/1alvup7 Friday, November 22, 13 Emphasis the ? part of the title... I have been mostly an ops dude not a netops dude...although I am not unfamiliar ... devops strategy... this is not my title... ... was CSE for Enstratius prior .. twitter .. presentation link

Cloudstack collaboration conference Europe - SDN and Devops

Embed Size (px)

DESCRIPTION

SDN and Devops

Citation preview

  • 1. The Network The Next Frontier for Devops ? John Willis Director ... Devops Strategy Dell Software (Enstratius) @botchagalupehttp://bit.ly/1alvup7Friday, November 22, 13Emphasis the ? part of the title... I have been mostly an ops dude not a netops dude...although I am not unfamiliar ... devops strategy... this is not my title... ... was CSE for Enstratius prior .. twitter .. presentation link

2. Overview SDN Overview Devops Lessons Learned SDN and DevopsFriday, November 22, 13How many ppl know what SDN is? Ok how many wouldnt freak out if I was to ask you to stand up and explain what SDN is? Ok.. good we will do a quick walk through of SDN and all the hype and buz and confusion... We are already in the troff and most ppl dont even know what it is yet... Then we will talk a little history lesson... if you read the abstract you know what this about. It about tying what we did in devops for systems operations and seeing if the same rules apply ... is this a redo? Lastly, we will look at what an SDN and Devops world could look like... All the network guys are begging for this... Almost every presentation I have seen over the past 3 months from the network dudes is we need Devops Lets help them..we have seen this movie before... 3. Elephant in the RoomFriday, November 22, 13six blind men were asked to determine what an elephant looked like by feeling different parts ...man who feels a leg is a pillar; ..tail says is like a rope ..feels the trunk says a tree branch; the ear is like a hand fan; SDN, NFV, OVS, Network overlays like VXLAN, GRE ... 4. Network as Code (NaC) Software Dened Networking Openow Openvswitch (OVS) Network Overlays Network Functions Virtulization Linux Based Network OS Friday, November 22, 13Network as code in some presentations.. not sure if need another abstract def to add to the primordial soup... but his point is resident... Over the next few minutes we can look at some of the enabled or forcing functions for why we might need new type of management abstractions for this mess. 5. SDN is the Decoupling of Control From the Data Planhttp://networkstatic.net Friday, November 22, 13SDN is the decoupling of the control plane from the data plane... physically removing... Simple brilliant idea (os shit why didnt think of that)... Network gear has traditionally been a black box w/coupled arch D,C,M plane (explain) ... data plan is the forwarding plane Data plan has had an abstraction ... OSI Model of layering .. DP has enabled independent innovation at each level... However, the control plane has had no abstraction .. not modular not reusable ... from scratch every time... Around 2008ish Martin Casado as his PHD dened openow and this SDN ...started Nicira... in summer 2012 1.2B from vmware Look at the right hand side... clean abstraction .. a centralized control plane decoupled from the device ... allows a clean L4-L7 abstraction. Nicira Notes: Nicira Networks was acquired by VMware for $1.26B. (7/23/12) Posted 7/23/12 at 6:14pm via techcrunch.com Nicira Networks added Alan Cohen as VP, Marketing. (10/1/11) Posted 10/21/11 at 4:42am Nicira Networks received $26M in Series C funding. (2/3/11) Posted 2/4/11 at 6:31pm via sec.gov Nicira Networks added John Vrionis as Investor. (2/1/11) Posted 9/4/12 at 9:08am 6. Openowhttp://networkstatic.netFriday, November 22, 13Rob Sherwood CTO at Bigswitch .. SDN is to Openow as Web is to HTTP ... in other-words Openow is not the only protocol but it is the most talked about... OpenFlow is not magic, just a low level primitive with momentum for FIB programming. Explain the ow table... Interesting thing this can be a device as ( a router, switch, rewall, Nat and even a Load Balancer). ... now it starts getting very interesting... The OpenFlow Switch and Controller can communicate via the OpenFlow protocol, 7. Openvswitchhttp://openvswitch.org/support/cong-cookbooks/vlan-conguration-cookbook/Friday, November 22, 13An implementation of OpenFlow Support for VLANs, GRE tunnels and QOS User-space (controller and tools) is under the Apache license Kernel (datapath) is under the GPLv2 designed for more advanced isolation on hypervisors... mostly in cloud like infrastructures... Look at Cloud networking history... Cloud stack you had basic and OS (IPtables/Brtables) ... nova netwk you had bridges .. With OVS it acts like a switch on each hypervisor .. and all the ovs hook up to a an OVSDB management plan.. The ovs plugin is the default for Openstack and Cloudstack now.. ... also OVS allows you to create network overlays (GRE, VXLAN) 8. Network Overlays GRE STT VXLANhttp://networkstatic.net/eliminating-vlans-and-fragility-in-the-underlay-with-network-virtualization/Friday, November 22, 13VLAN only support 4096 ... can run out quickly... especially in cloud architectures VXLAN support 16 million .. uses multicast and unicast... VXLAN Tunnel End Point (VTEP) . creates point to point connections... its a higher order abstraction. GRE and STT not supported in fabric ... VXLAN multicast issue - trombone vlan v2... GRE udp STT abuses TCP.. ignores syn/ack Notes: Nicira developed the Stateless Transport Tunneling (STT) protocol for tunneling between open source software switches in the Openvswitch project. 9. Network Functions Virtualization Servers Switches Routers Load Balancers Firewall Servers Content Deliveryhttp://networkstatic.netFriday, November 22, 13Came out of SDN "Network Functions Virtualisation".[1] was formed under the European Telecommunications Standards Institute (ETSI). In a cloud world it get very interesting ... ... Self service infra .. workow->catalog compnents->create cloud resources->invoke apis for converged infra-> compute (kvm), Storage (nas), Network (SDN Nicira) 10. Linux Based Network OS Juniper (JunOS) Arista (EOS) Cumulus Bare Metal Switches (Big Switch & Pica8) Friday, November 22, 13JuniperOS built XM abstractions to interface w/hidden processes - Chef/Puppet have to be compiled ...Jeremy Schulman later wrote a ruby gem called Netdev that Puppet and Chef are using... Arisata EOS - Python sysdb abstraction .. pretty much closed... . Chef/Puppet have to be compiled Cumulus - basically the rst pure Network OS. No hardware... Debian .. ... install chef/puppet, apt-get install collectd.. run graphite... Google, Amazon, and Microsoft are not buying Cisco, HP hardware anymore... they are buying Asian manufacturers Quanta ........ODM Original Design Manufacturer ... Cumulus wants to be the redhat of networking .. Will we start seeing switch turnover cycle times like what we now see in servers. New switch hardware every 3 years. BMS are really disruptive in that that allow basically are wide open.. different chips different os different virtulzation... ODM Original Design Manufacturer Facebook-led Open Compute Project lends itself to ODM market Open Network Install Environment (ONIE) Cumulus - Debian Linux 7.0 Wheezy release http://perspectives.mvdirona.com/2013/06/18/ CumulusNetworksASneakPreviewOfOneOfMyFavoriteStartups.aspx 11. Friday, November 22, 13This is what disruption looks like - this is in Kennesaw 5 miles from my house... much better prices if I wanted to buy in bulk ... You can create an openow switch on your own ... 12. Late Breaking - Game ChangerFriday, November 22, 13Brent Salisbury quote...alternatives to Broadcom will be healthy :) 13. SDN Summary A lot software based opportunity Networks are becoming more open Network Virtualization is a disrupter Openstack/Cloudstack are driving a lot of new opportunitiesFriday, November 22, 13 14. Devops Lessons Learned 10 Year Cycles Software 1990s - OOP & Agile Compute 2000s - Virt & IAC & Cloud Network 2010s - SDNFriday, November 22, 13Software revolution really happened in the 1990 decade.. OOP object oriented, java & C++ exploded in 90s, ... agile XP and SCRUM ... 2001 Agile Manifesto.. Compute in 2000s .. virtulization on re, cloud .. ...open sources drove then hell out of compute.. starting w/linux, then middleware, then systems tools .. infrastructure as code (what I like to call Scnd Gen CFGM (cfengine was around for a while universities and web scale .. and used at amazon, facebook .. ...but Luke put a face to IAC w/puppet 2006/7ish ..the IAC revolution.... ... now with Chef.. Network... 2010 & 2011 Nicira gets things cranking... 2012 Vmware buys Nicira. SDN, Network virtualization... (as we already discussed)... 15. WeFriday, November 22, 13Obviously.. we won the war... Devops ... Devopsdays... ... I was a late arrival to the war; however, I got in when it really started to get interesting... ... I met Luke in 2007 at a OSCON..... tell the groundworks story and Lukes session. ... The next month I got to hang out with luke at a barcamp nashville and I wrote tis blog article called Infr 2.0 .... about this consulting company in Seattle using puppet that took ilike from 400k to 6 million users in one week (all bare metal)... anyone know who that consulting comp was? ( I wrote a blog article) .. ... Then Adam wrote a blog post about me... ... I became a prot for IAC... mostly puppet until 2009 (Chef announced) What did all of us early evangelize do... (The ABCs of Operations) First principles, Read Marcus Aurelius. Of each particular thing ask: what is it in itself? What is itsnature? Abstract-->Source Control --> Unit test --> Integration test --> Behavior testing -- .. .. We told ops they needed to be more like Dev .. They needed to use abstractions for infrastructure.. CFE, Puppet, Chef .. They needed to store it in src control svn & git .. We suggested that they create unit and integration tests for this new abstraction.. .. We suggested that we should delivery continuously... .... However, most (not all) ppl looked at us like we were crazy... until... ... early 2000 sysadmin to server ratios were 1 to 100 for most companies (enterprises no IAC based) ... 80 percent in the muck 20 bus value Notes: When iLike created one of the rst Facebook applications, it grew from about million 16. What Were the Objections Bobs scripts Doit 5 ... sshing things I dont trust this thing You dont understand my application You can never ever ever ever break my application I am afraid I will lose my job Friday, November 22, 13What if it does something really bad. My application will lose millions... We all know thats bullshit... .. you dont understand my application. if it goes down the world will end... .. we learned that accepting things breaking was a paradigm shift .. antifragile 17. What Changed Commodity Infrastructure Linux X86 Hardware Cloud Infrastructure Elastic - (East - West Trafc) Fast Provisioning/Ephemeral Friday, November 22, 13Commodity infra... ... vendor decoupling.. instead of buying AIX and Sun you bought your own hardware and Redhat/Ubuntu ... Server hardware turnover faster... shorter cycle times (3 years) Cloud Infra ... east west ... 6 days became 6 minutes Applications started going east and west Tell the playing golf story... Even if you werent buying the rest of the stories... ephemeral was the kicker.. 18. SDN and Devopshttp://networkstatic.net Friday, November 22, 13Enter the Network.. redo... ... early 2013 sysadmin to switch ratios are 1 to 120 for most companies ... Sometimes 6 months to get a network change... ... 80 percent in the muck 20 bus value 19. What are the New Objections Bills scripts Expect scripts/ TCL I dont trust this thing You dont understand the network Never ever ever ever break my network I am afraid I will lose my job Friday, November 22, 13Expect scripts, TCL and spreadsheets... really? You are so 1990... Its a redo... push rewind and hit play... 20. Friday, November 22, 13Ill talk more about Brent later.. but he is the prototype for what net ops needs to look like moving forward... 21. Some Faces of SDN & DevopsBrent Salisbury @networkstaticJerry Schulman @nwkautomaniacRob Sherwood @capvegFriday, November 22, 13Brent (UK) is a commiter on ODL, is a polyglot (java, python and C), Building TDD w/mininet Jerry (Juniper) wrote netdev rubygem and wrote the Puppet module for Junos integration Rob (CTO Big Switch) Was one of Openow boys at Stanford ... smart mofo... 22. Friday, November 22, 13The Illumianti... Arjan Eriks Harm Boertien Hugo Trippaers Funs Kessen Roeland Kuipers Arjen Wolfs 23. Devops Fundamentalsdev2ops.orgFriday, November 22, 13First and foremost.. dont forget the devops fundamentals Culture ... rst we need to be cultural anthropologist & Physiologist .. why are they different .. tribes. ..understand the tribal semantics. Deming Theory of Phycology (SoPK) Gene Kim... The Three ways of Devops... L2R - Understand ow, muda, value stream mapping, TOC -bottlenecks, global optima over local optima R2L - Adonn cord, move the pain forward Control Loop - Kiazen, Kata 24. What are the Opportunities Abstraction (Network as Code) Source Control Polyglotism Unit Testing Integration Testing Behavior Testing Friday, November 22, 13Polyglot - roll up our selves .. ODL, a lot of open source projects... be a user and commiter.. Lint, vlans names, port standards... reject non local changes... ... cucumber for network as code? Mininet (containers) can we stub out network requests like we did with java modules Network emulation might be necessary to go deeper with testing Underlays ... fat fast and at... L3 Overlays ... everything overlays.... The big switch guys are doing some cool stuff here. Could networking someday do dark releases, feature ags, canary releases (see Frenetic) cutting and pasting the wrong data can... NVP is now NSX (vmware) 25. Abstraction: Low Hanging Fruit Interface Conguration VLAN Creation VLAN to Port Mapping Link Aggregation Groups Friday, November 22, 13Really low hanging fruit.... Keeping state of where things live... vlan bookeeping issues with overlaps.... 26. Puppet Netdev ModuleFriday, November 22, 13 27. Chef Netdev LWRPFriday, November 22, 13 28. Abstraction: A Little Higher BGP OSPF RIPFriday, November 22, 13 29. Puppet Quagga/BirdFriday, November 22, 13 30. Chef Quagga CookbookFriday, November 22, 13 31. Whats Next ( How High Can We Go? ) OVS/OVSDB NaC Abstractions Openow NaC Abstractions VXLAN NaC Abstractions OpenDaylight NaC More Tooling Friday, November 22, 13How far can we go? I dont know Has anyone looked at Openstack network even with the simple ovs plugin? Theres a lot of crap there to me managed.... surely we can chef it up a bit... ovs ... talks to fabric if its vendor or kernel if linux (tap) 32. Very InterestingFriday, November 22, 13Frenetic is an abstraction for openow... It uses functional programming framework along with CEP to build a cool abstraction for building ow tables (predicate based) The ow table is very low level.. for example it is very hard to program a basic LB/packet forwarding/monitor app by creating low level match denitions. Frenetic create higher order abstractions as policies. Then mininet... Pyretic is a pyhton based on version of frenetic and it has a nice mininet testbed implementation built in. Networking invariants.. .. Forwarding loops ... packet blackholes Frenetic project.. a low level abstraction for openow... 33. Presentation Summary Please call bullshit CAMS not AMS Always the Flow - (Aim, Goal, Why) Devops can help Weve seen this movie beforeFriday, November 22, 13Aim=Deming, Goal=Goldratt, Sinek=Why 34. John WillisDirector, Devops Stuff Dell (Enstratius) @botchagalupeSome Images licensed under Bigstock.com Friday, November 22, 13 35. KaChing Operations Software Development InfoSec Networking Friday, November 22, 13Aim=Deming, Goal=Goldratt, Sinek=Why