0

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?

| improve this question | | | | |
  • 2
    you need to specify if you are using pcs or crm shell and your distribution. – c4f4t0r Mar 13 '19 at 13:58
  • Thank you for paying attention to my question!) pcs is used – Alex Mar 14 '19 at 4:54
0

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
| improve this answer | | | | |
  • After that may I stop and delete like this: #systemctl stop pacemaker #systemctl stop corosync ; and #yum remove pacemaker corosync ? – Alex Mar 14 '19 at 6:37
  • @alex use pcs cluster disable --all and pcs cluster stop --all as suggested in my answer – c4f4t0r Mar 14 '19 at 6:58
  • Thank you for your answer, but my next step will be installing keepalived, so is it correct to stop and remove pacemaker and corosync after #pcs cluster disable --all and #pcs cluster stop --all? – Alex Mar 14 '19 at 7:12
  • @alex could I ask you why do you need to disable the cluster and install keepalived? – c4f4t0r Mar 14 '19 at 7:28
  • Cause keepalived is easier to use and all in our command know how do this, but nobody knows pcs. – Alex Mar 14 '19 at 7:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.