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

Preview:

DESCRIPTION

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: http://www.mongodb.com/mongodb-management-service#sthash.1D1Q1ts0.dpuf 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.

Citation preview

MongoDB Management Service: Getting Started

Sam Weaver, Senior Solution Architect

#MongoDBWebinars #MongoDBManagementService

Welcome3 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 problemsProactive 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

• Pressure to extend MMS to other tools, done via SNMP and API on roadmap, will be GA in June/July

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– User Admin– 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 – A no-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

• Spin up developers quickly from snapshots

Automation

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 safelyManual process of rolling upgrades 12-15 steps

What next?

• Sign up to MMS at http://mms.mongodb.com

• Documentation can be found at https://mms.mongodb.com/help/

• Listen in to the next webinar for a deeper understanding of backing up your data

Next session..

• Next Thursday! Thursday 29th May 2014

• Backing up your MongoDB data with MMS

• Learn to Build & Manage Modern Apps in Two Days

• Largest Gather of MongoDB World Experts Ever

• 80+ Sessions from Fundamentals to Advanced 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

• www.mongodbworld.com

MongoDB World – June 23-25, New York City

Questions?

Thanks!

Senior Solution Architect, MongoDB

Sam Weaver

#MongoDBWebinars #MongoDBManagementService

Recommended