SlideShare a Scribd company logo
MMS Automation in
Action
MMS: MongoDB Management Service
MMS Automation
● Create MongoDB systems of any size, and any configuration
● Manage MongoDB systems, such as adding capacity or resizing
the oplog, with no application downtime
● Upgrade a deployment, with no application downtime
… all from the comfort of your web browser.
MMS Provisioning
Integration with Amazon AWS that allows you to provision
the servers on which your MongoDB processes will run,
directly from MMS.
● Optional component - you can provision your base servers any way you
like, doing it via MMS Provisioning is just one way
● Future plans to integrate OpenStack, Azure, Digital Ocean, etc.
MMS Automation : Why?
● Ease of operation
○ Some operations are easier to script than others...
MMS Automation : Why?
● Ease of operation
● Expect the unexpected
MMS Automation : Why?
● Ease of operation
● Expect the unexpected
● Reliability
MMS Automation : Why?
● Ease of operation
● Expect the unexpected
● Reliability
● Mongo expertise
How Does It Work?
Automation
Server 1 Server 3Server 2
MMS
Automation
Server 1 Server 3Server 2
MMS
AUTO AUTOAUTO
Automation
Server 1 Server 3Server 2
MMS
AUTO AUTOAUTO
Automation
Server 1 Server 3Server 2
MMS
AUTO AUTOAUTO
mongod mongodmongod
Automation
Server 1 Server 3Server 2
MMS
AUTO AUTOAUTO
mongod mongodmongod
Automation
Server 1 Server 3Server 2
MMS
AUTO AUTOAUTO
mongod mongodmongod
Automation
Server 1 Server 3Server 2
MMS
AUTO AUTOAUTO
mongod mongodmongod
New Features
Import Existing
● Start managing a pre-existing repl set or
cluster with automation.
Demo
Authentication and Authorization
● Automation supports adding, editing, and removing
users and custom roles.
● Works with standalone instances, replica sets, and
sharded clusters.
● Works with all versions of MongoDB that Automation
supports: 2.4, 2.6 and 3.0
● Delayed auth schema upgrades are supported
Storage Engine Conversion
● Pluggable storage engines are a new feature
in MongoDB 3.0
● Automation supports converting between
MMAPv1 and WiredTiger storage engines.
Storage Engine Conversion for Replica Sets
P
S2
S1
P
S2
S1
Stop mongod
P
S2
S1
Delete db files
P
S2
S1
Start mongod with new
storage engine
P
S2
S1
Wait for initial sync
P
S2
S1
P
S2
S1
P
S2
S1
P
S2
S1
PS1
PS1
S2
PS1
S2
PS1
Storage Engine Conversion
(standalone instances)
1. Stop mongod
2. Start mongod on a different port
3. Run mongodump
4. Stop mongod
5. Remove files under the dbpath
6. Start mongod with new storage engine setting (still on
the different port)
7. Run mongorestore
8. Restart mongod on its original port
Repair Config Server
Automation will automatically detect if a config
server gets out of sync, and repair it
Repair Config Server
1. Detect that config server is out of sync by
comparing dbhash against other dbhashes
Repair Config Server
2. Figure out which dbhash is correct
● Ignore if data size < 90% max data size
● If two agree, assume they are correct
● If none agree, choose “the first”
Repair Config Server
3. Repair config server :
● shut down
● mongodump from a good server
● start up on ephemeral port
● mongorestore
● verify dbhash correct
● restart on normal port
CS2 CS3
27000 CLIENT
CS1
Repair Config Server
CS1 CS2 CS3
27000 CLIENT
Repair Config Server
CS1 CS2 CS3
27000 CLIENT
Repair Config Server
CS1 CS2 CS3
27000 CLIENT
27001
CS1
Repair Config Server
CS1 CS2 CS3
27000 CLIENT
27001
CS1
CS1 CS2 CS3
27000 CLIENT
27001
CS1
CS2 CS3
27000 CLIENT
CS1
Demo
Automation API
● Can GET/PUT a Group’s AutomationConfig
● Can GET the AutomationStatus of a Group
Automation API
● Can GET/PUT a Group’s AutomationConfig
● Can GET the AutomationStatus of a Group
○ Bypass the UI, automate automation
Automation API - Demo
● Follow along
○ https://bit.ly/mmsautoapi
Automation API - Demo
● Follow along
○ https://bit.ly/mmsautoapi
● Read more
○ https://docs.mms.mongodb.com/reference/api/
Coming Soon
● Resync
● Rolling Indexes
● Restore Backups
● Microsoft Azure Support
Advanced Enterprise Features
● SSL
● LDAP Authentication
● X.509 Authentication
● Kerberos Authentication
Questions?

More Related Content

PDF
MMS Automation In Action!
PDF
How to cook Rabbit on Production - Serhiy Nazarov | Ruby Meditation 28
PPTX
Put kajakken på hylden - og få sexede windows services
ODP
Systems management - UltraESB
PDF
Speeding up Page Load Times by Using Starling
PDF
Scaling WordPress
PDF
Glusterfs session #7 client, server interactions
PDF
The journey of a symfony app from 150ms to 20ms
MMS Automation In Action!
How to cook Rabbit on Production - Serhiy Nazarov | Ruby Meditation 28
Put kajakken på hylden - og få sexede windows services
Systems management - UltraESB
Speeding up Page Load Times by Using Starling
Scaling WordPress
Glusterfs session #7 client, server interactions
The journey of a symfony app from 150ms to 20ms

What's hot (15)

PDF
Improved Business Availability and Scalability with WSO2 ESB 4.9’s New Coordi...
DOCX
Automation m ysql_and_customer_photo
PDF
Oh CSS! - 5 Quick Things
PDF
Erlang vs Ruby SOA Scheduling
PPTX
Groovy example in mule
PDF
XMPP & AMQP
PDF
Introducing TokuMX: The Performance Engine for MongoDB (NYC.rb 2013-12-10)
PPTX
Accessing Mule variables in groovy
PPTX
Groovy in Mule
KEY
CPAN Gems From The Far East
PDF
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
PDF
PHP at Density and Scale
PDF
AWS Lambdas are cool - Cheminfo Stories Day 1
PPTX
WordPress Performance Optimization - Jeff Matson - WordCamp Milwaukee 2014
PPTX
WordCamp Milwaukee - Stop eating resources and optimize your WordPress site
Improved Business Availability and Scalability with WSO2 ESB 4.9’s New Coordi...
Automation m ysql_and_customer_photo
Oh CSS! - 5 Quick Things
Erlang vs Ruby SOA Scheduling
Groovy example in mule
XMPP & AMQP
Introducing TokuMX: The Performance Engine for MongoDB (NYC.rb 2013-12-10)
Accessing Mule variables in groovy
Groovy in Mule
CPAN Gems From The Far East
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
PHP at Density and Scale
AWS Lambdas are cool - Cheminfo Stories Day 1
WordPress Performance Optimization - Jeff Matson - WordCamp Milwaukee 2014
WordCamp Milwaukee - Stop eating resources and optimize your WordPress site
Ad

Similar to MMS Automation In Action! (20)

PPTX
Automate MongoDB with MongoDB Management Service
PPTX
MongoDB Management Service (MMS): Session 01: Getting Started with MMS
PPTX
How to Install and Use MMS
PPTX
What's New in MongoDB 2.6
PPTX
Mongo db london
PPTX
Run MongoDB with Confidence Using MongoDB Management Service (MMS)
PDF
MMS: The Easiest Way to Run MongoDB
PPTX
MongoDB Server Provisioning - From 2 Months to 2 Minutes
PPTX
Automate MongoDB with MongoDB Management Service
PDF
MongoDB 3.0 migration - MongoDB Days Munich
PPTX
Ops Jumpstart: MongoDB Management Service
PPTX
MongoDB Management Service: Getting Started with MMS
PPTX
MMS - Monitoring, backup and management at a single click
PDF
Advanced Administration, Monitoring and Backup
PDF
Building Your Own MongoDB as a Service Offering
PPTX
Webinar: Best Practices for Upgrading to MongoDB 3.0
PPTX
MongoDB World 2018: Using Puppet, Ansible and Ops Manager to Create Your Own ...
PPTX
Using Puppet, Ansible, and MongoDB Ops Manager Together to Create Your Own On...
PPTX
MongoDB Days Silicon Valley: Best Practices for Upgrading to MongoDB
PPTX
Run MongoDB with Confidence: Backing up and Monitoring with MMS
Automate MongoDB with MongoDB Management Service
MongoDB Management Service (MMS): Session 01: Getting Started with MMS
How to Install and Use MMS
What's New in MongoDB 2.6
Mongo db london
Run MongoDB with Confidence Using MongoDB Management Service (MMS)
MMS: The Easiest Way to Run MongoDB
MongoDB Server Provisioning - From 2 Months to 2 Minutes
Automate MongoDB with MongoDB Management Service
MongoDB 3.0 migration - MongoDB Days Munich
Ops Jumpstart: MongoDB Management Service
MongoDB Management Service: Getting Started with MMS
MMS - Monitoring, backup and management at a single click
Advanced Administration, Monitoring and Backup
Building Your Own MongoDB as a Service Offering
Webinar: Best Practices for Upgrading to MongoDB 3.0
MongoDB World 2018: Using Puppet, Ansible and Ops Manager to Create Your Own ...
Using Puppet, Ansible, and MongoDB Ops Manager Together to Create Your Own On...
MongoDB Days Silicon Valley: Best Practices for Upgrading to MongoDB
Run MongoDB with Confidence: Backing up and Monitoring with MMS
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PPTX
Spectroscopy.pptx food analysis technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
Programs and apps: productivity, graphics, security and other tools
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Spectroscopy.pptx food analysis technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Network Security Unit 5.pdf for BCA BBA.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Building Integrated photovoltaic BIPV_UPV.pdf

MMS Automation In Action!