Adding a BE to the Doris Cluster
This section describes how to add a BE to the Doris cluster.
- Enter the FE through MySQL.
1mysql -h FE_IP -P FE_QUERY_PORT -u root
- FE_IP is the value of priority_networks configured in fe.conf, for example, 172.18.0.11.
- FE_QUERY_PORT is the value of query_port configured in fe.conf.
- Add a BE to the cluster.
1ALTER SYSTEM ADD BACKEND "BE_HOST:HEARTBEAT-SERVICE_PORT";
- BE_HOST is the value of priority_networks configured in be.conf, for example, 172.18.0.11.
- HEARTBEAT-SERVICE_PORT is the value of heartbeat_service_port configured in be.conf.
- Check the BE status.
Check the BE corresponding to the IP address and its Alive attribute. If the Alive attribute is true, the BE is added successfully.
1SHOW BACKENDS\G;
Parent topic: Software Deployment