blob: 1932fccf3a14c0f78283cfc9d2fe829e69d29e9a [file] [log] [blame]
<!--
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); you may not use this file except in compliance
! with the License. You may obtain a copy of the License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by applicable law or agreed to in writing,
! software distributed under the License is distributed on an
! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
! KIND, either express or implied. See the License for the
! specific language governing permissions and limitations
! under the License.
!-->
<cluster xmlns="cluster">
<!--
This defines a cluster that runs 2 worker nodes on a single machine.
Also, each worker node is assigned to 2 partitions in the same
directory (and thus on the same external storage device).
Both of these decisions are usually not advisable for production
use.
-->
<name>demo</name>
<working_dir>
<dir>/tmp/asterix-installer</dir>
<NFS>true</NFS>
</working_dir>
<log_dir>/tmp/asterix/logs</log_dir>
<store>storage</store>
<java_home></java_home>
<master_node>
<id>master</id>
<client_ip>127.0.0.1</client_ip>
<cluster_ip>127.0.0.1</cluster_ip>
<cluster_port>1099</cluster_port>
<client_port>1098</client_port>
<http_port>8888</http_port>
</master_node>
<node>
<id>node1</id>
<cluster_ip>127.0.0.1</cluster_ip>
<txn_log_dir>/tmp/asterix/node1/txnLogs</txn_log_dir>
<iodevices>/tmp/asterix/node1/1,/tmp/asterix/node1/2</iodevices>
</node>
<node>
<id>node2</id>
<cluster_ip>127.0.0.1</cluster_ip>
<txn_log_dir>/tmp/asterix/node2/txnLogs</txn_log_dir>
<iodevices>/tmp/asterix/node2/1,/tmp/asterix/node2/2</iodevices>
</node>
</cluster>