[ClusterLabs] Beginner with STONITH Problem

stefan.schmitz at farmpartner-tec.com stefan.schmitz at farmpartner-tec.com
Wed Jun 24 06:44:27 EDT 2020


Hello,

I am an absolute beginner trying to setup our first HA Cluster.
So far I have been working with the "Pacemaker 1.1 Clusters from 
Scratch" Guide wich worked for me perfectly up to the Point where I need 
to install and configure STONITH.

Curerent Situation is:2 Ubuntu Server as the cluster. Both of those 
Servers are virtual machines running on 2 Centos KVM Hosts.
Those are the devices or ressources we can use for a STONITH 
implementation. In this and other guides I do read a lot about external 
devices and in the "pcs stonith list" there are some XEN but sadly I 
cannot find anything about KVM. At this point I am stumped and have no 
clue in how to proceed, I am not even sure what further inforamtion I 
shopuld provide that would be useful for giving advise?

The current pcs status is:

# pcs status
Cluster name: pacemaker_cluster
WARNING: corosync and pacemaker node names do not match (IPs used in setup?)
Stack: corosync
Current DC: server2ubuntu1 (version 1.1.18-2b07d5c5a9) - partition with 
quorum
Last updated: Wed Jun 24 12:43:24 2020
Last change: Wed Jun 24 12:35:17 2020 by root via cibadmin on server4ubuntu1

2 nodes configured
12 resources configured

Online: [ server2ubuntu1 server4ubuntu1 ]

Full list of resources:

  Master/Slave Set: r0_pacemaker_Clone [r0_pacemaker]
      Masters: [ server4ubuntu1 ]
      Slaves: [ server2ubuntu1 ]
  Clone Set: dlm-clone [dlm]
      Stopped: [ server2ubuntu1 server4ubuntu1 ]
  Clone Set: ClusterIP-clone [ClusterIP] (unique)
      ClusterIP:0        (ocf::heartbeat:IPaddr2):       Started 
server4ubuntu1
      ClusterIP:1        (ocf::heartbeat:IPaddr2):       Started 
server4ubuntu1
  Master/Slave Set: WebDataClone [WebData]
      Masters: [ server2ubuntu1 server4ubuntu1 ]
  Clone Set: WebFS-clone [WebFS]
      Stopped: [ server2ubuntu1 server4ubuntu1 ]
  Clone Set: WebSite-clone [WebSite]
      Stopped: [ server2ubuntu1 server4ubuntu1 ]

Failed Actions:
* dlm_start_0 on server2ubuntu1 'not configured' (6): call=437, 
status=complete, exitreason='',
     last-rc-change='Wed Jun 24 12:35:30 2020', queued=0ms, exec=86ms
* r0_pacemaker_monitor_60000 on server2ubuntu1 'master' (8): call=438, 
status=complete, exitreason='',
     last-rc-change='Wed Jun 24 12:36:30 2020', queued=0ms, exec=0ms
* dlm_start_0 on server4ubuntu1 'not configured' (6): call=441, 
status=complete, exitreason='',
     last-rc-change='Wed Jun 24 12:35:30 2020', queued=0ms, exec=74ms


Daemon Status:
   corosync: active/disabled
   pacemaker: active/disabled
   pcsd: active/enabled



I have researched the shown dlm Problem but everything I have found says 
that configuring STONITH would solve that issue.
Could please someone advise on how to proceed?

Thank you in advance!

Kind regards
Stefan Schmitz




More information about the Users mailing list