MongoDB Management Service: Getting Started with MMS

MongoDB Management Service: Getting Started with MMS



Learn how to get started with MongoDB Management Service.

Learn how to get started with MongoDB Management Service.



Total Views
Views on SlideShare
Embed Views



2 Embeds 127 117 10



Upload Details

Uploaded via as Microsoft PowerPoint

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.

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

MongoDB Management Service: Getting Started with MMS MongoDB Management Service: Getting Started with MMS Presentation Transcript

  • MongoDB Management Service: Getting Started Sam Weaver, Senior Solution Architect #MongoDBWebinars #MongoDBManagementServic e
  • Welcome 3 part webinar series over the next 3 weeks • Week 1: Introduction to MMS • Week 2: Backup your data with MMS – How the backup solution works – Backing up a replica set – Backing up a sharded cluster – Restoring your data • Week 3: Monitoring and alerting with MMS – Charts – Alerts – Interpreting the data
  • Agenda for today • High level tour of MMS • Getting started with the agents • Quick look into monitoring and backup – more on these in the next session
  • What is MMS? • Software built by MongoDB FOR MongoDB • Makes your operations easier • Can be run on-premise or in the cloud
  • MMS Then…
  • MMS Now….
  • Getting Started
  • Firstly.. Sign up..
  • Welcome screen..
  • Begin Setup..
  • Select an OS
  • Verify the agent..
  • Add and verify hosts
  • And if all goes well…
  • Great! Now what?
  • Notice..
  • Clicking on the host gives you metrics
  • Why Monitoring? Cant fix what you don’t know about Capacity planning Pre-empting problems Proactive support 2-way mirror with commercial support
  • Bottom Line? • MongoDB ops will live in this tool • See what’s going on with your entire cluster • In more detail with less effort than other 3rd party tools
  • Your activity feed
  • Set alerts
  • Why Alerting? Alerts on a huge range of metrics – Host metrics – Replica set – Agent – Backup Send alerts via SMS, Email, PagerDuty and HipChat
  • Bottom Line? • Sleep easy knowing we will tell you what’s going on as it happens • Integrate with your existing alerting (pager duty, hip chat)
  • Users
  • Add users
  • User Roles • Different members of your team can do different things – Owner – Automation admin – Backup admin – Monitoring admin – UserAdmin – Read only
  • Bottom Line? • Multiple people can admin different parts of the system. • Work as one team, with set responsibilities for each
  • Backup
  • • Risks – Storage failure – Power outage – Programmer error – Hardware failure – Data centre failure – Cyber attack – Weather related incidents • Storage level options • MongoDB Backup Service Availability and Durability
  • • Relative to any particular risk – How much data can you afford to lose? (RPO) – How long can you afford to be offline? (RTO) – What price are you willing to pay to remove the risk? • Solutions – Replication – Application engineering? – Backup Addressing Risks
  • Replication • Built into MongoDB, only ops and infrastructure cost • Very little to zero data loss in failure • Down for a very short interval • BUT… programmer errors will replicate almost instantly
  • Traditional Backup • Slower to restore • Can suffer from being out of date • Fairly cheap • Isolated • Covers most risks
  • • Mongodump/mongorestore • Storage level options • MongoDB Backup Service 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 Recovery Approaches
  • Installing the agent..
  • Download and extract…
  • Verify agent and host
  • Select what you want to backup
  • Exclude certain name spaces
  • If its successful..
  • Snapshots…
  • Backing up a sharded cluster
  • Sharded Clusters • Now only a few clicks: – Balancer paused every 6 hours – Ano-op token is inserted across all shards, mongoses and config servers – Oplog applied to replica sets until point in which token was inserted • Provides a consistent state of database across shards
  • Bottom line: MMS Backup • Simplest means of backing up your database • Peace of mind, it just works • Point-in-time for replica sets • Check points for clusters • Create QA and test environments quickly from snapshots
  • Automation
  • Automation Will be released soon Deploy replica sets, & shards at the click of a button Double the size of your estate easily Upgrade versions quickly and safely Manual process of rolling upgrades 12-15 steps
  • What next? • Sign up to MMS at • Documentation can be found at • Listen in to the next webinar for a deeper understanding of backing up your data
  • Next session.. • Next week! Wednesday 30th July 2014 • Backing up your MongoDB data with MMS
  • Questions?
  • Thanks! Senior Solution Architect, MongoDB Sam Weaver #MongoDBWebinars #MongoDBManagementServic e