Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14065

Investigate changes in SERVER-52610: Verify installation prefix is added to correct location in the RPM

      Description

      Downstream Change Summary

      This change makes it possible now to relocate the installation paths of the installed RPMs using the --relocate argument. For example, to relocate the installation to opt, you would use the following arguments:

      rpm --relocate /usr=/opt --relocate /var=/opt/var --relocate /etc=/opt/etc --noscripts mongodb-enterprise-server.rpm
      

      This is true for all of the RPMs produced by the main mongodb repository, but it does not yet affect the mongodb-tools RPM, nor does it affect Compass installation paths. This change is intended to make it possible for an experienced administrator to either install a second server or install into a container root directory. The --noscripts argument is required for installation to complete, and the administrator will need to do extra work to configure and start the server.

      This is not a recommended procedure unless you really know what you're doing and why you're doing it. It's also completely untested (and essentially untestable given our current setup), so this is definitely "do at your own risk" territory.

      Description of Linked Ticket

      Currently, users installing multiple versions of MongDB via RPM package on the same server using "--prefix <p>" still results in files being deployed to common locations.

      Adding the installation prefix to the right parts of the RPM should be a fairly mechanical fix to address this.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 17 weeks, 6 days ago