an introduction to mongodb ops manager

51
Introduction to Ops Manager 2.0 Mark Yalenti MongoDB Sr. Solution Architect

Upload: mongodb

Post on 06-Jan-2017

3.698 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: An Introduction to MongoDB Ops Manager

Introduction to Ops Manager 2.0

Mark YalentiMongoDB Sr. Solution Architect

Page 2: An Introduction to MongoDB Ops Manager

Agenda• About Me• About Ops Manager

– Automation - MongoDB Availability and Maintenance– Metrics - Performance Monitoring and Tuning– Backups and Authentication/Authorization - Risk Mitigation– API Access

• Architecture• Short Demo – Time Permitting• Q&A

Page 3: An Introduction to MongoDB Ops Manager

About Me

• MongoDB Solution Architect in the Greater NY area• Previously with BMC Software, Amdocs, Tollgrade Communications, Philips • Support a broad range of account verticals including Financial, Health Care,

Communications• I’ve occupied just about all roles in the IT stack

– Support– Development– Infrastructure– Ops– Design and Architecture

Page 4: An Introduction to MongoDB Ops Manager

MongoDB Ops Manager

Page 5: An Introduction to MongoDB Ops Manager

Relational

Expressive Query Language& Secondary Indexes

Strong Consistency

Enterprise Management& Integrations

Page 6: An Introduction to MongoDB Ops Manager

NoSQL

Scalability& Performance

Always On,Global Deployments

FlexibilityExpressive Query Language& Secondary Indexes

Strong Consistency

Enterprise Management& Integrations

Page 7: An Introduction to MongoDB Ops Manager

Nexus Architecture

Scalability& Performance

Always On,Global Deployments

FlexibilityExpressive Query Language& Secondary Indexes

Strong Consistency

Enterprise Management& Integrations

Page 8: An Introduction to MongoDB Ops Manager

Nexus Architecture

Scalability& Performance

Always On,Global Deployments

FlexibilityExpressive Query Language& Secondary Indexes

Strong Consistency

Enterprise Management& Integrations

Page 9: An Introduction to MongoDB Ops Manager

Single-click provisioning, scaling & upgrades, admin tasks

Monitoring, with charts, dashboards and alerts on 100+ metrics

Backup and restore, with point-in-time recovery, support for sharded clusters

Visual query performance diagnostics, index suggestions, and automated index rollouts

MongoDB Ops Manager

The Best Way to Manage MongoDB In Your Data Center or the CloudUp to 95% Reduction in Operational Overhead

Page 10: An Introduction to MongoDB Ops Manager

How MongoDB Ops Manager helps you

Scale EasilyMeet SLAs

Best Practices, Automated

Cut Management Overhead

Page 11: An Introduction to MongoDB Ops Manager

Automation

Page 12: An Introduction to MongoDB Ops Manager

Deployment

• Deploy and Manage any type of MongoDB implementation– Replica Sets– Sharded Environments– Standalone Server

• Designed to support a Wide Variety of architectures– Public Cloud– Private Cloud– Bare Metal

• Allows for detailed parameter tuning

Page 13: An Introduction to MongoDB Ops Manager
Page 14: An Introduction to MongoDB Ops Manager

No Down-Time Modification

• Modify your MongoDB deployments with no down-time– Sharded Environments– Replica Sets

• Example operations: (Not Exhaustive)– Version upgrades and Downgrades– Resizing Oplog– Change Startup Parameters– Build Indexes– Change Listening Ports / Storage Engine– Enable Profiler– Tune Storage Engine Parameters – Change Log Verbosity– Change member priority / Vote / Replication

Delay

Effortless Best Practices

Page 15: An Introduction to MongoDB Ops Manager
Page 16: An Introduction to MongoDB Ops Manager
Page 17: An Introduction to MongoDB Ops Manager
Page 18: An Introduction to MongoDB Ops Manager

Painless Scaling

• Scale for throughput– Expand a Sharded Environment

• Scale for availability/DR– Add Members to a Replica Set

• Migrations– Add Members to a New DC to

retire old ones• Just a few simple clicks

Meet the Demands

Page 19: An Introduction to MongoDB Ops Manager
Page 20: An Introduction to MongoDB Ops Manager

Performance Monitoring

Page 21: An Introduction to MongoDB Ops Manager

Performance Monitoring

• Platform Specific Metrics– 100+ MongoDB metrics

• Different zoom levels– Macro View (Cluster, RepSet) Stacked.– Individual Node View– Database specific view

• Extensive Granularity Levels – Down to the Min• Examples: (Non Exhaustive)

– OpCounters– Cache Usage– Queues– Page Faults– CPU Time– Oplog GB/Hour

Quickly Derive Performance Insights

Page 22: An Introduction to MongoDB Ops Manager
Page 23: An Introduction to MongoDB Ops Manager

Issue Isolation Capacity Planning

Metrics for Issue Isolation:• Cursors• OpCounter• Replication Lag• Queues• Page Faults• Connections• Network• Cache Usage• Page Faults

Metrics for Capacity Planning:• DB Storage• CPU Time• Network• OpLog GB/Hour• Number of DB objects• Storage Size• Data Size• OpCounters

Page 24: An Introduction to MongoDB Ops Manager

Query Perf. Visualizations & OptimizationFast and simple query optimization with the

new Visual Query Profiler

• Query and write latency are consolidated and

displayed visually; your ops teams can easily

identify slower queries and latency spikes

• Visual query profiler analyzes the data it displays

and provides recommendations for new indexes

that can be created to improve query performance

• Ops Manager and Cloud Manager can automate the

rollout of new indexes, reducing risk and your

team’s operational overhead

Page 25: An Introduction to MongoDB Ops Manager

Alerting

• Establish Alerts based on Metrics/Baselines• Specify by Server Type• Specify the Alert Target• Specify Alert mechanism

– SNMP– Email– HipChat– Slack– FlowDock– PagerDuty

• Specify Alert Let-Off

Be proactive with Alerting

Page 26: An Introduction to MongoDB Ops Manager
Page 27: An Introduction to MongoDB Ops Manager
Page 28: An Introduction to MongoDB Ops Manager

Integrations with APM Platforms

Easily incorporate MongoDB performance

metrics into your existing APM dashboards

for global oversight of your entire IT stack

• MongoDB drivers enhanced with new API that

exposed query performance metrics to APM tools

• In addition, Ops and Cloud Manager can

complement this functionality with rich database

monitoring.

Page 29: An Introduction to MongoDB Ops Manager

Risk Mitigation

Page 30: An Introduction to MongoDB Ops Manager

Online Backups – PIT Restore

• Ops Manager performs Online backups• Offers PIT recovery• Offers Automated Restore options• Storage Medium options:

– BlockStore (MongoDB Database)– Specified File system

• Permits specifying custom retention policies• PIT recovery for up to 1yr• Fully supports Replica Sets and Sharded

Environments• Supports Namespace Filtering

Effective Backup and Restore Strategies

Page 31: An Introduction to MongoDB Ops Manager
Page 32: An Introduction to MongoDB Ops Manager
Page 33: An Introduction to MongoDB Ops Manager
Page 34: An Introduction to MongoDB Ops Manager
Page 35: An Introduction to MongoDB Ops Manager

Centralized Authentication/RBAC Management

• Manage Users and Roles• Deploy Users and RBACs based on

system membership in Ops Manager

• User/Roles Defined will automatically propagate to all systems in that Ops Manager group

• Supports External Authentication configurations

Making Security Easy and Automatic

Page 36: An Introduction to MongoDB Ops Manager
Page 37: An Introduction to MongoDB Ops Manager
Page 38: An Introduction to MongoDB Ops Manager
Page 40: An Introduction to MongoDB Ops Manager

Integration to External IT processes

• Full Rest Api functionality• All Operations are supported• Key For:

– Micro services– Software Defined Datacenter– MongoDB as a Service– Enterprise Automation Services– Cloud based Service Catalogs– Alerting platforms– Capacity Planning Platforms– ITSM (e.g. Remedy, Service Now)

Support Enterprise IT initiatives

Page 41: An Introduction to MongoDB Ops Manager

Integrates with Existing Infrastructure

Page 42: An Introduction to MongoDB Ops Manager

Architecture

Page 43: An Introduction to MongoDB Ops Manager

How Automation Works

Ops Manager

Automation agent per server

Page 44: An Introduction to MongoDB Ops Manager

How Automation Works

Ops Manager

mongod mongodmongod

Automation agent per

server

Configuration

config servers

mongos

Page 45: An Introduction to MongoDB Ops Manager

How Monitoring Works

Ops Manager

mongod mongodmongod

mongos

Monitoring agent per

group

config servers

Page 46: An Introduction to MongoDB Ops Manager

How Backup WorksReplica Set

Shard 2 Shard 3Shard 1

Sharded ClusterProduction MongoDBDeployment

Page 47: An Introduction to MongoDB Ops Manager

How Backup Works

OpsManager

Replica Set

Shard 2 Shard 3Shard 1

Sharded ClusterProduction MongoDBDeployment

Backup Daemon HEADsInvisible secondary replicas

Page 48: An Introduction to MongoDB Ops Manager

How Backup Works

OpsManager

MongoDB Database

Replica Set

Shard 2 Shard 3Shard 1

Sharded ClusterProduction MongoDBDeployment

Blockstore/FilesystemCompressed, deduplicated (BlockStore)snapshot storage

Restores

Snapshots consistent clustershot (sharded)

Backup Daemon HEADsInvisible secondary replicas

Page 49: An Introduction to MongoDB Ops Manager

Ops Manager is Free for Unlimited Evaluation and Development

Try it todaymongodb.com/download

Documentationdocs.opsmanager.mongodb.com

49

Page 50: An Introduction to MongoDB Ops Manager

Get expert help: Planning,Installing, Sizing Ops Manager

Ops OptimizationWhat is it? A custom plan developed by a MongoDB consulting engineer for setting up Ops Manager on your infrastructure

What to expect• A plan for setting up Ops Manager in your data center• Learn how to enable Ops Manager• Figure out which metrics to monitor and how to enable a backup and

disaster recovery strategy

Find out more at mongodb.comor email us at [email protected]

50

Page 51: An Introduction to MongoDB Ops Manager

Thanks for participating!