Navigation
This version of the documentation is archived and no longer supported.

Upgrade to MongoDB Enterprise (Standalone)

MongoDB Enterprise provides various features not available in the MongoDB Community edition, such as:

The following steps outline the procedure to upgrade a standalone mongod from the MongoDB Community Edition to the MongoDB Enterprise Edition. For example, the steps can be used to upgrade MongoDB 4.0 Community to MongoDB 4.0 Enterprise.

Consideration

Warning

Do not use these instructions to upgrade to another release version. To upgrade release versions, refer to the appropriate release upgrade instructions, such as Upgrade to MongoDB 4.0.

Download Enterprise Binaries

Depending on your operating system, you can install the MongoDB Enterprise binaries by using a package manager or by downloading the binaries manually.

If you have installed MongoDB Community using a package manager, follow the package manager instructions for your operating system:

During the installation, the package manager will remove the community packages; this will not affect the running deployment until you restart.

If you have not installed MongoDB using a package manager, you can manually download the MongoDB binaries from the MongoDB Download Center. Follow the manual instructions, including specific prerequisites for MongoDB Enterprise, for your operating system:

Important

Install to a location different from that of your current Community edition.

In the upgrade procedure, you will use the existing data directory and, if applicable, the existing configuration file.

Important

You cannot use the .msi to install the Enterprise edition if you have the Community edition of the same release series installed on the same machine. That is, if you have version 4.0.0 Community edition installed, you cannot use the .msi to install the 4.0.0 or 4.0.1 Enterprise edition.

  1. Manually download the archive file from the MongoDB Download Center.

  2. To install, extract/unzip the file to a location different from that of your current Community edition.
    In the upgrade procedure, you will use the existing data directory and, if applicable, the existing configuration file.

Install the binaries:

  1. Manually download the archive file from the MongoDB Download Center.

  2. Extract the files to a location different from that of your current Community edition. For details on extracting the files, see macOS.
    In the upgrade procedure, you will use the existing data directory and, if applicable, the existing configuration file.

Procedure

1

Shutdown the current mongod instance.

Shut down the mongod Community instance.

2

Restart with Enterprise mongod.

Restart with the Enterprise mongod, specifying the same configuration options(e.g. same data directory, configuration file, etc.).