aboutsummaryrefslogtreecommitdiffstats
path: root/configserver/src/test/apps/zkapp/services.xml
blob: aee18cc450acd330af884d295445f623e7f25d87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?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 version="1.0">

  <admin version="2.0">
    <adminserver hostalias="node1"/>
    <slobroks>
      <slobrok hostalias="node1"/>
      <slobrok hostalias="node2"/>
    </slobroks>
  </admin>

  <clients version="2.0">
    <gateways protocols="http">
      <gateway hostalias="node1" />
    </gateways>
  </clients>

  <search version="2.0">
    <qrservers>
      <qrserver hostalias="node1" />
    </qrservers>
    <cluster name="music" indexingmode="realtime">
      <searchdefinitions>
        <searchdefinition name="music" />
      </searchdefinitions>
      <clustercontrollers>
        <clustercontroller hostalias="node1" />
      </clustercontrollers>
      <topleveldispatchers>
        <topleveldispatcher hostalias="node1" />
      </topleveldispatchers>
        <row index="0">
          <searchnodes>
            <searchnode hostalias="node1" index="0" />
          </searchnodes>
        </row>
    </cluster>
  </search>

  <storage version="3.0">
    <cluster redundancy="1">
<!--
Do not reshuffle nodes or change index values - this will cause
massive document redistribution. 

If you want to discontinue use of a node, set it in the 'retired' state,
this will rebalance the documents out of the node. Once node is empty,
you can stop it and delete the reference to it in vespa-services and
vespa-hosts files.
-->
      <group index="0" name="mycluster">
        <node hostalias="node1" index="0"/>
      </group>

      <fleetcontroller hostalias="node1" />
    </cluster>
  </storage>

</services>