Added start of a help page for the akka-cluster tool.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
parent
846820447e
commit
03762bc9bd
1 changed files with 9 additions and 2 deletions
11
akka-kernel/src/main/dist/bin/akka-cluster
vendored
11
akka-kernel/src/main/dist/bin/akka-cluster
vendored
|
|
@ -22,6 +22,13 @@ function checkNodeIsRunning {
|
|||
fi
|
||||
}
|
||||
|
||||
# Help page is triggered by either: help, -help or --help
|
||||
if [[ $1 == *help* ]]; then
|
||||
echo "Welcome to Akka Cluster Administration Tool"
|
||||
echo " --- TODO: Write up a help page ---"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case "$2" in
|
||||
|
||||
ping)
|
||||
|
|
@ -173,8 +180,8 @@ case "$2" in
|
|||
|
||||
*)
|
||||
echo "Usage: $SELF <node-hostname:jmx-port> { ping | join | leave | remove | down"
|
||||
echo " member-status | cluster-status | leader"
|
||||
echo " is-singleton | has-convergence | is-available }"
|
||||
echo " member-status | cluster-status | leader"
|
||||
echo " is-singleton | has-convergence | is-available }"
|
||||
echo "Examples: $SELF localhost:9999 ping"
|
||||
echo " $SELF localhost:9999 join akka://service0@localhost:5550"
|
||||
echo " $SELF localhost:9999 cluster-status"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue