Installing DBLE on Huawei Kunpeng 920 ARM Servers
This guide explains how to install and run the DBLE distributed database middleware on Huawei's Kunpeng 920 ARM‑based servers, covering wrapper preparation, Kunpeng‑compatible JDK installation, DBLE startup verification, and connection testing with MySQL client.
Background
The Kunpeng 920 processor, released by Huawei in January 2019, is an ARM‑based high‑performance CPU designed for data‑center workloads such as heterogeneous and green computing. Because it follows the RISC architecture, it differs from the CISC‑based Intel/AMD CPUs.
With the push for domestic technology, many Chinese vendors are adopting Kunpeng servers, and users have encountered issues when installing DBLE (a distributed database middleware) on these ARM machines. The following steps summarize the installation process.
Step 1 – Provide the required wrapper binaries
Download the ARM version of the Java Service Wrapper, extract it, and copy the necessary files into the DBLE directories:
wget https://download.tanukisoftware.com/wrapper/3.5.40/wrapper-linux-armhf-64-3.5.40.tar.gz
tar zxvf wrapper-linux-armhf-64-3.5.40.tar.gz
# copy bin/wrapper to dble/bin
# copy lib/libwrapper.so to dble/libStep 2 – Install a Kunpeng‑compatible JDK
Install a JDK that supports the ARM architecture (e.g., an AdoptOpenJDK build for ARM). Configure the necessary environment variables; details can be found via a web search.
Step 3 – Start DBLE
Run the DBLE start script and inspect wrapper.log . A successful start will produce log entries similar to the following:
STATUS | wrapper | 2021/01/08 13:45:15 | --> Wrapper Started as Daemon
STATUS | wrapper | 2021/01/08 13:45:15 | Java Service Wrapper Community Edition 64-bit 3.5.40
INFO | jvm 1 | 2021/01/08 13:45:16 | Listening for transport dt_socket at address: 8088
INFO | jvm 1 | 2021/01/08 13:45:19 | Server startup successfully. dble version is [5.7.21‑dble‑3.20.10.99‑cdc0923be854d91a0f942a9027bef1454057bde3‑20210107185349].Step 4 – Verify the connection
Check the user.xml file for the shardingUser definition, then connect with the MySQL client:
[root@localhost ~]# mysql -uroot -p123456 -P8066 -hyour_ipIf the client displays the MySQL monitor and you can run show databases; successfully, the installation is complete.
Notes
The wrapper version must be 3.5.40; mismatched versions will cause errors such as "The version of the Wrapper which launched this JVM is \"3.5.42\" while the version of the Wrapper jar file currently in use is \"3.5.40\"."
Using a non‑Kunpeng JDK may allow DBLE to start, but can lead to unpredictable issues (e.g., queue blockage when using an ARM‑based Oracle JDK).
Aikesheng Open Source Community
The Aikesheng Open Source Community provides stable, enterprise‑grade MySQL open‑source tools and services, releases a premium open‑source component each year (1024), and continuously operates and maintains them.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.