如何在麒麟V10 ARM64服务器上安装配置1个FE2个BE节点的Doris环境
Contents
零 项目背景和环境说明
近期,某项目需要采用信创国产化服务器,需要把系统迁移部署上去。下述是服务器操作系统和内核版本信息:
[root@zngg-db-primary-45 ~]# uname -rm
4.19.90-89.11.v2401.ky10.aarch64 aarch64
[root@zngg-db-primary-45 ~]# cat /etc/os-release
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Halberd)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Halberd)"
ANSI_COLOR="0;31"
[root@zngg-db-primary-45 ~]#
项目中有用到Doris中间件,结合项目资源和服务器配置的考虑,准备部署1个FE节点2个BE节点的Doris环境,实际生产环境,建议至少3个BE节点。
| IP | 角色 | OS内核 | OS架构 | Doris版本 | 安装目录|配置路径 |
| 10.193.120.45 | FE | 4.19.90-89.11.v2401.ky10.aarch64 | aarch64 | 2.1.11 | /dmdata/doris/apache-doris-2.1.11-bin-arm64/fe/ |
| 10.193.120.45 | BE | 4.19.90-89.11.v2401.ky10.aarch64 | aarch64 | 2.1.11 | /dmdata/doris/apache-doris-2.1.11-bin-arm64/be |
| 10.193.120.46 | BE | 4.19.90-89.11.v2401.ky10.aarch64 | aarch64 | 2.1.11 | /dmdata/doris/apache-doris-2.1.11-bin-arm64/be |
一 具体配置和操作步骤
0 10.193.120.45安装配置FE
官网下载:https://doris.apache.org/download 选择对应的版本和架构。具体步骤略。
查阅Doris官方文档上关于安装配置的前置条件和设置如下,https://doris.apache.org/docs/2.1/install/preparation/cluster-planning
- Disable Transparent Huge Pages
- Ensure Sufficient Virtual Memory Area
- Reset New Connections on Network Overflow
- Increase System's Open File Descriptors Limit
#1 Disable Transparent Huge Pages
cat >> /etc/rc.d/rc.local << EOF
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled
echo madvise > /sys/kernel/mm/transparent_hugepage/defrag
EOF
chmod +x /etc/rc.d/rc.local
#2 Ensure Sufficient Virtual Memory Area
cat >> /etc/sysctl.conf << EOF
vm.max_map_count = 2000000
EOF
# Take effect immediately
sysctl -p
#3 Reset New Connections on Network Overflow
cat >> /etc/sysctl.conf << EOF
net.ipv4.tcp_abort_on_overflow=1
EOF
# Take effect immediately
sysctl -p
#4 Increase System's Open File Descriptors Limit
vi /etc/security/limits.conf
root soft nofile 1000000
root hard nofile 1000000
具体操作执行步骤如下:
[root@zngg-db-primary-45 fe]# cat >> /etc/rc.d/rc.local << EOF
> echo madvise > /sys/kernel/mm/transparent_hugepage/enabled
> echo madvise > /sys/kernel/mm/transparent_hugepage/defrag
> EOF
[root@zngg-db-primary-45 fe]# chmod +x /etc/rc.d/rc.local
[root@zngg-db-primary-45 fe]#
[root@zngg-db-primary-45 fe]# cat >> /etc/sysctl.conf << EOF
> vm.max_map_count = 2000000
> EOF
[root@zngg-db-primary-45 fe]#
[root@zngg-db-primary-45 fe]# # Take effect immediately
[root@zngg-db-primary-45 fe]# sysctl -p
kernel.sysrq = 0
net.ipv4.ip_forward = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.tcp_syncookies = 1
kernel.dmesg_restrict = 1
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
vm.overcommit_memory = 0
kernel.core_uses_pid = 1
kernel.core_pattern = /dmdata/corefile/core-%e-%p-%s
vm.swappiness = 1
vm.max_map_count = 2000000
[root@zngg-db-primary-45 fe]#
[root@zngg-db-primary-45 fe]# cat >> /etc/sysctl.conf << EOF
> net.ipv4.tcp_abort_on_overflow=1
> EOF
[root@zngg-db-primary-45 fe]# # Take effect immediately
[root@zngg-db-primary-45 fe]# sysctl -p
kernel.sysrq = 0
net.ipv4.ip_forward = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.tcp_syncookies = 1
kernel.dmesg_restrict = 1
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
vm.overcommit_memory = 0
kernel.core_uses_pid = 1
kernel.core_pattern = /dmdata/corefile/core-%e-%p-%s
vm.swappiness = 1
vm.max_map_count = 2000000
net.ipv4.tcp_abort_on_overflow = 1
[root@zngg-db-primary-45 fe]#
[root@zngg-db-primary-45 ~]# mkdir -p /dmdata/doris
[root@zngg-db-primary-45 ~]# mv apache-doris-2.1.11-bin-arm64.tar.gz /dmdata/doris/
[root@zngg-db-primary-45 ~]# cd /dmdata/doris/
[root@zngg-db-primary-45 doris]# tar -zxvf apache-doris-2.1.11-bin-arm64.tar.gz
...
apache-doris-2.1.11-bin-arm64/be/dict/idf.utf8
apache-doris-2.1.11-bin-arm64/be/dict/hmm_model.utf8
[root@zngg-db-primary-45 doris]# ll
total 2882088
drwx------ 5 root root 44 Aug 13 2025 apache-doris-2.1.11-bin-arm64
-rw-r--r-- 1 root root 2951254221 Jul 14 2026 apache-doris-2.1.11-bin-arm64.tar.gz
[root@zngg-db-primary-45 doris]#
修改/dmdata/doris/apache-doris-2.1.11-bin-arm64/fe/conf/fe.conf配置文件中的,priority_networks参数,其它保持不变。
priority_networks = 10.193.120.0/24
具体操作如下:
[root@zngg-db-primary-45 conf]# pwd
/dmdata/doris/apache-doris-2.1.11-bin-arm64/fe/conf
[root@zngg-db-primary-45 conf]# ll
total 12
-rw------- 1 root root 4156 Aug 13 2025 fe.conf
-rw------- 1 root root 2627 Aug 13 2025 ldap.conf
drwx------ 2 root root 6 Aug 13 2025 ssl
[root@zngg-db-primary-45 conf]# vi fe.conf
...
priority_networks = 10.193.120.0/24
...
[root@zngg-db-primary-45 conf]# /dmdata/doris/apache-doris-2.1.11-bin-arm64/fe/bin/start_fe.sh &
[1] 1862210
[root@zngg-db-primary-45 conf]# ps -ef|grep doris
root 1862210 1855004 0 06:35 pts/0 00:00:00 bash /dmdata/doris/apache-doris-2.1.11-bin-arm64/fe/bin/start_fe.sh
root 1862752 1862210 25 06:35 pts/0 00:00:07 /usr/bin/java -Dfile.encoding=UTF-8 -Djavax.security.auth.useSubjectCredsOnly=false -Xss4m -Xm
x8192m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintClassHistogramA
fterFullGC -Xloggc:/dmdata/doris/apache-doris-2.1.11-bin-arm64/fe/log/fe.gc.log.20260714-063548 -Dlog4j2.formatMsgNoLookups=true -XX:-OmitStackTra
ceInFastThrow -XX:OnOutOfMemoryError=kill -9 %p org.apache.doris.DorisFE
root 1862959 1855004 0 06:36 pts/0 00:00:00 grep --color=auto doris
[root@zngg-db-primary-45 conf]# netstat -anp|grep 1862752
tcp6 0 0 10.193.120.45:9010 :::* LISTEN 1862752/java
tcp6 0 0 :::9020 :::* LISTEN 1862752/java
tcp6 0 0 :::8030 :::* LISTEN 1862752/java
tcp6 0 0 :::9030 :::* LISTEN 1862752/java
unix 2 [ ] STREAM CONNECTED 69232423 1862752/java
unix 2 [ ] STREAM CONNECTED 69232417 1862752/java
unix 2 [ ] STREAM CONNECTED 69231708 1862752/java
unix 3 [ ] STREAM CONNECTED 69232606 1862752/java
unix 3 [ ] STREAM CONNECTED 69232607 1862752/java
[root@zngg-db-primary-45 conf]# mysql -uroot -P 9030 -hlocalhost
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@zngg-db-primary-45 conf]# mysql -uroot -P 9030 -h10.193.120.45
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MySQL connection id is 0
Server version: 5.7.99
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MySQL [(none)]> show frontendsG;
*************************** 1. row ***************************
Name: fe_9865a9c3_dfe5_4fe6_a4a0_9437b8459c49
Host: 10.193.120.45
EditLogPort: 9010
HttpPort: 8030
QueryPort: 9030
RpcPort: 9020
ArrowFlightSqlPort: -1
Role: FOLLOWER
IsMaster: true
ClusterId: 368228512
Join: true
Alive: true
ReplayedJournalId: 33
LastStartTime: 2026-07-14 06:37:18
LastHeartbeat: 2026-07-14 06:39:18
IsHelper: true
ErrMsg:
Version: doris-2.1.11-rc01-97b77e6cda
CurrentConnected: Yes
1 row in set (40.139 sec)
ERROR: No query specified
MySQL [(none)]>
至此,Doris的FE节点已经配置并启动完成。
1 10.193.120.45安装配置BE
在启动运行BE节点之前,我们先通过访问Doris FE,把本机添加为BE:alter system add backend "10.193.120.45:9050";
[root@zngg-db-primary-45 ~]# mysql -uroot -P 9030 -h10.193.120.45
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MySQL connection id is 1
Server version: 5.7.99
...
MySQL [(none)]> show backends;
Empty set (0.007 sec)
MySQL [(none)]> alter system add backend "10.193.120.45:9050";
Query OK, 0 rows affected (0.046 sec)
MySQL [(none)]> show backends;
+-----------+---------------+---------------+--------+----------+----------+--------------------+---------------+---------------+-------+---------
-------------+-----------+------------------+-------------------+---------------+---------------+---------+----------------+--------------------+-
-------------------------+--------+---------+-----------------------------------------------------------------------------------------------------
----------+-------------------------+----------+
| BackendId | Host | HeartbeatPort | BePort | HttpPort | BrpcPort | ArrowFlightSqlPort | LastStartTime | LastHeartbeat | Alive | SystemDe
commissioned | TabletNum | DataUsedCapacity | TrashUsedCapacity | AvailCapacity | TotalCapacity | UsedPct | MaxDiskUsedPct | RemoteUsedCapacity |
Tag | ErrMsg | Version | Status
| HeartbeatFailureCounter | NodeRole |
+-----------+---------------+---------------+--------+----------+----------+--------------------+---------------+---------------+-------+---------
-------------+-----------+------------------+-------------------+---------------+---------------+---------+----------------+--------------------+-
-------------------------+--------+---------+-----------------------------------------------------------------------------------------------------
----------+-------------------------+----------+
| 10275 | 10.193.120.45 | 9050 | -1 | -1 | -1 | -1 | NULL | NULL | false | false
| 0 | 0.000 | 0.000 | 1.000 B | 0.000 | 0.00 % | 0.00 % | 0.000 |
{"location" : "default"} | | | {"lastSuccessReportTabletsTime":"N/A","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisable
d":false} | 0 | |
+-----------+---------------+---------------+--------+----------+----------+--------------------+---------------+---------------+-------+---------
-------------+-----------+------------------+-------------------+---------------+---------------+---------+----------------+--------------------+-
-------------------------+--------+---------+-----------------------------------------------------------------------------------------------------
----------+-------------------------+----------+
1 row in set (0.005 sec)
MySQL [(none)]>
配置文件中,只需要修改priority_networks和JAVA_HOME这2个参数即可,其它保留默认。
/dmdata/doris/apache-doris-2.1.11-bin-arm64/be/bin/start_be.sh &
vi /dmdata/doris/apache-doris-2.1.11-bin-arm64/be/conf/be.conf
...
#2026.07.14
priority_networks = 10.193.120.0/24
# since 1.2, the JAVA_HOME need to be set to run BE process.
# JAVA_HOME=/path/to/jdk/
#2026.07.14
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.402.b06-0.p01.ky10.p01.aarch64/jre
...
# 启动服务
[root@zngg-db-primary-45 ~]# /dmdata/doris/apache-doris-2.1.11-bin-arm64/be/bin/start_be.sh &
[1] 1875005
[root@zngg-db-primary-45 ~]#
再查看backend状态:
MySQL [(none)]> show backendsG;
*************************** 1. row ***************************
BackendId: 10275
Host: 10.193.120.45
HeartbeatPort: 9050
BePort: 9060
HttpPort: 8040
BrpcPort: 8060
ArrowFlightSqlPort: -1
LastStartTime: 2026-07-14 07:18:01
LastHeartbeat: 2026-07-14 07:18:19
Alive: true
SystemDecommissioned: false
TabletNum: 22
DataUsedCapacity: 0.000
TrashUsedCapacity: 0.000
AvailCapacity: 281.882 GB
TotalCapacity: 299.850 GB
UsedPct: 5.99 %
MaxDiskUsedPct: 5.99 %
RemoteUsedCapacity: 0.000
Tag: {"location" : "default"}
ErrMsg:
Version: doris-2.1.11-rc01-97b77e6cda
Status: {"lastSuccessReportTabletsTime":"2026-07-14 07:18:13","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisabled":fa
lse}
HeartbeatFailureCounter: 0
NodeRole: mix
1 row in set (0.004 sec)
ERROR: No query specified
MySQL [(none)]>
至此,看到BE状态已经正常,Alive: true。我们的1个FE+1个BE节点已经配置部署完成。
2 将10.193.20.46作为新的BE添加到Doris cluster
具体需要修改和配置的项目和10.193.20.45服务器配置一样,具体执行过程省略。
#Disable Transparent Huge Pages
cat >> /etc/rc.d/rc.local << EOF
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled
echo madvise > /sys/kernel/mm/transparent_hugepage/defrag
EOF
chmod +x /etc/rc.d/rc.local
#Ensure Sufficient Virtual Memory Area
cat >> /etc/sysctl.conf << EOF
vm.max_map_count = 2000000
EOF
# Take effect immediately
sysctl -p
#Reset New Connections on Network Overflow
cat >> /etc/sysctl.conf << EOF
net.ipv4.tcp_abort_on_overflow=1
EOF
# Take effect immediately
sysctl -p
#Increase System's Open File Descriptors Limit
vi /etc/security/limits.conf
root soft nofile 1000000
root hard nofile 1000000
这里,我们采用和10.193.20.45服务器上保持一致的路径和版本,以及配置文件内容也保持一致:只修改priority_networks和JAVA_HOME这2个参数。
[root@zngg-db-standby-46 ~]# mkdir -p /dmdata/doris
[root@zngg-db-standby-46 ~]# mv apache-doris-2.1.11-bin-arm64.tar.gz /dmdata/doris/
[root@zngg-db-standby-46 ~]# cd /dmdata/doris/
[root@zngg-db-standby-46 doris]# ll
total 2882088
-rw-r--r-- 1 root root 2951254221 Jul 14 11:38 apache-doris-2.1.11-bin-arm64.tar.gz
[root@zngg-db-standby-46 doris]# tar -zxvf apache-doris-2.1.11-bin-arm64.tar.gz
...
apache-doris-2.1.11-bin-arm64/be/dict/idf.utf8
apache-doris-2.1.11-bin-arm64/be/dict/hmm_model.utf8
[root@zngg-db-standby-46 doris]# ll
total 2882088
drwx------ 5 root root 44 Aug 13 2025 apache-doris-2.1.11-bin-arm64
-rw-r--r-- 1 root root 2951254221 Jul 14 11:38 apache-doris-2.1.11-bin-arm64.tar.gz
[root@zngg-db-standby-46 doris]# cd apache-doris-2.1.11-bin-arm64/be/conf/
[root@zngg-db-standby-46 conf]# ll
total 20
-rw------- 1 root root 1320 Aug 13 2025 asan_suppr.conf
-rw------- 1 root root 4507 Aug 13 2025 be.conf
-rw------- 1 root root 900 Aug 13 2025 lsan_suppr.conf
-rw------- 1 root root 1529 Aug 13 2025 odbcinst.ini
[root@zngg-db-standby-46 conf]# vi be.conf
...
#2026.07.14
priority_networks = 10.193.120.0/24
# since 1.2, the JAVA_HOME need to be set to run BE process.
# JAVA_HOME=/path/to/jdk/
#2026.07.14
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.402.b06-0.p01.ky10.p01.aarch64/jre
...
#启动BE服务
[root@zngg-db-standby-46 conf]# /dmdata/doris/apache-doris-2.1.11-bin-arm64/be/bin/start_be.sh &
[1] 2290735
[root@zngg-db-standby-46 conf]# ps -ef|grep doris
root 2290735 2286546 1 02:42 pts/0 00:00:00 bash /dmdata/doris/apache-doris-2.1.11-bin-arm64/be/bin/start_be.sh
root 2291439 2290735 61 02:42 pts/0 00:00:04 /dmdata/doris/apache-doris-2.1.11-bin-arm64/be/lib/doris_be
root 2293179 2286546 0 02:42 pts/0 00:00:00 grep --color=auto doris
[root@zngg-db-standby-46 conf]# netstat -anp|grep 2291439
tcp 0 0 0.0.0.0:9050 0.0.0.0:* LISTEN 2291439/doris_be
tcp 0 0 0.0.0.0:8060 0.0.0.0:* LISTEN 2291439/doris_be
tcp 0 0 0.0.0.0:9060 0.0.0.0:* LISTEN 2291439/doris_be
tcp 0 0 0.0.0.0:8040 0.0.0.0:* LISTEN 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147323 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147543 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76148466 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147540 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147325 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147322 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147324 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147542 2291439/doris_be
unix 3 [ ] STREAM CONNECTED 76147541 2291439/doris_be
[root@zngg-db-standby-46 conf]#
启动BE服务之后,我们看到BE服务监听在了多个端口:8040、8060、9050、9060。
mysql -uroot -P 9030 -h10.193.120.45
[root@zngg-db-primary-45 ~]# mysql -uroot -P 9030 -h10.193.120.45
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MySQL connection id is 4
Server version: 5.7.99
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MySQL [(none)]> show backendsG;
*************************** 1. row ***************************
BackendId: 10275
Host: 10.193.120.45
HeartbeatPort: 9050
BePort: 9060
HttpPort: 8040
BrpcPort: 8060
ArrowFlightSqlPort: -1
LastStartTime: 2026-07-14 07:18:01
LastHeartbeat: 2026-07-14 07:34:30
Alive: false
SystemDecommissioned: false
TabletNum: 22
DataUsedCapacity: 0.000
TrashUsedCapacity: 0.000
AvailCapacity: 281.882 GB
TotalCapacity: 299.850 GB
UsedPct: 5.99 %
MaxDiskUsedPct: 5.99 %
RemoteUsedCapacity: 0.000
Tag: {"location" : "default"}
ErrMsg: java.net.ConnectException: Connection refused (Connection refused)
Version: doris-2.1.11-rc01-97b77e6cda
Status: {"lastSuccessReportTabletsTime":"2026-07-14 07:33:56","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisabled":fa
lse}
HeartbeatFailureCounter: 15529
NodeRole:
1 row in set (0.003 sec)
ERROR: No query specified
MySQL [(none)]> alter system add backend "10.193.120.46:9050";
Query OK, 0 rows affected (0.007 sec)
MySQL [(none)]> show backendsG;
*************************** 1. row ***************************
BackendId: 10275
Host: 10.193.120.45
HeartbeatPort: 9050
BePort: 9060
HttpPort: 8040
BrpcPort: 8060
ArrowFlightSqlPort: -1
LastStartTime: 2026-07-14 07:18:01
LastHeartbeat: 2026-07-14 07:34:30
Alive: false
SystemDecommissioned: false
TabletNum: 22
DataUsedCapacity: 0.000
TrashUsedCapacity: 0.000
AvailCapacity: 281.882 GB
TotalCapacity: 299.850 GB
UsedPct: 5.99 %
MaxDiskUsedPct: 5.99 %
RemoteUsedCapacity: 0.000
Tag: {"location" : "default"}
ErrMsg: java.net.ConnectException: Connection refused (Connection refused)
Version: doris-2.1.11-rc01-97b77e6cda
Status: {"lastSuccessReportTabletsTime":"2026-07-14 07:33:56","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisabled":fa
lse}
HeartbeatFailureCounter: 15536
NodeRole:
*************************** 2. row ***************************
BackendId: 14221
Host: 10.193.120.46
HeartbeatPort: 9050
BePort: 9060
HttpPort: 8040
BrpcPort: 8060
ArrowFlightSqlPort: -1
LastStartTime: 2026-07-16 02:42:35
LastHeartbeat: 2026-07-16 02:45:04
Alive: true
SystemDecommissioned: false
TabletNum: 0
DataUsedCapacity: 0.000
TrashUsedCapacity: 0.000
AvailCapacity: 281.900 GB
TotalCapacity: 299.850 GB
UsedPct: 5.99 %
MaxDiskUsedPct: 5.99 %
RemoteUsedCapacity: 0.000
Tag: {"location" : "default"}
ErrMsg:
Version: doris-2.1.11-rc01-97b77e6cda
Status: {"lastSuccessReportTabletsTime":"2026-07-16 02:44:55","lastStreamLoadTime":-1,"isQueryDisabled":false,"isLoadDisabled":fa
lse}
HeartbeatFailureCounter: 0
NodeRole: mix
2 rows in set (0.003 sec)
ERROR: No query specified
MySQL [(none)]>
这里看到新be已经添加成功。但是45机器上的be节点是失败的,具体原因以及分析策略,会在另外一篇进行讨论。
3 设置doris 管理用户root口令
默认情况下,Doris管理账户root的口令是空的,比较不安全,我们需要修改。这里,通过mysql命令行客户端工具,连接之后,进行修改:
#修改Doris Change Doris Cluster Password
SET PASSWORD = PASSWORD('Doris5Xa99@2)4');
MySQL [(none)]> SET PASSWORD = PASSWORD('Doris5Xa99@2)4');
二 小结
我们通过从Doris官网下载ARM64位平台的binary安装包介质文件,在2台信创麒麟V10版本的服务器上,安装配置了1个FE+2个BE的Doris cluster环境。建议在生产环境至少部署3个BE节点,本文中选择2个BE,是基于项目和资源限制,不得已而做出的选择。


