Prerequisites for MongoDB

All system requirements and prerequisites for the IBM Spectrum® Protect Plus MongoDB application server must be met before you start protecting MongoDB data with IBM Spectrum Protect Plus.

For MongoDB system requirements, see MongoDB system requirements.

To meet the prerequisites for MongoDB, complete the following checks and actions.

  1. Ensure you have met the space prerequisites, as described in Space requirements for MongoDB protection.
  2. Set the file size limit for the MongoDB instance user with the command ulimit -f to unlimited. Alternatively, set the value to sufficiently high to allow the copying of the largest database files in your backup and restore jobs. If you change the ulimit setting, restart the MongoDB instance to finalize the configuration.
  3. If you are running MongoDB in a Linux® environment, ensure that the installed sudo version is at a supported level.

    For more information about the version level, see MongoDB requirements. For information about setting sudo privileges, see Setting sudo privileges.

  4. If your MongoDB databases are protected by authentication, you must set up role-based access control. For more information, see Roles for MongoDB.
  5. Each MongoDB instance to be protected must be registered on IBM Spectrum Protect Plus. After the instances are registered, IBM Spectrum Protect Plus runs an inventory to detect MongoDB resources. Ensure that all instances that you want to protect are detected and listed correctly.
  6. Ensure that the SSH service is running on port 22 on the server, and that firewalls are configured to allow IBM Spectrum Protect Plus to connect to the server with SSH. The SFTP subsystem for SSH must be enabled.
  7. Ensure that you do not configure nested mount points.

Restrictions

The following restrictions apply to the MongoDB application server:
  • MongoDB sharded cluster configurations are detected when you run an inventory, but these resources are not eligible for backup or restore operations.
  • Unicode characters in MongoDB file path names cannot be handled by IBM Spectrum Protect Plus. All names must be in ASCII.

Virtualization

Protect your MongoDB environment with IBM Spectrum Protect Plus. The MongoDB application server that is installed on a VMware or Kernel-based Virtual Machine (KVM) virtual machine is protected when MongoDB is running on a supported operating system.