Upload
mongodb
View
3.698
Download
5
Embed Size (px)
Citation preview
Introduction to Ops Manager 2.0
Mark YalentiMongoDB 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 CloudUp 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 & 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
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/
Tutorialhttps://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 mongodmongod
Automation agent per
server
Configuration
config servers
mongos
How Monitoring Works
Ops Manager
mongod mongodmongod
mongos
Monitoring agent per
group
config servers
How Backup WorksReplica Set
Shard 2 Shard 3Shard 1
Sharded ClusterProduction MongoDBDeployment
How Backup Works
OpsManager
Replica Set
Shard 2 Shard 3Shard 1
Sharded ClusterProduction MongoDBDeployment
Backup Daemon HEADsInvisible secondary replicas
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
Ops Manager is Free for Unlimited Evaluation and Development
Try it todaymongodb.com/download
Documentationdocs.opsmanager.mongodb.com
49
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
Thanks for participating!