Chapter 6. Monitoring and Backups

In this chapter, we will be taking a look at the following recipes:

  • Signing up for MMS and setting up the MMS monitoring agent
  • Managing users and groups on the MMS console
  • Monitoring MongoDB instances on MMS
  • Setting up monitoring alerts on MMS
  • Backing up and restoring data in Mongo using out-of-the-box tools
  • Configuring the MMS backup service
  • Managing backups in the MMS backup service

Introduction

Monitoring and backups are important aspects of any mission-critical software in production. Monitoring proactively lets us take actions whenever any abnormal event occurs in the system, which can compromise the data consistency, availability, or the performance of the system. Issues might come to light after having a significant impact in the absence of proactive monitoring of the systems. We covered administration-related recipes in Chapter 4, Administration, and both monitoring and backup activities are part of it. However, they demand a separate chapter, as the content to be covered is extensive. In this chapter, we will see how to monitor various parameters and set up alerts for various parameters of your MongoDB cluster, using the MongoDB Monitoring Service (MMS). We will look at some mechanisms to back up the data using the out-of-the-box tools provided and also using the MMS backup service.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset