ClickHouse/dbms/tests/integration/test_cross_replication/configs/remote_servers.xml
2017-06-16 21:24:18 +03:00

46 lines
1.6 KiB
XML

<yandex>
<remote_servers>
<test_cluster>
<shard>
<internal_replication>true</internal_replication>
<replica>
<default_database>shard_0</default_database>
<host>node1</host>
<port>9000</port>
</replica>
<replica>
<default_database>shard_0</default_database>
<host>node2</host>
<port>9000</port>
</replica>
</shard>
<shard>
<internal_replication>true</internal_replication>
<replica>
<default_database>shard_1</default_database>
<host>node2</host>
<port>9000</port>
</replica>
<replica>
<default_database>shard_1</default_database>
<host>node3</host>
<port>9000</port>
</replica>
</shard>
<shard>
<internal_replication>true</internal_replication>
<replica>
<default_database>shard_2</default_database>
<host>node3</host>
<port>9000</port>
</replica>
<replica>
<default_database>shard_2</default_database>
<host>node1</host>
<port>9000</port>
</replica>
</shard>
</test_cluster>
</remote_servers>
</yandex>