Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 1 | <!-- |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 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 |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 9 | ! |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 10 | ! http://www.apache.org/licenses/LICENSE-2.0 |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 11 | ! |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 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. |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 18 | !--> |
| 19 | <cluster xmlns="cluster"> |
| 20 | <!-- |
| 21 | This defines a cluster that runs 2 worker nodes on a single machine. |
| 22 | Also, each worker node is assigned to 2 partitions in the same |
| 23 | directory (and thus on the same external storage device). |
| 24 | Both of these decisions are usually not advisable for production |
| 25 | use. |
| 26 | --> |
| 27 | <name>demo</name> |
| 28 | <working_dir> |
| 29 | <dir>/tmp/asterix-installer</dir> |
| 30 | <NFS>true</NFS> |
| 31 | </working_dir> |
| 32 | <log_dir>/tmp/asterix/logs</log_dir> |
| 33 | <store>storage</store> |
| 34 | <java_home></java_home> |
| 35 | <master_node> |
| 36 | <id>master</id> |
| 37 | <client_ip>127.0.0.1</client_ip> |
| 38 | <cluster_ip>127.0.0.1</cluster_ip> |
| 39 | <cluster_port>1099</cluster_port> |
| 40 | <client_port>1098</client_port> |
| 41 | <http_port>8888</http_port> |
| 42 | </master_node> |
| 43 | <node> |
| 44 | <id>node1</id> |
| 45 | <cluster_ip>127.0.0.1</cluster_ip> |
| 46 | <txn_log_dir>/tmp/asterix/node1/txnLogs</txn_log_dir> |
| 47 | <iodevices>/tmp/asterix/node1/1,/tmp/asterix/node1/2</iodevices> |
| 48 | </node> |
| 49 | <node> |
| 50 | <id>node2</id> |
| 51 | <cluster_ip>127.0.0.1</cluster_ip> |
| 52 | <txn_log_dir>/tmp/asterix/node2/txnLogs</txn_log_dir> |
| 53 | <iodevices>/tmp/asterix/node2/1,/tmp/asterix/node2/2</iodevices> |
| 54 | </node> |
| 55 | </cluster> |