Step 2: Move test folder to root
[integration/test.git] / tools / clustering / cluster-deployer / templates / dsbenchmark / module-shards.conf.template
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 (file)
index 0000000..6a39724
--- /dev/null
@@ -0,0 +1,92 @@
+# This file describes which shards live on which members
+# The format for a module-shards is as follows,
+# {
+#    name = "<friendly_name_of_the_module>"
+#    shards = [
+#        {
+#            name="<any_name_that_is_unique_for_the_module>"
+#            replicas = [
+#                "<name_of_member_on_which_to_run>"
+#            ]
+#     ]
+# }
+#
+# 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}}}
+            }
+        ]
+    }
+
+]