How to permission ceph on a proxmox cluster to another proxmox node

KeyzerSuze

Member
Aug 16, 2024
35
1
8
Hi

I have built a proxmox cluster and im running ceph on there.
I have another proxmox node - out side the cluster and for now don't want to connect it to the cluster
but I want to share the ceph filesystem - so the rdb and a cephfs

so I'm thinking i need to do something like this on the cluster

# so this creates the user and allows read access to the monitor client.new is the username i will give to the single node proxmox
cepth add add client.new mon 'allow r'

# this will allow it to read and write to the rdb called cephPool01
ceph auth caps client.new osd 'allow rw pool=cephPool01'

# Do i need this - because I have write access above - does this imply i have write access to the cephs space as well
ceph auth caps client.new osd 'pool=cephPool01 namespace=cephfs'

# Do i use the above command or this command
ceph fs authorize cephfs client.new / rw

also can i have multiple osd '' arguments so

ceph auth caps client.new osd 'allow rw pool=cephPool01' osd 'pool=cephPool01 namespace=cephfs'