[DOCS-7963] Start/Stop MongoDB Processes with Init Scripts on SUSE Created: 25/May/16  Updated: 02/Mar/17  Resolved: 02/Mar/17

Status: Closed
Project: Documentation
Component/s: Ops Manager
Affects Version/s: None
Fix Version/s: ops-manager-2.0.2

Type: Task Priority: Major - P3
Reporter: Bob Grabar Assignee: Anthony Sansone (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Participants:
Days since reply: 6 years, 49 weeks, 6 days ago
Epic Link: OM Install
Story Points: 0.5

 Comments   
Comment by Anthony Sansone (Inactive) [ 02/Mar/17 ]

Existing scripts work with SUSE, too.

Comment by Timothy Olsen (Inactive) [ 02/Mar/17 ]

Ok, so it looks like there's nothing to document for Ops Manager, correct?

And as far as mongodb-org packages, it looks the current docs say to use "service mongod" to stop/start.

So I think there's nothing to document here at all and this ticket can just be closed.

Comment by Joshua Matthews (Inactive) [ 02/Mar/17 ]

Looks like /etc/init.d/mongodb-mms start, systemctl start mongodb-mms, and service mongodb-mms start all work for starting Ops Manager on Suse 12. Systemd probably just redirects to the init scipt and service definitely redirects to systemd.

For starting the database process, the mongodb-org packages include systemd unit files instead of init scripts, so only systemctl start mongod or service mongod start will work (at least with the 3.4 packages).

Comment by Timothy Olsen (Inactive) [ 02/Mar/17 ]

I think this ticket is to document that Ops Manager on SUSE is to be started/stopped/restarted using an init script rather than running:

sudo service monogdb [start|stop|restart]

(There are currently places such as here that tell the user to use "sudo service" if they are using an RPM. SUSE uses RPMs but you cannot run "sudo service" on SUSE) .

How to execute the init script I do not know. I have tried spinning up a test SUSE Ops Manager instance to try it out myself but I have been unsuccessful. Ops Manager doesn't seem to get installed for me

joshua.matthews Do you know the exact command line for the init script?

Generated at Thu Feb 08 07:55:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.