<div dir="ltr">Hi Ken, <div><br></div><div>I have checked the /var/log/cluster/corosync.log and there no information about why system hangs stopping... </div><div><br></div><div>¿Can you be more specific about what logs to check?</div><div><br></div><div>Thanks a lot.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-02 21:10 GMT+01:00 Ken Gaillot <span dir="ltr"><<a href="mailto:kgaillot@redhat.com" target="_blank">kgaillot@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/02/2017 12:35 PM, Oscar Segarra wrote:<br>
> Hi,<br>
><br>
> I have a two node cluster... when I try to shutdown the physical host I<br>
> get the following message in console: "a stop job is running for<br>
> pacemaker high availability cluster manager" and never stops...<br>
<br>
</span>That would be a message from systemd. You'll need to check the pacemaker<br>
status and/or logs to see why pacemaker can't shut down.<br>
<br>
Without stonith enabled, pacemaker will be unable to recover if a<br>
resource fails to stop. That could lead to a hang.<br>
<div><div class="h5"><br>
> This is my configuration:<br>
><br>
> [root@vdicnode01 ~]# pcs config<br>
> Cluster Name: vdic-cluster<br>
> Corosync Nodes:<br>
> vdicnode01-priv vdicnode02-priv<br>
> Pacemaker Nodes:<br>
> vdicnode01-priv vdicnode02-priv<br>
><br>
> Resources:<br>
> Resource: nfs-vdic-mgmt-vm-vip (class=ocf provider=heartbeat type=IPaddr)<br>
> Attributes: ip=192.168.100.200 cidr_netmask=24<br>
> Operations: start interval=0s timeout=20s<br>
> (nfs-vdic-mgmt-vm-vip-start-<wbr>interval-0s)<br>
> stop interval=0s timeout=20s<br>
> (nfs-vdic-mgmt-vm-vip-stop-<wbr>interval-0s)<br>
> monitor interval=10s<br>
> (nfs-vdic-mgmt-vm-vip-monitor-<wbr>interval-10s)<br>
> Clone: nfs_setup-clone<br>
> Resource: nfs_setup (class=ocf provider=heartbeat type=ganesha_nfsd)<br>
> Attributes: ha_vol_mnt=/var/run/gluster/<wbr>shared_storage<br>
> Operations: start interval=0s timeout=5s (nfs_setup-start-interval-0s)<br>
> stop interval=0s timeout=5s (nfs_setup-stop-interval-0s)<br>
> monitor interval=0 timeout=5s (nfs_setup-monitor-interval-0)<br>
> Clone: nfs-mon-clone<br>
> Resource: nfs-mon (class=ocf provider=heartbeat type=ganesha_mon)<br>
> Operations: start interval=0s timeout=40s (nfs-mon-start-interval-0s)<br>
> stop interval=0s timeout=40s (nfs-mon-stop-interval-0s)<br>
> monitor interval=10s timeout=10s<br>
> (nfs-mon-monitor-interval-10s)<br>
> Clone: nfs-grace-clone<br>
> Meta Attrs: notify=true<br>
> Resource: nfs-grace (class=ocf provider=heartbeat type=ganesha_grace)<br>
> Meta Attrs: notify=true<br>
> Operations: start interval=0s timeout=40s (nfs-grace-start-interval-0s)<br>
> stop interval=0s timeout=40s (nfs-grace-stop-interval-0s)<br>
> monitor interval=5s timeout=10s<br>
> (nfs-grace-monitor-interval-<wbr>5s)<br>
> Resource: vm-vdicone01 (class=ocf provider=heartbeat type=VirtualDomain)<br>
> Attributes: hypervisor=qemu:///system<br>
> config=/mnt/nfs-vdic-mgmt-vm/<wbr>vdicone01.xml<br>
> migration_network_suffix=tcp:/<wbr>/ migration_transport=ssh<br>
> Meta Attrs: allow-migrate=true target-role=Stopped<br>
> Utilization: cpu=1 hv_memory=512<br>
> Operations: start interval=0s timeout=90 (vm-vdicone01-start-interval-<wbr>0s)<br>
> stop interval=0s timeout=90 (vm-vdicone01-stop-interval-<wbr>0s)<br>
> monitor interval=20s role=Stopped<br>
> (vm-vdicone01-monitor-<wbr>interval-20s)<br>
> monitor interval=30s (vm-vdicone01-monitor-<wbr>interval-30s)<br>
> Resource: vm-vdicsunstone01 (class=ocf provider=heartbeat<br>
> type=VirtualDomain)<br>
> Attributes: hypervisor=qemu:///system<br>
> config=/mnt/nfs-vdic-mgmt-vm/<wbr>vdicsunstone01.xml<br>
> migration_network_suffix=tcp:/<wbr>/ migration_transport=ssh<br>
> Meta Attrs: allow-migrate=true target-role=Stopped<br>
> Utilization: cpu=1 hv_memory=1024<br>
> Operations: start interval=0s timeout=90<br>
> (vm-vdicsunstone01-start-<wbr>interval-0s)<br>
> stop interval=0s timeout=90<br>
> (vm-vdicsunstone01-stop-<wbr>interval-0s)<br>
> monitor interval=20s role=Stopped<br>
> (vm-vdicsunstone01-monitor-<wbr>interval-20s)<br>
> monitor interval=30s (vm-vdicsunstone01-monitor-<wbr>interval-30s)<br>
> Resource: vm-vdicdb01 (class=ocf provider=heartbeat type=VirtualDomain)<br>
> Attributes: hypervisor=qemu:///system<br>
> config=/mnt/nfs-vdic-mgmt-vm/<wbr>vdicdb01.xml<br>
> migration_network_suffix=tcp:/<wbr>/ migration_transport=ssh<br>
> Meta Attrs: allow-migrate=true target-role=Stopped<br>
> Utilization: cpu=1 hv_memory=512<br>
> Operations: start interval=0s timeout=90 (vm-vdicdb01-start-interval-<wbr>0s)<br>
> stop interval=0s timeout=90 (vm-vdicdb01-stop-interval-0s)<br>
> monitor interval=20s role=Stopped<br>
> (vm-vdicdb01-monitor-interval-<wbr>20s)<br>
> monitor interval=30s (vm-vdicdb01-monitor-interval-<wbr>30s)<br>
> Clone: nfs-vdic-images-vip-clone<br>
> Resource: nfs-vdic-images-vip (class=ocf provider=heartbeat type=IPaddr)<br>
> Attributes: ip=192.168.100.201 cidr_netmask=24<br>
> Operations: start interval=0s timeout=20s<br>
> (nfs-vdic-images-vip-start-<wbr>interval-0s)<br>
> stop interval=0s timeout=20s<br>
> (nfs-vdic-images-vip-stop-<wbr>interval-0s)<br>
> monitor interval=10s<br>
> (nfs-vdic-images-vip-monitor-<wbr>interval-10s)<br>
> Resource: vm-vdicudsserver (class=ocf provider=heartbeat<br>
> type=VirtualDomain)<br>
> Attributes: hypervisor=qemu:///system<br>
> config=/mnt/nfs-vdic-mgmt-vm/<wbr>vdicudsserver.xml<br>
> migration_network_suffix=tcp:/<wbr>/ migration_transport=ssh<br>
> Meta Attrs: allow-migrate=true target-role=Stopped<br>
> Utilization: cpu=1 hv_memory=1024<br>
> Operations: start interval=0s timeout=90<br>
> (vm-vdicudsserver-start-<wbr>interval-0s)<br>
> stop interval=0s timeout=90<br>
> (vm-vdicudsserver-stop-<wbr>interval-0s)<br>
> monitor interval=20s role=Stopped<br>
> (vm-vdicudsserver-monitor-<wbr>interval-20s)<br>
> monitor interval=30s (vm-vdicudsserver-monitor-<wbr>interval-30s)<br>
> Resource: vm-vdicudstuneler (class=ocf provider=heartbeat<br>
> type=VirtualDomain)<br>
> Attributes: hypervisor=qemu:///system<br>
> config=/mnt/nfs-vdic-mgmt-vm/<wbr>vdicudstuneler.xml<br>
> migration_network_suffix=tcp:/<wbr>/ migration_transport=ssh<br>
> Meta Attrs: allow-migrate=true target-role=Stopped<br>
> Utilization: cpu=1 hv_memory=1024<br>
> Operations: start interval=0s timeout=90<br>
> (vm-vdicudstuneler-start-<wbr>interval-0s)<br>
> stop interval=0s timeout=90<br>
> (vm-vdicudstuneler-stop-<wbr>interval-0s)<br>
> monitor interval=20s role=Stopped<br>
> (vm-vdicudstuneler-monitor-<wbr>interval-20s)<br>
> monitor interval=30s (vm-vdicudstuneler-monitor-<wbr>interval-30s)<br>
><br>
> Stonith Devices:<br>
> Fencing Levels:<br>
><br>
> Location Constraints:<br>
> Resource: nfs-grace-clone<br>
> Constraint: location-nfs-grace-clone<br>
> Rule: score=-INFINITY (id:location-nfs-grace-clone-<wbr>rule)<br>
> Expression: grace-active ne 1<br>
> (id:location-nfs-grace-clone-<wbr>rule-expr)<br>
> Resource: nfs-vdic-images-vip-clone<br>
> Constraint: location-nfs-vdic-images-vip<br>
> Rule: score=-INFINITY (id:location-nfs-vdic-images-<wbr>vip-rule)<br>
> Expression: ganesha-active ne 1<br>
> (id:location-nfs-vdic-images-<wbr>vip-rule-expr)<br>
> Resource: nfs-vdic-mgmt-vm-vip<br>
> Constraint: location-nfs-vdic-mgmt-vm-vip<br>
> Rule: score=-INFINITY (id:location-nfs-vdic-mgmt-vm-<wbr>vip-rule)<br>
> Expression: ganesha-active ne 1<br>
> (id:location-nfs-vdic-mgmt-vm-<wbr>vip-rule-expr)<br>
> Ordering Constraints:<br>
> Colocation Constraints:<br>
> nfs-vdic-mgmt-vm-vip with nfs-vdic-images-vip-clone (score:-1)<br>
> (id:colocation-nfs-vdic-mgmt-<wbr>vm-vip-nfs-vdic-images-vip-<wbr>INFINITY)<br>
> vm-vdicone01 with vm-vdicdb01 (score:-10)<br>
> (id:colocation-vm-vdicone01-<wbr>vm-vdicdb01-INFINITY)<br>
> vm-vdicsunstone01 with vm-vdicone01 (score:-10)<br>
> (id:colocation-vm-<wbr>vdicsunstone01-vm-vdicone01-<wbr>INFINITY)<br>
> vm-vdicsunstone01 with vm-vdicdb01 (score:-10)<br>
> (id:colocation-vm-<wbr>vdicsunstone01-vm-vdicdb01-<wbr>INFINITY)<br>
> Ticket Constraints:<br>
><br>
> Alerts:<br>
> No alerts defined<br>
><br>
> Resources Defaults:<br>
> No defaults set<br>
> Operations Defaults:<br>
> No defaults set<br>
><br>
> Cluster Properties:<br>
> cluster-infrastructure: corosync<br>
> cluster-name: vdic-cluster<br>
> dc-version: 1.1.15-11.el7_3.2-e174ec8<br>
> have-watchdog: false<br>
> last-lrm-refresh: 1485628578<br>
> start-failure-is-fatal: false<br>
> stonith-enabled: false<br>
> Node Attributes:<br>
> vdicnode01-priv: grace-active=1<br>
> vdicnode02-priv: grace-active=1<br>
><br>
> Quorum:<br>
> Options:<br>
> [root@vdicnode01 ~]#<br>
><br>
> Any help will be welcome!<br>
><br>
> Thanks a lot.<br>
<br>
</div></div>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>