Downgrade from Enterprise to Community

351 views
Skip to first unread message

Johan Jaicari

unread,
Jan 23, 2020, 5:18:29 AM1/23/20
to mongodb-user
Hello Everyone,

I'm asking how to convert a MongoDB Enterprise Edition to Community Edition. I've seen answers like "only change the binaries", but I'm not entirely sure how to do that. Can somebody please explain to me? 

Thanks,
Johan 

Stennie

unread,
Jan 23, 2020, 1:40:31 PM1/23/20
to mongodb-user
On Thursday, 23 January 2020 21:18:29 UTC+11, Johan Jaicari wrote:
I'm asking how to convert a MongoDB Enterprise Edition to Community Edition. I've seen answers like "only change the binaries", but I'm not entirely sure how to do that. Can somebody please explain to me? 

Hi Johan,

As long as you are not using any Enterprise-specific storage engines (Encrypted Storage or In-Memory), the data files are compatible between MongoDB Community & Enterprise editions. If you are using an Enterprise storage engine you'll need to migrate your data to the standard WiredTiger storage engine using replication or backup & restore.

MongoDB Enterprise also supports some additional configuration options (such as LDAP) which you would have to comment out or remove from your config file when switching to the Community edition.

The general process to convert between editions would be:
  • stop the running version of MongoDB server
  • take a backup of your MongoDB configuration file & dbPath (as a precaution)
  • uninstall the current MongoDB server package
  • install the equivalent release version of the edition you want to use
  • review your MongoDB configuration file for any required changes (dbPath or removing/commenting unsupported options)
  • start the MongoDB server
For example, if you are using MongoDB 4.2.2 Enterprise edition you would install MongoDB 4.2.2 Community edition.

The steps to install or uninstall will depend on your O/S. See Installation Guides to get started.

Regards,
Stennie

Johan Jaicari

unread,
Jan 23, 2020, 4:34:52 PM1/23/20
to mongodb-user
Thank you very much Stennie for your detailed explanation! 

Roy Goodman

unread,
Jan 29, 2020, 4:38:40 PM1/29/20
to mongodb-user
Hello:

Would it be possible to post instructions for downgrading a Ops Manager-managed replica set? I am pretty sure we aren't using any Enterprise features in the database, but since Ops Manager handles (or rather handled) all of the configuration for me, I'm a little at sea with figuring out the best way to downgrade this enterprise replica set to the community edition.

Thanks for any help you can provide.

Stennie

unread,
Jan 31, 2020, 2:23:08 AM1/31/20
to mongodb-user
On Thursday, 30 January 2020 08:38:40 UTC+11, Roy Goodman wrote:
Would it be possible to post instructions for downgrading a Ops Manager-managed replica set? I am pretty sure we aren't using any Enterprise features in the database, but since Ops Manager handles (or rather handled) all of the configuration for me, I'm a little at sea with figuring out the best way to downgrade this enterprise replica set to the community edition.

Hi Roy,

Ops Manager can manage upgrades, downgrades, and switching between Enterprise & Community versions. See: Change the Version of MongoDB.

Note: usage of Ops Manager outside of evaluation and development environments requires an Enterprise Advanced Subscription as per the Customer Agreement when you download Ops Manager.

Regards,
Stennie

Reply all
Reply to author
Forward
0 new messages