This topic describes the hardware and software configuration requirements of servers, including the operating system, BIOS settings, disk mounting, and NIC settings.
Operating system
The following table describes the Linux operating systems that support OceanBase Database.
| Linux operating system | Version | Server architecture |
|---|---|---|
| Alibaba Cloud Linux | 2 or 3 | x86_64 or AArch64 |
| Anolis OS | 8.6 and later | x86_64 (including Hygon) or AArch64 (Kunpeng and Phytium) |
| Kylin OS | V10 | x86_64 (including Hygon) or AArch64 (Kunpeng and Phytium) |
| UOS | V20 | x86_64 (including Hygon) or AArch64 (Kunpeng and Phytium) |
| NFSChina | V4.0 and later | x86_64 (including Hygon) or AArch64 (Kunpeng and Phytium) |
| Inspur KOS | V5.8 | x86_64 (including Hygon) or AArch64 (Kunpeng and Phytium) |
| CentOS or Red Hat Enterprise Linux | 7.2 and later | x86_64 (including Hygon) or AArch64 (Kunpeng and Phytium) |
| SUSE Enterprise Linux | 12SP3 and later | x86_64 (including Hygon) |
| Debian | 8.3 and later | x86_64 (including Hygon) |
Note
The network and YUM or Zypper must be configured for the operating system.
BIOS settings
Special settings:
Disable non-uniform memory access (NUMA) for Intel.
Enable NUMA for Hygon, AMD, Kunpeng, and Arm.
You must disable the following BIOS options:
C-State
P-State
EIST
Power saving
Turbo mode
The following options must be configured or enabled for BIOS:
Automatic Power on After Power Loss: Always on
Intel Virtualization Technology: Enable
SOL Console Redirection: Enable
Hyper-Threading: Enable
Hardware Perfetcher: Enable
VT-d: Enable
SR-IOV: Enable
Energy/Performance Bias: Maximum Performance
Note
The BIOS settings modification method varies with servers. For specific operation steps, see the operation manual of your server.
Disk mounting
The following table lists the disk mounting points of an OceanBase Cloud Platform (OCP) server.
Mounting point Size Description Disk format /home 100 GB to 300 GB The operation log disk of the components. Ext4 is recommended. /data/log1 3 to 4 times the memory size The log disk of the OCP MetaDB. Ext4 is recommended. /data/1 Depends on the size of data to be stored The data disk of the OCP MetaDB. Ext4 is recommended. If the size of the data disk is greater than 16 TB, XFS is recommended. /docker 200 GB to 500 GB The Docker root directory. Ext4 is recommended. The following table lists the disk mounting points of an OBServer.
Mounting point Size Description File system format /home 100 GB to 300 GB The operation log disk of the OBServer. Ext4 is recommended. /data/log1 3 to 4 times the memory size The log disk of OBServer. Ext4 is recommended. /data/1 Depends on the size of data to be stored The data disk of the OBServer. Ext4 is recommended. If the size of the data disk is greater than 16 TB, XFS is recommended. The following table lists the disk mounting points of an OceanBase Migration Service (OMS) server.
Mounting point Size Description File system format /data/oms 400 GB. The disk size depends on the size of the objects to be synchronized, the number of synchronization tasks, the frequency of DML operations on the synchronization objects, and the retention period of stores. The data disk for OMS stores. Ext4 is recommended.
Note
It is recommended that you allocate at least 50 GB for a root directory and do not separately mount the /opt and /var directories. If you use Logical Volume Manager (LVM), it is recommended that you specify the stripe parameters during the creation of directories. Here is an example:
lvcreate -n data -L 3000G obvg --stripes=3 --stripesize=128
NIC settings
It is recommended that you configure two 10GE NICs.
- You can name the bond mode as bond0, mode1, or mode4. mode4 is recommended. If you use mode4, you must configure 802.3ad for the vSwitch.
- It is recommended that you name the NICs as eth0 and eth1.
- It is recommended that you use the network service instead of NetworkManager.
Other software requirements
Docker must be installed on servers where OceanBase Admin Toolkit (OAT), OceanBase Developer Center (ODC), and OMS are deployed. The following table lists the version requirements of Docker.
| Software | Version |
|---|---|
| Docker | Docker CE 17.03 and later |