MongoDB for Administrators
MongoDB for Administrators - Overview
This course covers everything a database administrator needs to know to successfully deploy and maintain MongoDB databases.
Diagnosing performance issues, importing and exporting data, and establishing the proper backup and restore routines, overview of the MongoDB CRUD API, the command shell, and the drivers are also covered.
The audience of this course include people who want to:
- Understand MongoDB from a developer's perspective, including its command shell, query API, and driver tools.
- Deploy MongoDB in all its configurations - as a single server, with master/slave replication, as a replica set, and as a sharded cluster.
- Evaluate applications and choose hardware appropriately.
- Monitor MongoDB instances and integrate with standard monitoring software (Munin, Nagios, etc.)
- Plan for backups and manage large data imports and exports.
- Troubleshoot the most common developer issues and failure scenarios.
Each delegate will need to perform a series of practical exercises.
MongoDB Architectural Overview
- Origin, design goals, key features
- Process structure (mongos, mongod, config servers)
- Directory / file structure
Working with the MongoDB Shell
- Documents and data types
- CRUD (Inserts, queries, updates, deletes)
- System commands
Single-server Configuration and Deployment
- Configuration files
- Data files and allocation
- Log files
- Hardware and file-system recommendations
Security
- Built-in authentication
- Recommendations for secure deployment
Monitoring MongoDB
- mongostat
- Analyzing memory and IO performance
- Integration with monitoring tools: Munin / Cacti / Nagios
- MongoDB's web console
Indexing and Query Optimization
- Managing indexes and MongoDB indexing internals
- Single / Compound / Geo indexes
- Identifying sub-optimal queries. Using the query profiler.
Introduction to drivers (Java/Python/Ruby/PHP/Perl)
- How the drivers and shell communicate with MongoDB
- BSON and the MongoDB Wire Protocol
- Troubleshooting application connections
Intro to Read and Write scalability
Replication and Durability
- Master-slave replication
- Replica sets
- Using write concern for durability
- Handling replication failures
Auto-Sharding
- How sharding works
- Setting up a MongoDB shard cluster
Choosing a shard key
Sharding and indexes
- Sharding and Replica Set Topologies
- Administering a sharded cluster
Shard / Chunk Migration
Backup and Restore Plans
- Filesystem-based strategies
- mongodump / mongorestore
- rsync
- mongoimport / mongoexport
--------------------------------------------------------------------------------------------------------------------
MongoDB Advanced Administrator - Overview
This instructor-led, live training (online or onsite) is aimed at administrators wishing to solve complex deployment and management problems using MongoDB Ops Manager.
By the end of this training, participants will be able to:
- Install and configure MongoDB Ops Manager
- Set up and manage different types of environments
- Understand and implement MongoDB Enterprise Server specific solutions to solve complex enterprise challenges
Format of the Course
- Interactive lecture and discussion
- Lots of exercises and practice
- Hands-on implementation in a live-lab environment
Course Customization Options
- This training is based on MongoDB Enterprise Server, which includes Ops Manager. Please consult with us to arrange license requirements.
- To request a customized training for this course, please contact us to arrange.
Course Outline
Introduction
- Why a management application for MongoDB?
Overview of MongoDB Enterprise Server Features and Architecture
Setting up MongoDB Ops Manager
Server and Infrastructure Provisioning
Managing the Network
Diagnosing the System
Deploying to Production
Monitoring and Performance Alerts
Performance Tuning
Query Optimization
Backup and Recovery
Disaster Recovery
Advanced Security
Patching the System
Scaling MongoDB
Troubleshooting
Summary and Conclusion
--------------------------------------------------------------------------------------------------------------------
Administrating Percona Server for MongoDB
Overview
Percona Server for MongoDB is a free, enhanced, fully compatible, open source, drop-in replacement for MongoDB 3.2 Community Edition with enterprise-grade features. It requires no changes to MongoDB applications or code.
Audience
This course is suitable for sysadmins and engineers seeking to switch to Percona Server from preexisting MongoDB instances, or deploy and administrate new Percona Server for MongoDB instances.
After completing this course, delegates will:
- understand Percona Server’s structure and deployment mechanisms
- be able to carry out installation / production environment / architecture tasks and configuration
- be able to assess code quality, perform debugging, monitoring
- be able to implement advanced production like replication, performance tuning and logging
Getting Started
- Installing Percona Server for MongoDB
Percona FT Storage Engine
- Switching Storage Engines
- Configuring PerconaFT
External Authentication
- Overview
- External Authentication Commands
- Environment Setup and Configuration
Percona TokuBackup
- Architectural Overview
- Making a Backup
- Checking Backup Progress
- Controlling Backup Rate
- Restoring From Backup
- Creating New Replicas
- Sharding
Auditing