-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mlaunch control center #148
Comments
Also need to store a cluster configuration in the
|
completely rewritten mlaunch. It now supports sub-commands
These are the same. Additionally, nodes can be started, stopped, and listed, like so:
Tags can be a lot of different things, like Some tags can have a number following the tag. If there is a number, e.g. If no tags are provided, all nodes are affected by the command. Each tag narrows down the set of nodes affected (tags are logically ANDed = set intersection). For example: To stop all primaries:
To stop all nodes from shard 2:
To stop all mongod (but not mongos):
To stop the 3rd config server:
To stop the first secondary of each shard:
To stop an individual node running on port 27018:
The change is pushed to the repo under branch |
implemented for version 1.1.2. |
use different sub-commands for mlaunch. The default is
start
and can be ommited, so that mlaunch remains backwards compatible. Other sub-commands arerestart
,stop
,list
.The
list
sub-command will show all the processes involved in the current--dir
(not all globally running mongo processes).move the
--restart
flag to sub command:it will restart all the nodes that are currently not running.
will stop everything.
Proposal to target individual processes:
commands that only work with
--replicaset
commands that only work with
--sharded
Use the same notation for
mlaunch restart
.The text was updated successfully, but these errors were encountered: