mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-07 16:14:52 +00:00
107 lines
3.0 KiB
XML
107 lines
3.0 KiB
XML
|
<yandex>
|
||
|
<tcp_port_secure>9440</tcp_port_secure>
|
||
|
<remote_servers>
|
||
|
|
||
|
<!-- Main cluster -->
|
||
|
<cluster>
|
||
|
<shard>
|
||
|
<internal_replication>true</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch1</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
<replica>
|
||
|
<host>ch2</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
<shard>
|
||
|
<internal_replication>true</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch3</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
<replica>
|
||
|
<host>ch4</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
</cluster>
|
||
|
|
||
|
<!-- Cluster with specified default database -->
|
||
|
<cluster2>
|
||
|
<shard>
|
||
|
<internal_replication>true</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch1</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
<default_database>default</default_database>
|
||
|
</replica>
|
||
|
<replica>
|
||
|
<host>ch2</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
<default_database>test2</default_database>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
<shard>
|
||
|
<internal_replication>true</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch3</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
<default_database>default</default_database>
|
||
|
</replica>
|
||
|
<replica>
|
||
|
<host>ch4</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
<default_database>test2</default_database>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
</cluster2>
|
||
|
|
||
|
<!-- Cluster without replicas -->
|
||
|
<cluster_no_replicas>
|
||
|
<shard>
|
||
|
<internal_replication>false</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch1</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
<shard>
|
||
|
<internal_replication>false</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch2</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
<shard>
|
||
|
<internal_replication>false</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch3</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
<shard>
|
||
|
<internal_replication>false</internal_replication>
|
||
|
<replica>
|
||
|
<host>ch4</host>
|
||
|
<port>9440</port>
|
||
|
<secure>1</secure>
|
||
|
</replica>
|
||
|
</shard>
|
||
|
</cluster_no_replicas>
|
||
|
|
||
|
</remote_servers>
|
||
|
</yandex>
|