Script to configure cluster params on local ODL installation. 19/28919/1
authorShaleen Saxena <ssaxena@brocade.com>
Wed, 28 Oct 2015 01:57:16 +0000 (21:57 -0400)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 29 Oct 2015 01:57:22 +0000 (01:57 +0000)
commit988cfae3abb5dbee1f62271eb34d1165f992a874
treebe1c5344d5eda0a3a6ef455a635fca4bb725511f
parent438d6c091483eb53de5dd9b75d23d0f6ab4a5cda
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>
(cherry picked from commit 668463bc48bcbf29c934c6e7a93ac11430eac5c1)
distributions/karaf/src/main/assembly/bin/configure_cluster.sh [new file with mode: 0755]