+ All Categories
Home > Technology > Automate MongoDB with MongoDB Management Service

Automate MongoDB with MongoDB Management Service

Date post: 19-Nov-2014
Category:
Upload: mongodb
View: 430 times
Download: 2 times
Share this document with a friend
Description:
MongoDB Management Service makes operations effortless, reducing complicated tasks to a single click. You can now provision machines, configure replica sets and sharded clusters, and upgrade your MongoDB deployment all through the MMS interface. We'll walk through demos of all the new MMS features, including provisioning, expanding and contracting a cluster, resizing the oplog, and managing users.
Popular Tags:
34
Run MongoDB with Confidence using MMS Kelly Stirman #mongodb #mongodbdays @kstirman Director of Products, MongoDB
Transcript
Page 1: Automate MongoDB with MongoDB Management Service

Run MongoDB with Confidence using MMS

Kelly Stirman

#mongodb #mongodbdays

@kstirman

Director of Products, MongoDB

Page 2: Automate MongoDB with MongoDB Management Service

Operational Complexities

Page 3: Automate MongoDB with MongoDB Management Service

What is MMS?

Page 4: Automate MongoDB with MongoDB Management Service
Page 5: Automate MongoDB with MongoDB Management Service
Page 6: Automate MongoDB with MongoDB Management Service
Page 7: Automate MongoDB with MongoDB Management Service
Page 8: Automate MongoDB with MongoDB Management Service
Page 9: Automate MongoDB with MongoDB Management Service
Page 10: Automate MongoDB with MongoDB Management Service
Page 11: Automate MongoDB with MongoDB Management Service
Page 12: Automate MongoDB with MongoDB Management Service

MMS Monitoring

Page 13: Automate MongoDB with MongoDB Management Service

Topology

Page 14: Automate MongoDB with MongoDB Management Service

Charting

Page 15: Automate MongoDB with MongoDB Management Service

Alerting

Page 16: Automate MongoDB with MongoDB Management Service

Proactive Support

MongoDB offers Proactive Support for Subscription Customers. Our

engineers can monitor your deployment and make suggestions in

order to tweak for better performance or avoid doom.

Page 17: Automate MongoDB with MongoDB Management Service

MMS Backups

Page 18: Automate MongoDB with MongoDB Management Service

Disasters: All Shapes & Sizes

Page 19: Automate MongoDB with MongoDB Management Service

Disasters: Many Causes

Page 20: Automate MongoDB with MongoDB Management Service

Risks Are Everywhere

Storage failures

Power outages

Programmer error

Hardware failures

DC failures

Cyber attacks

Weather

Page 21: Automate MongoDB with MongoDB Management Service

Replication

• Redundant copies of your data across– Servers– Racks– Data Centers

• Automatic failover

• Tunable consistency minimizes risk

• However…programmer errors will replicate almost immediately!

Page 22: Automate MongoDB with MongoDB Management Service

Backups

Backing up data is one way to ensure availability and lower risk. They require active engagement, otherwise:

• Backups can be outdated

• Process can be slow (backup or restore)

• Isolated

• …but they are relatively inexpensive and do well at minimizing risk

Page 23: Automate MongoDB with MongoDB Management Service

MongoDB Backup Approaches

Mongodump File system MMS Backup

Initial complexity

Medium High Low

Confidence in Backups

Medium Medium High

Point in time recovery of replica set

Sort of ☺ No Yes

System Overhead

High Can be low Low

Scalable No With work Yes

Consistent Snapshot of Sharded System

Difficult Difficult Yes

Page 24: Automate MongoDB with MongoDB Management Service

MMS Maintenance Operations

Page 25: Automate MongoDB with MongoDB Management Service

The Process

• Applies to upgrades and most maintenance tasks

• Careful order of steps is critical– Especially in sharded clusters!

• For each shard/replica set– For each replica set member

• http://docs.mongodb.org/manual/tutorial/perform-maintence-on-replica-set-members/

Page 26: Automate MongoDB with MongoDB Management Service

Step 1 – Stop A Secondary

Page 27: Automate MongoDB with MongoDB Management Service

Step 2 – Restart As Standalone

Page 28: Automate MongoDB with MongoDB Management Service

Step 3 – Perform Maintenance

Page 29: Automate MongoDB with MongoDB Management Service

Step 4 – Restart As Member of Replica Set

Page 30: Automate MongoDB with MongoDB Management Service

Step 5 – Work on Primary Last

Page 31: Automate MongoDB with MongoDB Management Service

Demo

Page 32: Automate MongoDB with MongoDB Management Service

Operations

• Upgrade/Downgrade

• Add replica

• Add shard

• Remove shard

• Resize oplog

Page 33: Automate MongoDB with MongoDB Management Service

Resources

• MMS– mms.mongodb.com– mms.mongodb.com/help

• MMS On-Premise– Available for evaluation– mms.mongodb.com/help-hosted

Page 34: Automate MongoDB with MongoDB Management Service

Thank You

Kelly Stirman

#mongodb #mongodbdays

@kstirman

Director of Products, MongoDB


Recommended