SlideShare a Scribd company logo
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

More Related Content

What's hot (18)

PDF
Xtrabackup and FTWRL
Raghavendra Prabhu
 
PDF
Data Structures for High Resolution, Real-time Telemetry at Scale
ScyllaDB
 
PDF
Scaling Apache Pulsar to 10 Petabytes/Day
ScyllaDB
 
PDF
[CB19] New threats are already around you, the IPV6 attack must be understood...
CODE BLUE
 
PDF
IPLOG? A beginner's IDS for the WIN!
Nathan Gibbs
 
PPTX
10 Basic Sysadmin Commands for Developers & Operators
Rosemary Wang
 
PPTX
Nmap 9 truth "Nothing to say any more"
abend_cve_9999_0001
 
PDF
WordPress Security - A Top Down Approach
Brecht Ryckaert
 
PDF
Using eBPF to Measure the k8s Cluster Health
ScyllaDB
 
KEY
Yakiniku on the Cloud
Takao Funami
 
PDF
Where Did All These Cycles Go?
ScyllaDB
 
PPTX
Buffer overflow for Beginners
Ajin Abraham
 
PDF
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
ScyllaDB
 
PDF
Let’s Fix Logging Once and for All
ScyllaDB
 
PDF
Nmap2Nessus Presentation Slides at Black Hat Asia Arsenal 2015
Keith Lee
 
PPT
Automatizando tarefas com grunt - O que era chato não é mais
Anderson Aguiar
 
PDF
Performance
Christophe Marchal
 
PPT
Thread Safe Interprocess Shared Memory in Java (in 7 mins)
Peter Lawrey
 
Xtrabackup and FTWRL
Raghavendra Prabhu
 
Data Structures for High Resolution, Real-time Telemetry at Scale
ScyllaDB
 
Scaling Apache Pulsar to 10 Petabytes/Day
ScyllaDB
 
[CB19] New threats are already around you, the IPV6 attack must be understood...
CODE BLUE
 
IPLOG? A beginner's IDS for the WIN!
Nathan Gibbs
 
10 Basic Sysadmin Commands for Developers & Operators
Rosemary Wang
 
Nmap 9 truth "Nothing to say any more"
abend_cve_9999_0001
 
WordPress Security - A Top Down Approach
Brecht Ryckaert
 
Using eBPF to Measure the k8s Cluster Health
ScyllaDB
 
Yakiniku on the Cloud
Takao Funami
 
Where Did All These Cycles Go?
ScyllaDB
 
Buffer overflow for Beginners
Ajin Abraham
 
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
ScyllaDB
 
Let’s Fix Logging Once and for All
ScyllaDB
 
Nmap2Nessus Presentation Slides at Black Hat Asia Arsenal 2015
Keith Lee
 
Automatizando tarefas com grunt - O que era chato não é mais
Anderson Aguiar
 
Performance
Christophe Marchal
 
Thread Safe Interprocess Shared Memory in Java (in 7 mins)
Peter Lawrey
 

Similar to Ops Skills and Tools for Beginners [#MongoDB World 2014] (20)

PPTX
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
PPTX
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
PPTX
MongoDB Deployment Checklist
MongoDB
 
PPTX
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB
 
PDF
Silicon Valley Code Camp 2014 - Advanced MongoDB
Daniel Coupal
 
PPTX
Running MongoDB on AWS
MongoDB
 
POTX
Mobile 3: Launch Like a Boss!
MongoDB
 
PPTX
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
KEY
MongoDB vs Mysql. A devops point of view
Pierre Baillet
 
KEY
Deployment Strategies (Mongo Austin)
MongoDB
 
PPTX
Ops manager webinar mar 5, 2015
MongoDB
 
PDF
Growing MongoDB on AWS
colinthehowe
 
PPTX
MongoDB and AWS: Integrations
MongoDB
 
PPTX
Mongodb beijingconf yottaa_3.3
Yottaa
 
PPTX
Deployment Preparedness
MongoDB
 
KEY
Deployment Strategy
MongoDB
 
PDF
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
Startupfest
 
PDF
Mongo db ops mug pres
David Erickson
 
PPTX
MongoDB Server Provisioning - From 2 Months to 2 Minutes
MongoDB
 
PPTX
Conceptos básicos. Seminario web 6: Despliegue de producción
MongoDB
 
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
MongoDB Deployment Checklist
MongoDB
 
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB
 
Silicon Valley Code Camp 2014 - Advanced MongoDB
Daniel Coupal
 
Running MongoDB on AWS
MongoDB
 
Mobile 3: Launch Like a Boss!
MongoDB
 
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
MongoDB vs Mysql. A devops point of view
Pierre Baillet
 
Deployment Strategies (Mongo Austin)
MongoDB
 
Ops manager webinar mar 5, 2015
MongoDB
 
Growing MongoDB on AWS
colinthehowe
 
MongoDB and AWS: Integrations
MongoDB
 
Mongodb beijingconf yottaa_3.3
Yottaa
 
Deployment Preparedness
MongoDB
 
Deployment Strategy
MongoDB
 
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
Startupfest
 
Mongo db ops mug pres
David Erickson
 
MongoDB Server Provisioning - From 2 Months to 2 Minutes
MongoDB
 
Conceptos básicos. Seminario web 6: Despliegue de producción
MongoDB
 
Ad

More from Rainforest QA (11)

PDF
Machine Learning in Practice - CTO Summit Chicago 2019
Rainforest QA
 
PPTX
CTO Summit NASDAQ NYC 2017: Creating a QA Strategy
Rainforest QA
 
PDF
Pragmatic Rails Architecture [SF Rails, 24 Apr 14]
Rainforest QA
 
PDF
Bitcoin Ops & Security Primer
Rainforest QA
 
PDF
Pivotal Labs Lunch Talk; 3 Infrastructure and workflow lessons learned at an ...
Rainforest QA
 
KEY
MongoDB Command Line Tools
Rainforest QA
 
KEY
Seedhack MongoDB 2011
Rainforest QA
 
KEY
An Introduction to Map/Reduce with MongoDB
Rainforest QA
 
KEY
How does Riak compare to Cassandra? [Cassandra London User Group July 2011]
Rainforest QA
 
KEY
London MongoDB User Group April 2011
Rainforest QA
 
KEY
Geo & capped collections with MongoDB
Rainforest QA
 
Machine Learning in Practice - CTO Summit Chicago 2019
Rainforest QA
 
CTO Summit NASDAQ NYC 2017: Creating a QA Strategy
Rainforest QA
 
Pragmatic Rails Architecture [SF Rails, 24 Apr 14]
Rainforest QA
 
Bitcoin Ops & Security Primer
Rainforest QA
 
Pivotal Labs Lunch Talk; 3 Infrastructure and workflow lessons learned at an ...
Rainforest QA
 
MongoDB Command Line Tools
Rainforest QA
 
Seedhack MongoDB 2011
Rainforest QA
 
An Introduction to Map/Reduce with MongoDB
Rainforest QA
 
How does Riak compare to Cassandra? [Cassandra London User Group July 2011]
Rainforest QA
 
London MongoDB User Group April 2011
Rainforest QA
 
Geo & capped collections with MongoDB
Rainforest QA
 
Ad

Recently uploaded (20)

PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
Big Data and Data Science hype .pptx
SUNEEL37
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPT
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PPTX
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PPTX
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Big Data and Data Science hype .pptx
SUNEEL37
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
MRRS Strength and Durability of Concrete
CivilMythili
 
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
Thermal runway and thermal stability.pptx
godow93766
 
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 

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