Pacemaker, corosync delete

corosyncpacemaker

I've got Pacemaker in conjunction with Corosync on two nodes and two float ip.
Now I need to delete this construction.

What is the best way to stop Pacemaker and Corosync and delete them?

Best Answer

For more information about pcs you can follow the Redhat documentation, anyway, you can use the following to achieve your task:

pcs resource show
pcs resource delete resource_id

After you deleted all your defined resources, Now you can disable and stop the cluster with:

pcs cluster disable --all
pcs cluster stop --all