The StorCycle application requires the MongoDB application to work correctly. Before checking or creating the MongoDB repository, use the table below to determine what version of MongoDB is required for the version of the StorCycle solution you are installing.
StorCycle Version Number |
MongoDB Version Number |
3.7.0 |
MongoDB 4.0 |
3.7.1 |
MongoDB 4.0 |
4.0.0 |
MongoDB 4.2 |
4.1.0 |
MongoDB 4.4 |
4.2.0 |
MongoDB 5.0 |
4.3.0 |
MongoDB 6.0 |
Your environment may already have the correct MongoDB repository installed on your system. Use the commands below to check if a MongoDB repository exists and if it is the correct version.
1. | Confirm connectivity to the MongoDB server: |
ping repo.mongodb.org -c 4
2. | Check the version of the MongoBD repository: |
yum repolist | grep mongo
3. | Do one of the following: |
• | If a MongoDB repository is installed, confirm it is the correct version using the table in MongoDB Version Compatibility Chart. If the repository is the correct version, continue with Install the StorCycle Solution. |
-OR-
• | If a MongoDB repository is not installed, or it is not the correct version, continue with Create the MongoDB Repository |
IMPORTANT |
Do not install MongoDB directly for your Linux installation. Instead you must create the repo file for the unique MongoDB version that matches that StorCyle version. After creation, the repo file is renamed and edited to allow StorCycle to pull down the proper MongoDB version and install the Mongo database automatically during the StorCycle solution installation. |
The following instructions provide an example using Yum to create the Mongo Database Repository.
Note: | Do not use these instructions when upgrading the StorCycle software. There are additional steps when upgrading, see Upgrade the StorCycle Solution. |
The following instructions are for installing StorCycle 4.3.0. If you are installing a different version of the software, you need to adjust the values in red below to the appropriate version. The StorCycle solution requires a specific MongoDB version that is compatible with the version of StorCycle. See MongoDB Version Compatibility Chart to determine the required MongoDB version for your StorCycle solution version.
1. | Open the terminal and sign in as a superuser. |
2. | Create a file with the following name: |
/etc/yum.repos.d/mongodb-org-6.0.repo
3. | Open the file and enter the following: |
[mongodb-org-6.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/releaseversion/mongodb-org/6.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc