This is our last chapter. Here, you will learn how to manage and control the MongoDB instances, including replica sets, shards, and standalone mongod
instances. We will review monitoring, profiling, and reporting utilities in MongoDB. Also, we will study the diagnostic strategies that help database administrators prevent database engine failures. Step-by-step, we will learn how to work with these utilities.
You're reading from MongoDB High Availability
Monitoring is one of the critical tasks of database administration. Using correct monitoring tools based on the situation and context can help database administrators to provide a readily-available database engine. For instance, by configuring the correct alert messages in database high overload, the database administrator can follow an appropriate method to add a new node to the cluster or upgrade the existing server.
The good news is that MongoDB has many monitoring and profiling tools. In the previous chapters, we used some of these tools, such as profiling. In order to monitor the database, you can use different approaches based on your context. If you want to have a real-time report of a database or check the currently running tasks or read/write operations, you can use the built-in database commands or utilities.
On the other hand, in certain situations when you want to diagnose a database, you can simply use the profiling tools. These tools come in...
In this section, we will go through the web-based tools and utilities to manage and control the MongoDB instance. Tools in this category are generally easy to use and configure. Using a straightforward installation, you can configure the tools and then check the reports online using a web page or mobile application.
MMS is a web-based tool provided by MongoDB to facilitate the process of deployment and management of MongoDB instance. You can access MMS at https://mms.mongodb.com/.
The following is a screenshot of the MMS monitoring service:
If you have a small MongoDB instance, you can use this tool for free. Moreover, to get more information about pricing, you can check the price list at https://mms.mongodb.com/pricing.
The MMS system supports all types of MongoDB instances, including standalone, sharded cluster, master/slave, and replica set.
The following list shows the main features of the MMS management tool:
Supports all...
FusionReactor is a real-time management tool. It provides a plugin to manage database engines. Using this tool, you can manage your MongoDB instance in a simple manner.
In order to access this tool, visit http://www.fusion-reactor.com/. The home page of FusionReactor is shown in the following screenshot:
The major features of FusionReactor are as follows:
Real-time dashboard: FusionReactor has a real-time dashboard with a lot of plugins. You can simply manage and arrange them in your required order. The following screenshot shows the dashboard of FusionReactor:
In-detail reports: Using in-detail reports, you can view everything about your MongoDB instance.
FusionReactor doesn't offer any free plans, but you can check the pricing at http://www.fusion-reactor.com/pricing/.
Note
MongoDB has many other administration tools and you can find a detailed list by visiting http://docs.mongodb.org/ecosystem/tools/administration-interfaces/.
There are many open source management utilities for MongoDB. You can download and install them on your machine. The following table shows the description and website for each of these tools:
Tool name |
Description |
Website |
---|---|---|
|
This is a shell-centric cross-platform MongoDB management tool. | |
| ||
|
Nagios offers complete monitoring and alerting for servers, switches, applications, and services. | |
|
This enterprise-class monitoring solution. This is a useful tool to monitor resources, servers' health and performance. | |
|
This is a real-time monitoring tool. It shows the current operations ordered by durations every second. | |
|
This is a scalable distributed monitoring system for high-performance computing systems. |