Supponiamo che il nodo da reinstallare sia ceph-mon-03
Spengo i servizi mon e mgr:
[root@ceph-mon-03 ~]# systemctl stop ceph-mgr.target [root@ceph-mon-03 ~]# systemctl stop ceph-mon.target [root@ceph-mon-03 ~]# systemctl stop ceph-mon@ceph-mon-03
Elimino il mon:
[root@ceph-mon-03 ~]# ceph mon remove ceph-mon-03
Reinstallo la macchina con AlmaLinux9
Configurazione rete dati:
nmcli con mod eno3 ipv4.method manual ipv4.addr "192.168.61.208/24" nmcli con mod eno3 802-3-ethernet.mtu 9000 nmcli con up eno3 nmcli con mod eno3 connection.autoconnect yes
Cancello l'utente ceph-mon-03:
[root@ceph-mon-01 ~]# ceph auth del mgr.ceph-mon-03 [root@ceph-mon-01 ~]#
Installo ceph:
rpm -e epel-release # e' gia' installato ma disabilitato yum install epel-release 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