Ops Skills and Tools for Beginners [#MongoDB World 2014]
Upcoming SlideShare
Loading in...5
×
 

Ops Skills and Tools for Beginners [#MongoDB World 2014]

on

  • 140 views

Originally presented at MongoDB World 2014. This is an introduction to Ops with MongoDB aimed at Developers and people who haven't run MongoDB in production before. It covers some basics of servers, ...

Originally presented at MongoDB World 2014. This is an introduction to Ops with MongoDB aimed at Developers and people who haven't run MongoDB in production before. It covers some basics of servers, hosting, installation, monitoring and backups.

Statistics

Views

Total Views
140
Views on SlideShare
137
Embed Views
3

Actions

Likes
0
Downloads
1
Comments
0

1 Embed 3

http://www.slideee.com 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ops Skills and Tools for Beginners [#MongoDB World 2014] Ops Skills and Tools for Beginners [#MongoDB World 2014] Presentation Transcript

  • rainforest @rainforestqa Ops Skills and Tools for Beginners
  • Russell Smith ! English guy Mongo DB Master Ex Ops consultant Ruby / PHP developer YC S12 Alum Using mongo in Prod since 1.6/1.8
  • @rainforestqarainforest Rainforest QA ! Insanely simple testing checkout: www.rainforestqa.com
  • What is Ops?
  • @rainforestqarainforest Setting up servers / services
  • @rainforestqarainforest Supporting Engineers
  • @rainforestqarainforest Keeping stuff running
  • @rainforestqarainforest Avoiding disasters
  • @rainforestqarainforest Fixing breakage
  • Lets Learn the basics
  • Installation
  • @rainforestqarainforest Replicated
  • @rainforestqarainforest Sharded
  • @rainforestqarainforest Best practices Ubuntu is simplest Install from Mongo’s repo Chose the right replica set size: 3 nodes Never use 32 bits
  • @rainforestqarainforest Alternatives MongoHQ MonogLab ObjectRocket MMS + AWS (via automation)
  • Monitoring Mongo
  • @rainforestqarainforest Server components
  • @rainforestqarainforest Storage magnetic, ssd metric: disk io
  • @rainforestqarainforest Memory / RAM fastest general store metrics; free, swap usage
  • @rainforestqarainforest Network allows communication use 1gbit or higher (avoid 100mbit) metrics; latency, throughput
  • @rainforestqarainforest CPU more is better mostly used metrics; % usage
  • @rainforestqarainforest Monitoring & Diagnostics
  • @rainforestqarainforest Top things to monitor Failover events Repl Lag Connections Lock % Disk usage
  • @rainforestqarainforest Hosted is Simplest
  • MMS Hosted, free for monitoring ! Also can do Backups Automation
  • Scout Monitors mongo, servers and many others (Plugins!) ! non-free
  • Server Density Monitors mongo, servers and many others (Plugins!) ! non-free
  • @rainforestqarainforest Opensource options Ganglia Munin Nagios Zabbix
  • Linux tools to learn mongostat / mongotop top iostat vmstat netstat
  • @rainforestqarainforest Mongo shell rs.conf() rs.status() db.serverStatus() db.stats() db.currentOp()
  • @rainforestqarainforest Backups
  • @rainforestqarainforest Backup options mongodump from the file system LVM / EBS MMS
  • @rainforestqarainforest TEST YOUR BACKUPS
  • Common pitfals
  • Missing indexes! Running out of disk space Untested backups Sharding too late / wrong key un-replicated / even set size
  • @rainforestqarainforest Conclusion do backups monitor read the docs
  • rainforest @rainforestqa Questions? @rainforestqa @rhs