54
MongoDB Management Service: Getting Started Sam Weaver, Senior Solution Architect #MongoDBWebinars #MongoDBManagementService

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

  • Upload
    mongodb

  • View
    878

  • Download
    3

Embed Size (px)

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

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

MongoDB Management Service: Getting Started

Sam Weaver, Senior Solution Architect

#MongoDBWebinars #MongoDBManagementService

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

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

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

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

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

What is MMS?

• Software built by MongoDB FOR MongoDB

• Makes your operations easier

• Can be run on-premise or in the cloud

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

MMS Then…

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

MMS Now….

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

Getting Started

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

Firstly.. Sign up..

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

Welcome screen..

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

Begin Setup..

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

Select an OS

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

Verify the agent..

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

Add and verify hosts

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

And if all goes well…

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

Great! Now what?

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

Notice..

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

Clicking on the host gives you metrics

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

Why Monitoring?

Cant fix what you don’t know about

Capacity planning

Pre-empting problemsProactive support

2-way mirror with commercial support

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

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

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

Your activity feed

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

Set alerts

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

Why Alerting?

Alerts on a huge range of metrics– Host metrics– Replica set– Agent– Backup

Send alerts via SMS, Email, PagerDuty and HipChat

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

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)

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

Users

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

Add users

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

User Roles

• Different members of your team can do different things– Owner– Automation admin– Backup admin– Monitoring admin– User Admin– Read only

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

Bottom Line?

• Multiple people can admin different parts of the system.

• Work as one team, with set responsibilities for each

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

Backup

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

• 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

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

• 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

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

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

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

Traditional Backup

• Slower to restore

• Can suffer from being out of date

• Fairly cheap

• Isolated

• Covers most risks

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

• Mongodump/mongorestore

• Storage level options

• MongoDB Backup Service

Backup Approaches

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

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

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

Installing the agent..

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

Download and extract…

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

Verify agent and host

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

Select what you want to backup

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

Exclude certain name spaces

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

If its successful..

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

Snapshots…

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

Backing up a sharded cluster

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

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

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

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

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

Automation

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

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

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

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

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

Next session..

• Next Thursday! Thursday 29th May 2014

• Backing up your MongoDB data with MMS

Page 52: MongoDB Management Service (MMS): Session 01: Getting Started 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

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

Questions?

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

Thanks!

Senior Solution Architect, MongoDB

Sam Weaver

#MongoDBWebinars #MongoDBManagementService