This topic describes the hardware configuration requirements of servers, including the operating system, BIOS configuration, disk mounting, network adapter configuration, and software requirements.
Prepare the operating system
The following table lists the Linux operating systems on which the OceanBase database can be installed.
| Linux operating system | Version | Server architecture |
|---|---|---|
| AliOS | 7.2 and later | x86_64 (including Hygon) and AArch64 (only supports Kunpeng and FeiTeng) |
| CentOS or Red Hat Enterprise Linux | 7.2 and later | x86_64 (including Hygon) and AArch64 (only supports Kunpeng and FeiTeng) |
| SUSE Enterprise Linux | 12 SP3 and later | x86_64 (including Hygon) and AArch64 (only supports Kunpeng and FeiTeng) |
| Debian or Ubuntu | 8.3 and later | x86_64 (including Hygon) and AArch64 (only supports Kunpeng and FeiTeng) |
Note
The network and yum or zypper source must be configured for the operating system.
BIOS settings
The following options must be disabled for BIOS:
Numa
Cstate
Pstate
EIST
Power saving
Turbo Mode
BMC share link
The following options must be configured for BIOS:
Boot sequence 1:HDD > Network > USB
Boot sequence 2: Among the HDD boot options, make the first drive the primary boot device.
Automatic Power on After Power Loss: Always on
NIC PXE Booting: Enabled
Intel Virtualization Technology: Enable
SOL Console Redirection: Enable
Hyper-Threading: Enable
Hardware Perfetcher: Enable
VT-d: Enable
SR-IOV: Enable
CSM Boot: Legacy
BMC Network Configuration: Enable DHCP (based on the actual requirements)
Energy Performance: Performance
Note
The BIOS 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 OCP server.
| Mounting point | Size | Description | Disk format |
|---|---|---|---|
| /home | 100 GB to 300 GB | The operations log disk of the components. | We recommend Ext4. |
| /data/log1 | 3 to 4 times the memory size | The MetaDB log disk of OCP. | We recommend Ext4. |
| /data/1 | Depends on the size of data to be stored | The metaDB data disk of OCP. | We recommend Ext4, or XFS if the size is larger than 16 TB. |
| /docker | 200 GB to 500 GB | The root directory of the Docker container. | We recommend Ext4. |
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 operations log disk of the components. | We recommend Ext4. |
| /data/log1 | 3 to 4 times the memory size | The log disk of OBServer. | We recommend Ext4. |
| /data/1 | Depends on the size of data to be stored | The data disk of OBServer. | We recommend Ext4, or XFS if the size is larger than 16 TB. |
NIC settings
We recommend that you configure two 10 Gbit/s NICs.
You can name the bond mode as bond0, mode1, or mode4. We recommend mode4. If you use mode4, you need to set the switch to support the 802.3ad protocol.
We recommend that you name the NICs as eth0 and eth1.
We recommend that you use the network service, instead of NetworkManager.
Software requirements
Docker must be installed on servers that deploy OAT, ODC, and OMS. The following table lists the version requirements of Docker.
| Software | Version |
|---|---|
| Docker | Docker CE 17.03 and later |