MongoDB Management Service (MMS): Session 01: Getting Started with MMS


Published on

MMS is the application for managing MongoDB, created by the engineers who develop MongoDB. Using a simple yet sophisticated user interface, MMS makes it easy and reliable to run MongoDB at scale, providing the key capabilities you need to ensure a great experience for your customers. MMS is delivered as a fully-managed, cloud service, or an on-premise software for MongoDB Subscribers.
See more at:

This session introduces MMS, helps you to understand at a high level what it does, add users and permissions, and shows how to get started with downloading and installing the agents.

Presented by, Sam Weaver:
Sam Weaver is a Senior Solution Architect at MongoDB based in London. Prior to MongoDB, he worked at Red Hat doing technical pre-sales on the product portfolio including Linux, Virtualisation and Middleware. Originally from Cheltenham, England he received his Bachelors from Cardiff University and currently lives in Camberley, Surrey.

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

MongoDB Management Service (MMS): Session 01: Getting Started with MMS

  1. 1. MongoDB Management Service: Getting Started Sam Weaver, Senior Solution Architect #MongoDBWebinars #MongoDBManagementServic e
  2. 2. Welcome 3 part webinar series over the next 3 weeks • Week 1: Introduction to MMS • Week 2: Backup your data with MMS • Week 3: Monitoring and alerting with MMS
  3. 3. Agenda for today • High level tour of MMS • Getting started with the agents
  4. 4. What is MMS? • Software build by MongoDB FOR MongoDB • Makes your operations easier • Can be run on-premise or in the cloud
  5. 5. MMS Then…
  6. 6. MMS Now….
  7. 7. Getting Started
  8. 8. Firstly.. Sign up..
  9. 9. Welcome screen..
  10. 10. Begin Setup..
  11. 11. Select an OS
  12. 12. Verify the agent..
  13. 13. Add and verify hosts
  14. 14. And if all goes well…
  15. 15. Great! Now what?
  16. 16. Notice..
  17. 17. Clicking on the host gives you metrics
  18. 18. Why Monitoring? Cant fix what you don’t know about Capacity planning Pre-empting problems Proactive support 2-way mirror with commercial support
  19. 19. 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 • Pressure to extend MMS to other tools, done via SNMP and API on roadmap, will be GAin June/July
  20. 20. Your activity feed
  21. 21. Set alerts
  22. 22. Why Alerting? Alerts on a huge range of metrics – Host metrics – Replica set – Agent – Backup Send alerts via SMS, Email, PagerDuty and HipChat
  23. 23. 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)
  24. 24. Users
  25. 25. Add users
  26. 26. User Roles • Different members of your team can do different things – Owner – Automation admin – Backup admin – Monitoring admin – UserAdmin – Read only
  27. 27. Bottom Line? • Multiple people can admin different parts of the system. • Work as one team, with set responsibilities for each
  28. 28. Backup
  29. 29. • 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
  30. 30. • 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
  31. 31. 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
  32. 32. Traditional Backup • Slower to restore • Can suffer from being out of date • Fairly cheap • Isolated • Covers most risks
  33. 33. • Mongodump/mongorestore • Storage level options • MongoDB Backup Service Backup Approaches
  34. 34. 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
  35. 35. Installing the agent..
  36. 36. Download and extract…
  37. 37. Verify agent and host
  38. 38. Select what you want to backup
  39. 39. Exclude certain name spaces
  40. 40. If its successful..
  41. 41. Snapshots…
  42. 42. Backing up a sharded cluster
  43. 43. 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
  44. 44. 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 • Spin up developers quickly from snapshots
  45. 45. Automation
  46. 46. Automation Will be released in summer 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
  47. 47. 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
  48. 48. Next session.. • Next Thursday! Thursday 29th May 2014 • Backing up your MongoDB data with MMS
  49. 49. • Learn to Build & Manage ModernApps in Two Days • Largest Gather of MongoDB World Experts Ever • 80+ Sessions from Fundamentals toAdvanced Opps. Use cases from all industries • Connect with developers, administrators & execs building innovative applications • Ecosystem Partners: IBM,AWS, Microsoft + More • Meet the Experts – Includes Founder Dwight Merriman • Code Webinar300 - $300 off Registration • MongoDB World – June 23-25, New York City
  50. 50. Questions?
  51. 51. Thanks! Senior Solution Architect, MongoDB Sam Weaver #MongoDBWebinars #MongoDBManagementServic e