nemo cluster get [<clustername>], [<nodename>] [--json] nemo cluster add <node>, <url>, <clustername> nemo cluster join <clustername>
Add a node to a cluster in the nemo configuration file. Overwrites nodes with the same name in the same cluster.
Example:
nemo cluster add newnode http://user:pw@192.168.1.172 anemone
This will add a node called newnode
available at http://user:pw@192.168.1.172 to the cluster anemone
.
Print sections or values inside sections from the configuration file. JSON output is also supported by passing the --json
flag.
Example:
nemo cluster get anemone --json
Will print all nodes in the cluster named anemone as JSON output.
Joins nodes in a defined cluster-section to create a cluster
Example:
nemo cluster join anemone
Will try to join all nodes defined in the anemone section to create a new cluster.