You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


Installo sistema operativo (Alma9)


Disabilito SELinux


yum install epel-release


Installo ceph:



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)


Copio da un altro nodo  il file /etc/ceph/ceph.client.admin.keyring che dovra' avere questa ownership/protezioni:


-rw-------. 1 ceph ceph 137 Feb 20 13:51 /etc/ceph/ceph.client.admin.keyring


A questo punto un "ceph status" dovrebbe funzionare


Configurazione mds:


mkdir /var/lib/ceph/mds/ceph-`hostname -s`
chown ceph.ceph /var/lib/ceph/mds/ceph-`hostname -s`
ceph auth get-or-create mds.`hostname -s` mon 'profile mds' mgr 'profile mds' mds 'allow *' osd 'allow *' > /var/lib/ceph/mds/ceph-`hostname -s`/keyring

chown -R ceph.ceph /var/lib/ceph/mds/`hostname -s`
systemctl start ceph-mds@`hostname -s`
systemctl enable ceph-mds@`hostname -s`
systemctl status ceph-mds@`hostname -s`


  • No labels