Before trying to execute the utility, the following must reside on the system where the utility is extracted and as part of the system path:
- Oracle JRE 8
- MongoDB client tool installation. More specifically mongodump
After downloading the utility, extract the contents to a folder. Now we can run the utility. Usually, that requires specifying a MongoDB connection URI to the database instance. More details on command line usage can be found in the readme bundled with the on-premise utility.
Once the utility has completed, a zip file will be located inside the folder. This file should be in the format of “onpremise-mongodb-<date>”.zip.
Returning back to erwin DM NoSQL, try to reverse engineer from MongoDB. Instead of selecting “Connection” as the source type, you will want to select “File” instead. Provide in the file upload section the file that was generated from the on-premise utility. Next, select the collections you want to import and name the Mongo DB Data Model. Then, select “Import”.
Upon successful completion, a data model should appear on the home page.