How to fully remove/cleanup DRBD9 ?

Belokan

Active Member
Apr 27, 2016
155
16
38
Hello all !

I've configured and used DRBD9 on my LAB PVE4.3 cluster following this article:


Now I want to move to CEPH and get rid of DRBD9 on my PVE nodes.
I've moved all VMs formerly on RAW/DRBD to Qcow2/NFS and there's nothing left on DRBD:

root@pve2:~# drbdadm status
.drbdctrl role:Secondary
volume:0 disk: Diskless
volume:1 disk: Diskless
pve1 role:Secondary
volume:0 peer-disk:UpToDate
volume:1 peer-disk:UpToDate

Could someone provide me with required steps to destroy the DRBD config and the obsolete packages to remove in order to have a "clean" situation again ?

Thanks a lot in advance for your help !

Olivier
 
It would probably be easier just to setup the Ceph environment from scratch with your equipment. That re-configuring idea sounds like a disaster in the waiting.
 
What do you mean by "setup the Ceph environment from scratch" ?
I don't want to reconfigure, just cleanly remove everything regarding DRBD in order to setup CEPH properly.

I have about 10 VMs running (in NFS now) on this LAB and re-installing the PVE nodes from scratch is not an option.

Thanks :)