RAID is a technology that combines multiple physical disks into a single array. It can be software-based, hardware-based, or hardware-software. It allows for fault-tolerance and performance improvement. 

When you install an operating system in DCImanager you can configure a software RAID, if it contains HDD of the same size. For more information please refer to the article Server management.

How it works


Defining disks for RAID

RAID can be selected if during the OS deployment the control panel has information about what disks are installed in the server. Run the server diagnostics operation or add disks in  Main menu → Servers → Edit→ Add equipment. To add a software RAID you will need hard drives of the same size. Depending on a manufacturer, the HDD size may vary by several dozens of megabytes. In Settings→ Global setting → Difference in hard drive size, % enter a permissible error in % for HDD size. This parameter allows ignoring the difference in size and creating the software RAID

A list of RAID-arrays depends on the OS template and number of disks in the server.  The system defines the size of the first disk and checks how many similar disks (SSD, SATA, etc.)  (taking into account the acceptable error specified in the Global settings) are installed in succession. The disks that are not used for the RAID, will be ignored. 

API

If you want to specify what RAID should be set up when executing an operation via API, pass one of the following variants in the hddraid parameter: no_raid, raid_0, raid_1, raid_5, raid_10.


Note

 If the hddraid parameter is not specified and the server contains disks that can be used for the RAID, software RAID 1 will be configured.

OS templates that support software RAID


 In the table below you can see a list of OS templates from ISPsystem repository that support software RAID

OS template 

Supported software RAID

Ubuntu-16.04-amd64

RAID 0, RAID 1, RAID 5, RAID 10

CentOS-6-amd64

RAID 0, RAID 1, RAID 5, RAID 10

CentOS-7-amd64

RAID 0, RAID 1, RAID 5, RAID 10

Debian-8-x86_64

RAID 0, RAID 1, RAID 5, RAID 10

Debian-9-x86_64

RAID 0, RAID 1, RAID 5, RAID 10

FreeBSD-10-amd64

RAID 0, RAID 1, RAID 5

FreeBSD-11-amd64

RAID 0, RAID 1, RAID 5