Configure Ceph disks in a host profile
This section describes how to configure devices for the Ceph cluster in the
BareMetalHostProfile object of a MOSK cluster.
To configure disks for a Ceph cluster:
Open the
BareMetalHostProfileobject of a MOSK cluster for editing.In the
spec.devicessection, add each disk intended for use as a Ceph OSD data device withsize: 0andwipe: true.Example configuration for
sde-sdhdisks to use as Ceph OSDs:spec: devices: ... - device: byPath: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1 size: 0 wipe: true - device: byPath: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:2 size: 0 wipe: true - device: byPath: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:3 size: 0 wipe: true - device: byPath: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:4 size: 0 wipe: true
If you plan to use a separate metadata device for Ceph OSD, configure the
spec.devicessection as described in Configure a separate metadata device for Ceph OSD.Important
Mirantis highly recommends configuring disk partitions for Ceph OSD metadata using
BareMetalHostProfile.