Jason Edelman's Blog
  • Home
  • About
  • Contact

Giving a Monkey a Loaded Gun

6/9/2014

0 Comments

 
Automating the configuration, provisioning, and management of particular workflows for cloud gets a lot of attention these days.  While automation makes perfect sense for deploying workloads faster, there are also other areas where automation can be leveraged to improve the overall operational efficiency of the IT Ops team. 
One of these areas is automating the validation of configuration changes.   This could mean validating changes deployed via the CLI for existing networks or validating changes made by SDN controllers for those new shiny physical AND virtual networks.  It doesn’t matter.  Connectivity tests can also be automated.  Much more can be automated than configuration and policy for data centers.

I remember doing annual power shutdowns of the data center and IDFs where I worked years ago.  I remember doing OS upgrades on critical network devices.  I also remember the chaos and the amount of people that needed to be on a bridge validating “everything looked okay” when the devices came back online.  Was everything always okay?  Hardly, but it wasn’t until business started on the following Monday, those one off issues were uncovered and fixed.  If there were tools verifying routing tables, interfaces, and general state of all IT systems (pre and post upgrade/reboot), it would have made everyone a little saner.   

The interesting thing about automation --- it is in fact risky automating configuration changes.  Some may call it scary and some call it giving a monkey a loaded gun.  Do you REALLY want to do that?  Is there a safety switch included?

Note:  please always make sure you test and QA any new tool/product.  Just figured I’d state the obvious here.
Picture
Source: Ryan Hughes via moneyandshit.com
Many thanks to Ryan Hughes (@angryjesters)  who educated me on the monkey with a loaded gun analogy and how it relates to automation ;).  We gave an internal presentation together last year and this was one of my favorite parts of the presentation.

Rather than just writing about all of this, I felt it was best to show an example of what I’ve been describing here (see demo/video below).  With more demos out there, the  hope is there will be more “ah ha” moments to see the benefits that various forms of automation can offer organizations regardless of vertical, size, and scale.

The video below is a demo of some new custom Ansible modules I created that automate the validation of OSPF adjacencies.  Data is automatically extracted from each router and then compared to determine if the routers are configured properly for OSPF.  You’ll see towards the end of the video I modify one of the interface’s MTU and re-run the Ansible playbook and the playbook automatically re-configures the MTU to what it should be.  So, this playbook actually auto-validates, but also auto-configures.  The re-configuration part is purely optional, but thought it would be good to show what can be achieved with some of the DevOps tools out there such as Ansible.


While usually overlooked, validating and learning are SIGNIFICANT pieces to the puzzle to create the ultimate feedback loop in terms of IT optimization.  As always, would love to hear feedback and general commentary in the comments section below.

Thanks,
Jason

Twitter: @jedelman8

P.S. Please ensure you don’t have any monkey’s operating your company’s automation platforms or IT systems.

0 Comments



Leave a Reply.

    Author

    Jason Edelman, Founder & CTO of Network to Code. 


    Enter your email address:

    Delivered by FeedBurner


    RSS Feed


    Categories

    All
    1cloudroad
    2011
    2960
    40gbe
    7000
    Arista
    Aruba
    Big Switch
    Brocade
    Capwap
    Christmas
    Cisco
    Controller
    Data Center
    Dell Force10
    Embrane
    Extreme
    Fex
    Hadoop
    Hp
    Ibm
    Isr G2
    Juniper
    Limited Lifetime Warranty
    Meraki
    Multicast
    N7k
    Nexus
    Nicira
    Ons
    Opendaylight
    Openflow
    Openstack
    Presidio
    Qsfp
    Quick Facts
    Routeflow
    Sdn
    Sdn Ecosystem
    Security
    Ucs


    Archives

    May 2015
    April 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    June 2014
    May 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    October 2012
    June 2012
    May 2012
    April 2012
    March 2012
    February 2012
    January 2012
    December 2011
    November 2011


    View my profile on LinkedIn
Photo used under Creative Commons from NASA Goddard Photo and Video