[SERVER-3748] Add init scripts for mongos and configsvr to packages Created: 01/Sep/11 Updated: 09/Aug/23 Resolved: 09/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Richard Kreuter (Inactive) | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Do | Votes: | 17 |
| Labels: | build-later, move, packaging | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||||||||||
| Story Points: | 13 | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
Although it's not possible to automatigically bring up mongos or configsvr processes without some manual configuration, we could provide init scripts and skeleton conf files for these in the packages. |
| Comments |
| Comment by Alex Neben [ 09/Aug/23 ] |
|
Closing this issues as part of some SDP backlog cleanup. Please reopen if you feel this should be prioitized. |
| Comment by Ernie Hershey [ 08/Mar/17 ] |
|
daniel.morrison - I'm not sure I understand your question. The best approach to do this currently is probably to copy the mongod init script (or your init system's equivalent) and modify it. I recommend posting to the mongodb-user google group to get additional details or ideas. |
| Comment by daniel.morrison#1 [ 08/Mar/17 ] |
|
Hi @Ernie Hershey |
| Comment by Ernestas Lukoevi?ius [ 11/Feb/15 ] |
|
Uhhh, I hope this won't break existing functionality when upgrading? |
| Comment by Ernie Hershey [ 11/Feb/15 ] |
|
It's still open because we'd like to make it even easier than that - with the approach of installing separate init scripts and config files that can be separately enabled without modifying /etc/default/mongod. |
| Comment by Ernestas Lukoevi?ius [ 26/Jan/15 ] |
|
Why is this still open? For the OP - init script in 2.6 sources /etc/default/mongod, which allows setting DAEMON to /usr/bin/mongos in that file and thus /etc/init/mongod.conf is now for mongos, not mongod. |
| Comment by Ernie Hershey [ 27/Jun/14 ] |
|
Here's our plan for how this will work:
|
| Comment by David Mytton [ 02/Sep/11 ] |
|
This is a duplicate of |