[DOCS-16557] [Server] Fix YUM Upgrade Created: 27/Dec/23 Updated: 22/Jan/24 |
|
| Status: | Backlog |
| Project: | Documentation |
| Component/s: | dochub, manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Mohit Tayal | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | backlog, proactive, version-upgrade, yum | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 6 weeks, 1 day ago | ||||
| Description |
|
Need to update documentation for MongoDB Version upgrade options via yum package manager. Reference HELP ticket : HELP-53445.
As per our documentation we follow below steps for any version upgrade via yum package manager. 1. Create the yum repo for upgraded version.
Technically mongodb-enterprise is a metapackage which does not instal/upgrade all the component at once. Also there is not a clear versioning requirement within the metapackage definition. That would not be an issue for fresh deployments attempting to install for the first time because there are no packages on-system that could satisfy the package dependencies. In the case of running yum install mongodb-enterprise to upgrade to another version, there already exists packages that satisfy said dependencies so it will only install packages that didn't exist in prior versions. That said, using yum install $package_name (or more accurately: dnf install $package_name) is not the means recommended by RedHat to upgrade a package.
To upgrade all mongodb-enterprise components to their latest/recommended versions, there are 3 options which needs to updated in our global documentation:- 1. Specify each Version Component separately to upgrade the mongodb version (Recommended).
2. Remove all current mongodb packages, install mongodb-enterprise fresh, and restore previous data .
3. Run the command yum upgrade (without any further arguments)
|