blob: b9f4658ff04f7b77187ea9ab16532eb1a4703bcb [file] [log] [blame]
Murtadha Hubail8fc8bf82016-01-23 22:26:59 -08001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
19<cluster xmlns="cluster">
20
21 <name>vagrant</name>
22
23 <username>vagrant</username>
24
25 <working_dir>
26 <dir>/vagrant/asterix/managix-working</dir>
27 <NFS>true</NFS>
28 </working_dir>
29
30 <log_dir>/home/vagrant/asterix/logs/</log_dir>
31 <txn_log_dir>/home/vagrant/asterix/tx_logs</txn_log_dir>
32 <iodevices>/home/vagrant/asterix/p1,/home/vagrant/asterix/p2</iodevices>
33
34 <store>storage</store>
35
36 <java_home>/usr/java/latest</java_home>
37 <metadata_node>nc1</metadata_node>
38
39 <data_replication>
40 <enabled>true</enabled>
41 <replication_port>2000</replication_port>
42 <replication_factor>2</replication_factor>
43 <auto_failover>true</auto_failover>
44 <replication_time_out>10</replication_time_out>
45 </data_replication>
46
47 <master_node>
48 <id>cc</id>
49 <client_ip>10.10.0.2</client_ip>
50 <cluster_ip>10.10.0.2</cluster_ip>
51 <client_port>1098</client_port>
52 <cluster_port>1099</cluster_port>
53 <http_port>8888</http_port>
54 </master_node>
55 <node>
56 <id>nc1</id>
57 <cluster_ip>10.10.0.3</cluster_ip>
58 </node>
59 <node>
60 <id>nc2</id>
61 <cluster_ip>10.10.0.4</cluster_ip>
62 </node>
63</cluster>