blob: 3d45d0c6c29d7759ebed1092c68cd0124e389115 [file] [log] [blame]
Till Westmannfd733ee2014-07-10 00:57:37 -07001<!--
2 ! Copyright 2009-2013 by The Regents of the University of California
3 ! Licensed under the Apache License, Version 2.0 (the "License");
4 ! you may not use this file except in compliance with the License.
5 ! you may obtain a copy of the License from
6 !
7 ! http://www.apache.org/licenses/LICENSE-2.0
8 !
9 ! Unless required by applicable law or agreed to in writing, software
10 ! distributed under the License is distributed on an "AS IS" BASIS,
11 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ! See the License for the specific language governing permissions and
13 ! limitations under the License.
14 !-->
15<cluster xmlns="cluster">
16 <!--
17 This defines a cluster that runs 2 worker nodes on a single machine.
18 Also, each worker node is assigned to 2 partitions in the same
19 directory (and thus on the same external storage device).
20 Both of these decisions are usually not advisable for production
21 use.
22 -->
23 <name>demo</name>
24 <working_dir>
25 <dir>/tmp/asterix-installer</dir>
26 <NFS>true</NFS>
27 </working_dir>
28 <log_dir>/tmp/asterix/logs</log_dir>
29 <store>storage</store>
30 <java_home></java_home>
31 <master_node>
32 <id>master</id>
33 <client_ip>127.0.0.1</client_ip>
34 <cluster_ip>127.0.0.1</cluster_ip>
35 <cluster_port>1099</cluster_port>
36 <client_port>1098</client_port>
37 <http_port>8888</http_port>
38 </master_node>
39 <node>
40 <id>node1</id>
41 <cluster_ip>127.0.0.1</cluster_ip>
42 <txn_log_dir>/tmp/asterix/node1/txnLogs</txn_log_dir>
43 <iodevices>/tmp/asterix/node1/1,/tmp/asterix/node1/2</iodevices>
44 </node>
45 <node>
46 <id>node2</id>
47 <cluster_ip>127.0.0.1</cluster_ip>
48 <txn_log_dir>/tmp/asterix/node2/txnLogs</txn_log_dir>
49 <iodevices>/tmp/asterix/node2/1,/tmp/asterix/node2/2</iodevices>
50 </node>
51</cluster>