This is the demo of clustered service which provides ssh connection to clients and runs in akka cluster.
gradle clean test installDist
Run application as 3-node cluster.
gradle clean installDist
./docs/bin/start-node-01.sh
./docs/bin/start-node-02.sh
./docs/bin/start-node-03.sh
Run 3 node cluster in one terminal window (requires tmux)
./docs/bin/start-cluster.sh
Run standalone node
./docs/bin/start-single-node.sh
node | akka port | management http_port |
---|---|---|
single-node | 127.0.0.1:2550 | 127.0.0.1:8558 |
node-01 | 127.0.0.1:2550 | 127.0.0.1:8558 |
node-02 | 127.0.0.1:2551 | 127.0.0.1:8559 |
node-03 | 127.0.0.1:2552 | 127.0.0.1:8560 |
Each node has akka management active. See also Cluster HTTP Management. Cluster status of each node is visible at URL:
GET http://127.0.0.1:{http_port}/management/cluster/members/
GET http://127.0.0.1:{http_port}/management/bootstrap/seed-nodes