2018-03-16 01:06:02 +00:00
|
|
|
<yandex>
|
|
|
|
<remote_servers>
|
|
|
|
|
2018-03-16 01:09:31 +00:00
|
|
|
<![CDATA[
|
|
|
|
You can run additional servers simply as
|
|
|
|
./clickhouse-server -- --path=9001 --tcp_port=9001
|
|
|
|
]]>
|
|
|
|
|
2018-03-16 01:06:02 +00:00
|
|
|
<single_remote_shard_at_port_9001>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9001</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</single_remote_shard_at_port_9001>
|
|
|
|
|
|
|
|
<two_remote_shards_at_port_9001_9002>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9001</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9002</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</two_remote_shards_at_port_9001_9002>
|
|
|
|
|
|
|
|
<two_shards_one_local_one_remote_at_port_9001>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9001</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</two_shards_one_local_one_remote_at_port_9001>
|
|
|
|
|
|
|
|
</remote_servers>
|
|
|
|
</yandex>
|