VeloDB Enterprise
Enterprise Manager
VeloDB Cluster Management
Deploy Cluster
Deploy Separating Storage Compute Cluster

Deploy Compute-Storage Separated Cluster

Doris Manager allows you to deploy Doris clusters on physical machines, virtual machines, and cloud servers, automatically performing environmental checks and cluster configurations. To create a new compute-storage separated cluster, select New/Take Over Cluster under the Current Cluster tab, then choose Create Compute-Storage Separated Cluster.

Precautions

  • FE machines will simultaneously deploy FoundationDB and require at least 48GB of memory.
  • You can mix deploy one FE and one BE on a single server, but you cannot deploy multiple FE and BE instances.
  • Before deployment, you can refer to Cluster Planning (opens in a new tab) to estimate the number of nodes.
  • When adding machines, you need to specify the IP address, not the hostname.

Step 1: Environment Configuration

When configuring the cluster environment, you need to set the cluster name, select the deployment version, and specify the database root password as prompted.

You also need to configure shared storage for the compute-storage separated cluster.

config-env-separating

Step 2: Host Registration

When registering hosts, you first need to add the host IP and then start the Agent service for each host.

  1. Add Host IP and Specify Agent Port

    register-host-separating

    When adding host IPs, both IPV4 and IPV6 formats are supported.

  2. Install Agent Service for Specified Hosts

    install-agent-separating.png

    Agent installation requires checking machine parameters on each registered host and one-click deployment of the Agent service.

    After deploying the Agent service, ensure that the Agent status is normal.

Step 3: FE Configuration

config-fe-separating

When adding FEs, you need to specify the FE Role (opens in a new tab). It's recommended to specify 3 FE Followers to form a high-availability architecture.

When specifying FE configurations, you can choose general configuration or modify a specific FE configuration individually. It's recommended to use general configuration to ensure consistent FE configurations.

Configuration descriptions are as follows:

ParameterDescription
Http PortHTTP Server port on FE, default 8030
Query PortMySQL Server port on FE, default 9030
RPC PortThrift Server port on FE, configuration for each FE should be consistent, default 9020
Editlog Portbdbje communication port on FE, default 9010
Deployment DirectoryDoris deployment root directory
Metadata Storage DirectoryFE metadata storage directory
Log DirectoryFE log directory

Step 4: BE Configuration

config-be-separating

When adding BE nodes, you first need to plan the compute groups and then add BE nodes to each compute group.

As shown in the image above, two resource groups are created, and one BE node is added to each resource group.

Configuration descriptions are as follows:

ParameterDescription
BE PortThrift Server port on BE, used to receive requests from FE, default 9060
Webserver PortHTTP Server port on BE, default 8040
Heartbeat PortHeartbeat service port (Thrift) on BE, used to receive heartbeats from FE, default 9050
BRPC PortBRPC port on BE, used for communication between BEs, default 8060
Deployment DirectoryDoris deployment root directory
Data Storage DirectoryBE data storage directory
Log DirectoryBE log storage directory
External Table Cache DirectoryFederal analysis file cache directory
Total File Cache SizeFederal analysis file cache size
Single Query Cache LimitFederal analysis single query cache size limit

Step 5: Other Configurations

config-others-separating

When configuring cluster parameters, you can choose whether to automatically start services and whether table names are case-sensitive.