mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<clickhouse>
|
|
<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>
|
|
</clickhouse>
|