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

Add systemd init instructions for Linux install pages

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • manual, Server
    • None

    Description

      Description

      Recent versions of many Linux distros have moved to using systemd to manage initialization and management of system and user processes like mongod and mongos. Current instructions cover the original System V init system (/etc/init.d, built around the service command). Systemd uses the systemctl command.

      This is a change to how all users would start, stop, and otherwise manage their mongod and mongos processes. Thus, recommend getting input from engineering. Although, the current RPM for a RHEL7 install of mongod (as example) only includes the systemd unit file and not an /etc/init.d script, so it seems that the design decision has already been made, just not documented.

      NOTE: Also include necessary sudo systemctl daemon-reload step for users who might install / uninstall / reinstall without restarting.

      Scope of changes

      • Update installation and process management instructions as appropriate to include systemd instructions alongside extant /etc/init.d instructions.

      • Consider including which versions of Linux have moved to systemd support, i.e. Ubuntu as of 15.04 according to: https://wiki.ubuntu.com/SystemdForUpstartUsers

       

      Applicable pages:

      Community:

      https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-on-suse/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-on-amazon/

       

      Enterprise:

      https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-ubuntu/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-debian/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-suse/

      https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-amazon/

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Issue Links

          Activity

            People

              andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
              andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
              Andrew Feierabend Andrew Feierabend (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 43 weeks ago