Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
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
- is related to
-
DOCS-9373 Missing init.d startup script (systemd module not enabled by default)
-
- Closed
-
-
DOCS-10088 Add instructions on how to disable THP on non-RedHat/CentOS systems
-
- Closed
-