RAID Configuration
RAID can be configured on the node by the user only if multitenancy is enabled, meaning the node has a project uuid assigned as an owner in its properties.
Creating a software RAID configuration
In order to have a software RAID config applied to a node: - the target_raid_config needs to be defined (the example is for a RAID 0)
openstack baremetal node set --target-raid-config '{"logical_disks": [{"size_gb": 100, "controller": "software", "raid_level": "1"}, {"size_gb": "MAX", "controller":"software", "raid_level": "0"}]}' <BAREMETAL_NODE>
- the cleaning needs to be initiated (e.g. moving a node from manageable to available):
openstack baremetal node provide <BAREMETAL_NODE>
Deleting a software RAID configuration
In order to delete the RAID config of a node: - the target_raid_config needs to be cleared via:
openstack baremetal node set --target-raid-config '{}' <BAREMETAL_NODE>
- the cleaning needs to be initiated (e.g. moving a node from manageable to available):
openstack baremetal node provide <BAREMETAL_NODE>
Last update: May 25, 2022