Script to configure cluster params on local ODL installation. 60/28860/1
authorShaleen Saxena <ssaxena@brocade.com>
Wed, 28 Oct 2015 01:57:16 +0000 (21:57 -0400)
committerShaleen Saxena <ssaxena@brocade.com>
Wed, 28 Oct 2015 01:57:16 +0000 (21:57 -0400)
commit668463bc48bcbf29c934c6e7a93ac11430eac5c1
tree6e228c9863bd73a9c58ca8041e737971a1d0b8f3
parent1f503c6c4fd0e5d617bb51ee6434f835e8b27ee0
Script to configure cluster params on local ODL installation.

The new script will configure hostname, seed node, etc. in the akka.conf
and modules-shards.conf files. Run the script without params to get the
usage.

Usage: bin/configure_cluster.sh <index> <seed_nodes_list>
 - index: Integer within 1..N, where N is the number of seed nodes.
 - seed_nodes_list: List of seed nodes, separated by comma or space.

The address at the provided index should belong this controller.
When running this script on multiple seed nodes, keep the
seed_node_list same, and vary the index from 1 through N.

Change-Id: Id6b3009a774d6b80896f90a30c6fbd9f4807eaa8
Signed-off-by: Shaleen Saxena <ssaxena@brocade.com>
distributions/karaf/src/main/assembly/bin/configure_cluster.sh [new file with mode: 0755]