Starting from version 5.139.0 you can set up software RAID during OS deployment , if the server has hard drives of the same size. RAIDs that can be configured, will be displayed in the "Configure software RAID".
The control panel will display software RAID depending on:
- selected OS template (for example, FreeBSD doesn't support RAID10);
- number of hard drives installed on the server and suitable for RAID creation (for more information please refer to "How it works").
In Main menu → Servers → Operations you can see the number of installed disks. Depending on the RAID type, you can also see the information about available disks.
Since creation of software RAID requires hard disks of the same size, and disk size may vary by several dozens of megabytes depending on its manufacturer, in the "Global settings" section you can specify an acceptable error in percent of HDD size. This will allow to ignore the difference in their sizes and configure the software RAID.
How it works
Software raid RAID are available if the control panel can define what disks are installed into server during OS deployment. You can run the server diagnostics or add disks via the server edit form (Main menu → Servers → Edit → Add equipment).
Defining disks for RAID
Disks that can be used to add RAID are selected as follows:
- the system defines the size of the first disk and checks how many similar disks (the acceptable error specified in the "Global settings" is taken into account) are installed in succession (i.e. similar disks should be installed in succession and into the first slots for hard drives).
If you want to specify what RAID should be set up when running the operation via API, in the hddraid parameter you need to pass one of the following variants: 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 RAID, software RAID 1 will be configured for compatibility with old behavior of the control panel, because in earlier versions if similar disks were found RAID 1 was set up, and users could not select another RAID.
Starting from version 5.142.0 if a hardware RAID-controller is found on server, the server operation form (Main menu → Servers → Operations) will show the corresponding information. Also when running the operation via API without the hddraid parameter, RAID 1 will be configured only if the hardware RAID-controller is not found.
Starting from version 5.143.0 the system will consider a hard disk type (SSD, SATA и т.д.). Software RAID can be configured (via API as well) only if hard drives of the same type are present.
Os templates supporting software RAID
Some OS templates do not support software RAID. In the table below you can see a list of OS templates that support configuration of software RAIDs.
|OS template name||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|
We can not identify you and respond to your message.