How to add and configure a new tenant dedicated pool in a Ceph cluster¶
How to add and configure a new tenant dedicated pool in a Ceph cluster.
Globally it has to describes following process / commands:
On an operator account/machine, connect to ceph cluster:
1 | ceph --cluster main |
Create a new pool:
1 | osd pool create zosca-data 128 128 erasure main-profile |
Set min_size to (k+m-1) (see punchplatform-deployment.settings):
1 | osd pool set zosca-data min_size <k+m-1>
|
Check list of pools and rights actually referenced in the cluster:
1 2 | osd pool lspools auth list |
Set client rights (add new pool):
1 | auth caps client.client osd 'allow rw pool=nunki-data, allow rw pool=subra-data, allow rw pool=zosca-data' mon 'allow r' |