KEMBAR78
An Introduction to MongoDB Ops Manager | PPTX
Introduction to Ops Manager 2.0
Mark Yalenti
MongoDB Sr. Solution Architect
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
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
MongoDB Ops Manager
Relational
Expressive Query Language
& Secondary Indexes
Strong Consistency
Enterprise Management
& Integrations
NoSQL
Scalability
& Performance
Always On,
Global Deployments
FlexibilityExpressive Query Language
& Secondary Indexes
Strong Consistency
Enterprise Management
& Integrations
Nexus Architecture
Scalability
& Performance
Always On,
Global Deployments
FlexibilityExpressive Query Language
& Secondary Indexes
Strong Consistency
Enterprise Management
& Integrations
Nexus Architecture
Scalability
& Performance
Always On,
Global Deployments
FlexibilityExpressive Query Language
& Secondary Indexes
Strong Consistency
Enterprise Management
& Integrations
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 Cloud
Up to 95% Reduction in Operational Overhead
How MongoDB Ops Manager helps you
Scale EasilyMeet SLAs
Best Practices,
Automated
Cut Management
Overhead
Automation
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
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
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
Performance Monitoring
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
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
Query Perf. Visualizations & Optimization
Fast 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
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
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.
Risk Mitigation
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
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
API Access
General Information
https://docs.opsmanager.mongodb.com/current/api/
Tutorial
https://docs.opsmanager.mongodb.com/current/tutorial/create-cluster-with-api/
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
Integrates with Existing Infrastructure
Architecture
How Automation Works
Ops Manager
Automation
agent per
server
How Automation Works
Ops Manager
mongod mongod
mongod
Automation
agent per
server
Configuration
config
servers
mongos
How Monitoring Works
Ops Manager
mongod mongod
mongod
mongos
Monitoring
agent per
group
config
servers
How Backup Works
Replica Set
Shard 2 Shard 3Shard 1
Sharded Cluster
Production
MongoDB
Deployment
How Backup Works
Ops
Manager
Replica Set
Shard 2 Shard 3Shard 1
Sharded Cluster
Production
MongoDB
Deployment
Backup Daemon HEADs
Invisible secondary replicas
How Backup Works
Ops
Manager
MongoDB Database
Replica Set
Shard 2 Shard 3Shard 1
Sharded Cluster
Production
MongoDB
Deployment
Blockstore/Filesystem
Compressed,
deduplicated (BlockStore)
snapshot storage
Restores
Snapshots consistent clustershot (sharded)
Backup Daemon HEADs
Invisible secondary replicas
Ops Manager is Free for Unlimited
Evaluation and Development
Try it today
mongodb.com/download
Documentation
docs.opsmanager.mongodb.com
49
Get expert help: Planning,
Installing, Sizing Ops Manager
Ops Optimization
What 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.com
or email us at sales@mongodb.com
50
Thanks for participating!

An Introduction to MongoDB Ops Manager

  • 1.
    Introduction to OpsManager 2.0 Mark Yalenti MongoDB Sr. Solution Architect
  • 2.
    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
  • 3.
    About Me • MongoDBSolution 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
  • 4.
  • 5.
    Relational Expressive Query Language &Secondary Indexes Strong Consistency Enterprise Management & Integrations
  • 6.
    NoSQL Scalability & Performance Always On, GlobalDeployments FlexibilityExpressive Query Language & Secondary Indexes Strong Consistency Enterprise Management & Integrations
  • 7.
    Nexus Architecture Scalability & Performance AlwaysOn, Global Deployments FlexibilityExpressive Query Language & Secondary Indexes Strong Consistency Enterprise Management & Integrations
  • 8.
    Nexus Architecture Scalability & Performance AlwaysOn, Global Deployments FlexibilityExpressive Query Language & Secondary Indexes Strong Consistency Enterprise Management & Integrations
  • 9.
    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 Cloud Up to 95% Reduction in Operational Overhead
  • 10.
    How MongoDB OpsManager helps you Scale EasilyMeet SLAs Best Practices, Automated Cut Management Overhead
  • 11.
  • 12.
    Deployment • Deploy andManage 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
  • 14.
    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
  • 18.
    Painless Scaling • Scalefor 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
  • 20.
  • 21.
    Performance Monitoring • PlatformSpecific 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
  • 23.
    Issue Isolation CapacityPlanning 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
  • 24.
    Query Perf. Visualizations& Optimization Fast 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
  • 25.
    Alerting • Establish Alertsbased 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
  • 28.
    Integrations with APMPlatforms 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.
  • 29.
  • 30.
    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
  • 35.
    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
  • 39.
  • 40.
    Integration to ExternalIT 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
  • 41.
  • 42.
  • 43.
    How Automation Works OpsManager Automation agent per server
  • 44.
    How Automation Works OpsManager mongod mongod mongod Automation agent per server Configuration config servers mongos
  • 45.
    How Monitoring Works OpsManager mongod mongod mongod mongos Monitoring agent per group config servers
  • 46.
    How Backup Works ReplicaSet Shard 2 Shard 3Shard 1 Sharded Cluster Production MongoDB Deployment
  • 47.
    How Backup Works Ops Manager ReplicaSet Shard 2 Shard 3Shard 1 Sharded Cluster Production MongoDB Deployment Backup Daemon HEADs Invisible secondary replicas
  • 48.
    How Backup Works Ops Manager MongoDBDatabase Replica Set Shard 2 Shard 3Shard 1 Sharded Cluster Production MongoDB Deployment Blockstore/Filesystem Compressed, deduplicated (BlockStore) snapshot storage Restores Snapshots consistent clustershot (sharded) Backup Daemon HEADs Invisible secondary replicas
  • 49.
    Ops Manager isFree for Unlimited Evaluation and Development Try it today mongodb.com/download Documentation docs.opsmanager.mongodb.com 49
  • 50.
    Get expert help:Planning, Installing, Sizing Ops Manager Ops Optimization What 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.com or email us at sales@mongodb.com 50
  • 51.