This is the construction instructions, actually built ES cluster can be, and Es basically the same
Configuration file Crate.yaml
Reference cluster architecture diagram
Cluster Name
cluster.name: my_cluster
Each node name
If omitted will be produced automatically, must be unique
node.name: node1
Cluster Transport port
transport.tcp.port: 4350-4360
Node Network Discovery Configuration
You can use DNS, or configure Ip:port mode directly
discovery.zen.ping.unicast.hosts: - 10.0.1.101:4300 - 10.0.1.102:4300 - 10.0.1.103:4300
Master election mode
(N / 2) + 1参考三个节点,需要两个master discovery.zen.minimum_master_nodes: 2同时需要设置 node.master: true|false
Reference configuration
Https://crate.io/docs/crate/reference/en/latest/config/node.html
Https://crate.io/docs/crate/guide/en/latest/scaling/multi-node-setup.html
Cratedb Cluster Construction Instructions