X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=tools%2Fclustering%2Fcluster-deployer%2Ftemplates%2Fdsbenchmark%2Fmodule-shards.conf.template;fp=tools%2Fclustering%2Fcluster-deployer%2Ftemplates%2Fdsbenchmark%2Fmodule-shards.conf.template;h=6a39724799135e9e34f3262a0c03d2785af0dfdf;hp=0000000000000000000000000000000000000000;hb=59e81c38620fa1b61e15771191e35771450b9499;hpb=072f6e3a8d1bdf8f4c663843589c22d93ba07791 diff --git a/tools/clustering/cluster-deployer/templates/dsbenchmark/module-shards.conf.template b/tools/clustering/cluster-deployer/templates/dsbenchmark/module-shards.conf.template new file mode 100644 index 0000000000..6a39724799 --- /dev/null +++ b/tools/clustering/cluster-deployer/templates/dsbenchmark/module-shards.conf.template @@ -0,0 +1,92 @@ +# This file describes which shards live on which members +# The format for a module-shards is as follows, +# { +# name = "" +# shards = [ +# { +# name="" +# replicas = [ +# "" +# ] +# ] +# } +# +# For Helium we support only one shard per module. Beyond Helium +# we will support more than 1 +# The replicas section is a collection of member names. This information +# will be used to decide on which members replicas of a particular shard will be +# located. Once replication is integrated with the distributed data store then +# this section can have multiple entries. +# +# + + +module-shards = [ + { + name = "default" + shards = [ + { + name="default" + replicas = {{{REPLICAS_1}}} + + } + ] + }, + { + name = "topology" + shards = [ + { + name="topology" + replicas = {{{REPLICAS_2}}} + + } + ] + }, + { + name = "inventory" + shards = [ + { + name="inventory" + replicas = {{{REPLICAS_3}}} + + } + ] + }, + { + name = "toaster" + shards = [ + { + name="toaster" + replicas = {{{REPLICAS_4}}} + } + ] + }, + { + name = "car" + shards = [ + { + name="car" + replicas = {{{REPLICAS_4}}} + } + ] + }, + { + name = "people" + shards = [ + { + name="people" + replicas = {{{REPLICAS_4}}} + } + ] + }, + { + name = "car-people" + shards = [ + { + name="car-people" + replicas = {{{REPLICAS_4}}} + } + ] + } + +]