No Results
cluster | clu

Joins or leaves the cluster (must already have shared authentication database and configured administrator node). Command should be run from an intended content node.

Command

bin/es-cli.sh cluster -j|-l|-s|-i [-a alias] [-u url]

Parameters

Flag Required Description
j Yes* One of the directive commands (j,l,s,i) is required. Join the cluster. When this flag is set, the -a flag must be included.
l Yes* One of the directive commands (j,l,s,i) is required. leave the cluster. When his flag is set, the -a flag must be included.
s Yes* One of the directive commands (j,l,s,i) is required. Retrieve the status of the cluster.
i Yes* One of the directive commands (j,l,s,i) is required. Rerieve the identifier of the cluster.
a No* Alias. Alias for the content node. Required when either the -j or -l flag is present in the command.
u No URL. URL for this content node. Used with -j flag. If specified, overrides default URL (http://localhost:8080, or the URL specified by the property edge.cli.url).

 

Examples

Join a cluster:

bin/es-cli.sh --user admin --pass admin backup -j -a MyContentAlias

Join a cluster while overriding the URL:

bin/es-cli.sh --user admin --pass admin backup -j -a MyContentAlias -u "https://my.secure.edgecore.url/"

Leave a cluster:

bin/es-cli.sh --user admin --pass admin backup -l -a MyContentAlias

Get the status of the currently joined cluster:

bin/es-cli.sh --user admin --pass admin backup -s

Get the identifier of the currently joined cluster:

bin/es-cli.sh --user admin --pass admin backup -i


Terms | Privacy