Join us as the Severalnines & Percona teams join forces for a different perspective on how to automate and manage your MongoDB or Percona Server for MongoDB databases. During this webinar, we’ll walk you through the key features of the Percona Server for MongoDB as compared to MongoDB itself as well as how to manage both “flavours” of MongoDB.
There are many generic tools available, both commercial and open source, to aid with the automation of operational tasks. Some of these tools are even deployed in the database world.
However, there are a small number of specialist domain-specific automation tools available, and we are going to compare the MongoDB-relevant functionality of two of these products: MongoDB’s Ops Manager, and ClusterControl from Severalnines. Attendees should take away a clear understanding of the differences between these tools, and how they help automate and manage MongoDB operations.
AGENDA
- Introduction to Percona Server for MongoDB
- How to automate and manage MongoDB
- Installation and maintenance
- Complexity of architecture
- Options for redundancy
- Comparative functionality
- Monitoring, Dashboard, Alerting
- Backing up your deployments
- Automated deployment of advanced configurations
- Upgrading existing deployments
SPEAKERS
Ruairí Newman is passionate about all things cloud and automation and has worked for MongoDB, VMware and Amazon Web Services among others. He has a background in Operational Support Systems and Professional Services.
Prior to joining Severalnines, Ruairí worked for Huawei Ireland as Senior Cloud Solutions Architect on their Web Services project, where he advised on commodity cloud architecture and Monitoring technologies, and deployed and administered a Research & Development Openstack lab.
Prior to joining Percona as a Product Manager, Tyler Duzan spent almost 13 years as an operations and security engineer in a variety of different industries. Deciding to take his analytical mindset and strategic focus into new territory, Tyler is applying his knowledge to solving business problems for Percona customers with inventive solutions combining technology and services.
20240508 QFM014 Elixir Reading List April 2024.pdf
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
1. Copyright 2017 Severalnines AB
An Overview of Ops Manager & ClusterControl
24th
October 2017
Ruairí Newman, Senior Support Engineer, Severalnines
Tyler Duzan, Product Manager, Percona
Presenters
ruairi@severalnines.com tyler.duzan@percona.com
How to Manage MongoDB &
Percona Server for MongoDB
2. Copyright 2017 Severalnines AB
I'm Jean-Jérôme from the Severalnines Team and
I'm your host for today's webinar!
Feel free to ask any questions in the Questions
section of this application or via the Chat box.
You can also contact me directly via the chat box
or via email: info@severalnines.com during or
after the webinar.
Your host & some logistics
8. Copyright 2017 Severalnines AB
An Overview of Ops Manager & ClusterControl
24th
October 2017
Ruairí Newman, Senior Support Engineer, Severalnines
Presenter
ruairi@severalnines.com
MongoDB: How to Automate and
Manage Operations
9. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
High-Level Feature Comparison
ClusterControl Ops Manager
Deploy Replica Set, Sharded Cluster Yes Yes
Metrics Monitored Host metrics, MongoDB Metrics Host metrics, MongoDB Metrics
Custom Dashboards Yes, plus “Advisors” Yes
Cloud/IaaS Provider Integration AWS S3 (for Backups)* AWS S3 (for Backups)
Consistent Backups (Sharded) Yes Yes
User & Group Mgmt, LDAP Yes Yes
Secure Installation Default Supported
Auto Recovery Explicit No
Scriptable Command Line Yes No
10. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
Installation:
● Ops Manager
○ Downloadable from mongodb.com
○ Enterprise MongoDB Subscription
○ MongoDB Licences for for servers required to support Ops Manager
○ Production vs Test deployment
● ClusterControl
○ Downloadable from severalnines.com--install-cc script
○ Installs required open source dependencies
○ Community edition, Advanced, and Enterprise
Installation Requirements:
● Ops Manager
○ Production
○ “Test”
● ClusterControl
The Basics - Getting Started
12. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
Highly Available Ops Manager Architecture
In this scenario, a highly
available Ops Manager
requires 8 physical servers,
not including the HTTP load
balancer.
Apart from the HTTP
Services, the solution requires
3 MongoDB replica sets of 3
data nodes each;
One each for the Application
Database, and the Backup
Blockstore Databases #1 &
#2.
13. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
ClusterControl uses a single MySQL /
MariaDB database server, to which
its core services connect to store and
retrieve data.
Redundancy can be achieved
through deploying a database
snapshot on a second node, and
installing the ClusterControl
applications.
With a HTTP proxy in front, requests
can be directed to the live node.
ClusterControl services such as
auto-recovery should be stopped on
the second node to avoid
complications.
ClusterControl Architecture
15. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
❏ EC2 instances
❏ 4 x “t2.small” CentOS 7.3 EC2 instances: 1 for ClusterControl, 3 for a
MongoDB Replica Set deployment
❏ Obtain and install ClusterControl installation script from severalnines.com
❏ Deploy a 3-node MongoDB Replica Set
❏ Review key functionality
Installation of ClusterControl
16. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
Installation of Ops Manager “Test”
❏ EC2 instances
❏ 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install
❏ 3 x “t2.small” CentOS 7.3 EC2 instances for 3-Node MongoDB Replica Set
❏ Obtain and install MongoDB installation RPM
❏ Deploy a 3-node MongoDB Replica Set
❏ Review key functionality
20. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
● First GA release in December 2015
● Maintains drop-in compatibility with upstream
● Focused on performance and stability improvements layered on
top of MongoDB Community Edition
● Provides a place to develop new storage engines and capabilities
● Implements many MongoDB Enterprise features in an open-source
release
● Expedited bug fixes for Percona Support customers and these fixes
are shared with the community
What is Percona Server for MongoDB
22. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
● Enhanced Security Capabilities
○ Auditing
○ Log Redaction
○ LDAP Authentication
● New Storage Engines
○ Percona Memory Engine (compatible with Memory Engine in MongoDB EE)
○ MongoRocks is integrated
● Native Hot Backup Capability
○ Supports both MongoRocks and Wired Tiger storage engines
● Integration with Percona Toolkit and Percona Monitoring and Management (PMM)
for query performance analytics and troubleshooting
● Enhanced Query Profiling
Percona Server vs MongoDB Community Edition
23. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
● Added to Percona Server for MongoDB in partnership with Facebook
● Based on the open-source RocksDB library derived from LevelDB
● Uses LSM-trees instead of B-trees for indexes, optimizes for write-heavy
workloads
● Has native support for Snappy, LZ4, and Zlib compression
● LSM-Trees are append-only, so are fast regardless of disk size or available
space.
● Writes go to Memtables first before being flushed to disk, reads are
serviced from memory if possible
● Compared to Wired Tiger, MongoRocks uses less disk space, maintains
higher insert rates, and has better response times.
MongoRocks: RocksDB for MongoDB
24. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
● QAN for MongoDB was announced at Percona Live Europe in Dublin,
September 2017
● Query Profiling in the upstream implementation can incur significant
performance overhead
● Percona Server for MongoDB implements an optimized query profiler that
supports setting rate limits
● For example to profile all operations only for queries which are slower
than 200ms and every 100th fast query, you would do the following:
○ mongod --profile 2 --slowms 200 --rateLimit 100
● Integrates with Percona Toolkit using pt-mongodb-query-digest tool
Query Profiling and PMM
25. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
● Severalnines ClusterControl meets and exceeds the capabilities of
MongoDB Ops Manager
● Percona Server for MongoDB provides MongoDB Enterprise Edition
features at no licensing cost, with additional storage engines and
performance improvements
● With Percona Server for MongoDB and Severalnines ClusterControl
together, you have the capabilities of MongoDB Enterprise Edition
with Ops Manager at a reduced TCO while gaining additional
features and capabilities
Percona Server for MongoDB + Severalnines ClusterControl
27. Copyright 2017 Severalnines AB
● Download: ClusterControl
● White Paper: Bringing MongoDB to Production
● Download: Percona Server for MongoDB
● The replay & slides of today’s webinar will be online
within the next 48 hours
Some Resources