aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml
Publish
Diffstat (limited to 'config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml')
-rw-r--r--config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml b/config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml
new file mode 100644
index 00000000000..9a07e1c3e87
--- /dev/null
+++ b/config-model/src/test/cfg/storage/clustercontroller_advanced/services.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<services>
+
+ <admin version="2.0">
+ <adminserver hostalias="node0"/>
+ <logserver hostalias="node0"/>
+ <yamas interval="60"/>
+ </admin>
+
+ <content version="1.0">
+ <redundancy>2</redundancy>
+
+ <documents>
+ <document type="music" mode="index"/>
+ </documents>
+
+ <tuning>
+ <cluster-controller>
+ <transition-time>5</transition-time>
+ <init-progress-time>2</init-progress-time>
+ <max-premature-crashes>3</max-premature-crashes>
+ <stable-state-period>240</stable-state-period>
+ <min-distributor-up-ratio>0.0</min-distributor-up-ratio>
+ <min-storage-up-ratio>0.7</min-storage-up-ratio>
+ </cluster-controller>
+ </tuning>
+
+ <group name="mycluster">
+ <node hostalias="node0" distribution-key="0"/>
+ <node hostalias="node1" distribution-key="1"/>
+ <node hostalias="node2" distribution-key="2"/>
+ </group>
+
+ </content>
+
+</services>