I have recently installed pacemaker and corosync for managin a virtual IP.The thing is that when I want to stop a resource (Virtual IP) on all the nodes, the stop command hangs.[root@isis ~]# sudo pcs cluster stop --allisis: Stopping Cluster...My configuration is:[root@isis ~]# sudo pcs statusCluster name: cluster-osirisLast updated: Mon Dec  8 00:09:29 2014Last change: Mon Dec  8 00:09:24 2014 via cibadmin on isisStack: corosyncCurrent DC: horus (2) - partition with quorumVersion: 1.1.10-32.el7_0.1-368c7262 Nodes configured2 Resources configuredOnline: [ horus isis ]Full list of resources: HAproxy        (systemd:haproxy):      Started horus ClusterIP-01   (ocf::heartbeat:IPaddr2):       Started isisPCSD Status:  isis: Online  horus: OnlineDaemon Status:  corosync: active/enabled  pacemaker: active/enabled  pcsd: active/enabledIf i stop cluster node by node, it works well:[root@isis ~]# sudo pcs cluster stop horushorus: Stopping Cluster...[root@isis ~]# sudo pcs cluster stop isisisis: Stopping Cluster...[root@isis ~]# sudo pcs status Error: cluster is not currently running on this nodePlease, Could you help me with this issue?Tks!
pacemaker hangs while stopping
linux;cluster;pacemaker
If your goal is to just stop the resource from running on any nodes in a cluster then you'd want to disable that resource using:pcs resource disable ClusterIP-01Your command sudo pcs cluster stop --all would be shutting down the cluster itself (and any resources controlled by that cluster).Managing Cluster Resources