Custom Rules - Ceph cluster

pvpaulo

Member
Jun 15, 2022
40
1
13
Good afternoon everyone!
Could someone please guide me?
I have a 5-node Proxmox cluster.
I have a Ceph cluster with only SSDs in the OSDs:
1758299487671.png

1758299544376.png

1758299571869.png


However, I have HDDs and want to use them to create different pools. Example:

POOL-HDD and POOL-SSD

However, the current settings are in the default rule: replicated_rule

and there is a pool with these rules:

Which takes all the current disks in the OSDs.
I want to know how to proceed with this, considering that there are already several VMs in this environment.

I've already created two custom rules for the two types of HDDs and SSDs:
I added them like this:

1758299650242.png
# ceph osd crush rule create rule replicated-hdd host default hdd
# ceph osd crush rule create rule replicated-ssd host default ssd

However, I don't want to apply it to avoid problems.

What's the best procedure? Can I change this replicated_rule to ssd-rule and then create a new pool for the HDD and add the hdd-rule rule?
Would this cause any problems on machines already in production?