Boundary for puppet @ puppet conf2012

15
Rethink Monitoring What Just Happened? Leveraging Puppet & Boundary to Manage Dynamic Environments Molly Stamos, Director of Products

description

Molly Stamos our director of products discusses how the puppet and boundary integration works and how cool it is when these product work in unison.

Transcript of Boundary for puppet @ puppet conf2012

Page 1: Boundary for puppet @ puppet conf2012

Rethink Monitoring

What Just Happened? Leveraging Puppet & Boundary to Manage Dynamic Environments

Molly Stamos, Director of Products

Page 2: Boundary for puppet @ puppet conf2012

Boundary: Highly Distributed Platform delivering SaaS

•  Boundary is a SaaS application that monitors application performance by analyzing application communication over the network"

•  Platform runs on Ubuntu Linux with a mix of off the shelf and home grown components "

•  Continuous deployment shop - code rolled into production as its ready "

"

Page 3: Boundary for puppet @ puppet conf2012

Boundary: The Team

•  “devops” shop – but two primary Ops guys managing about 200 nodes and overseeing all automation "

"

"

•  Everyone participates in operations – everyone is on call rotation (and gets the joy of 2am wake up calls)"

•  Environment is hosted – Provider racks & stacks – Joe & Scott do everything else"

Scott Smith Joe Williams

Page 4: Boundary for puppet @ puppet conf2012

An Example (but first a quick look at Boundary)

Page 5: Boundary for puppet @ puppet conf2012

Configuration Change in Production

•  Kobayashi is our historical data store "•  9 node cluster "•  Riak under the covers"•  Provides historical feed of data for Boundary dashboards (beyond streaming system)"

•  Configuration change needed to alleviate feared future performance problems"

•  In Riak, must perform a “rolling upgrade”"•  Push config change to each node one at a time, restart services, wait for cluster to reach steady state"

•  Unsure how cluster behavior would change "

Page 6: Boundary for puppet @ puppet conf2012

Using Boundary to Assess Cluster Health

"

Page 7: Boundary for puppet @ puppet conf2012

Unexpected Benefit: Evenly Distributed Writes Across the Cluster

BEFORE" AFTER"

Page 8: Boundary for puppet @ puppet conf2012

Application Latency (App RTT) Before the Change

•  Node Data06 is 2x slower than the rest of the nodes"

Page 9: Boundary for puppet @ puppet conf2012

Application Latency (App RTT) After the Change

•  App RTT are tightly grouped around 4-5 ms"

Page 10: Boundary for puppet @ puppet conf2012

Boundary & Puppet Using the Puppet Module

Page 11: Boundary for puppet @ puppet conf2012

Download and Install the Boundary Module

•  Fairly Straightforward:"•  sudo puppet module search boundary •  sudo puppet module install puppetlabs-boundary

Make sure you get this one: puppetlabs-boundary (NOT the bprobe one) !

•  **Some configuration required**"•  Boundary::params class – set your API Key and your OrgID "

•  Located in /etc/puppetlabs/puppet/boundary/manifests/params.pp"

•  Boundary.yaml file – set your API Key and OrgID "•  Located in /etc/puppetlabs/puppet/boundary/"

Page 12: Boundary for puppet @ puppet conf2012

Where to get your API Key & OrgID in Boundary

•  Go to Organization -> Settings"

•  API Key & OrgID"•  API Key is like your password – keep it secret"

Page 13: Boundary for puppet @ puppet conf2012

Using Puppet to Deploy the Boundary Meter

Page 14: Boundary for puppet @ puppet conf2012

Get Boundary Now

•  Boundary: http://boundary.com/signup/"•  Literally takes less than 2 minutes to deploy"

•  When was the last time a monitoring tool took less than 2 minutes to set up?"

•  Free to use up to 2GB per day "

•  How do I get more information? "•  Website: www.boundary.com"

•  Email: [email protected]"

Page 15: Boundary for puppet @ puppet conf2012

Rethink Monitoring