...
Code Block |
---|
rpm -Uvh https://download.ceph.com/rpm-quincy/el9/noarch/ceph-release-1-1.el9.noarch.rpm yum clean all yum update yum install ceph shutdown -r now |
Su un monitor:
Code Block |
---|
ceph config generate-minimal-conf | sudo tee ~/ceph.conf.min |
e poi copio ceph.conf.min come /etc/ceph/ceph.conf nel client node
...
Copio nel client node anche il file /etc/ceph/ceph.client.cephfsxyz.keyring prima generato (per la top directory che mi interessa prima generato. Vedi How to create a ceph file system. Questo file deve avere mode 0600 e appartenere a root.root)
Creo anche il file /etc/ceph/cephfs.xyz.secret che contiene la sola chiave (quella che compare in /etc/ceph/ceph.client.cephfsxxx.keyring)
Per montare il file system:
...