...
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 |
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
Metto il nodo sotto puppet nell'hostgroup hosts_all/CephProd (questo tra l'altro permettera' di settare il file di conf ceph.conf)
...
Code Block |
---|
[root@c-mon-1 almalinux]# ceph fs authorize cephfs client.cephfs / rw | tee /etc/ceph/ceph.client.cephfs.keyring [client.cephfs] key = AQAM8YRniubJLRAA3HlOQ8SCgjAAq/HtNbHv3A== |
Il file /etc/ceph/ceph.client.cephfs.keyring servira' poi nei client nodes (v. sotto)
Mount del filesystem su un client
Disabilito selinux e installo gli rpms di ceph:
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.cephfs.keyring prima generato