[ClusterLabs] Antw: Re: Proposal for machine-friendly output from Pacemaker tools

2019-01-08 Thread Ulrich Windl
>>> Ken Gaillot schrieb am 08.01.2019 um 18:28 in Nachricht <2ecefc63baa56a76a6eeca7c696fc7a1653eb620.ca...@redhat.com>: > On Tue, 2019-01-08 at 17:23 +0100, Kristoffer Grönlund wrote: >> On Tue, 2019-01-08 at 10:07 -0600, Ken Gaillot wrote: >> > On Tue, 2019-01-08 at 10:30 +0100, Kristoffer

[ClusterLabs] Antw: Re: Trying to understand the default action of a fence agent

2019-01-08 Thread Ulrich Windl
>>> Ken Gaillot schrieb am 08.01.2019 um 17:55 in Nachricht : > On Tue, 2019‑01‑08 at 07:35 ‑0600, Bryan K. Walton wrote: >> Hi, >> >> I'm building a two node cluster with Centos 7.6 and DRBD. These >> nodes >> are connected upstream to two Brocade switches. I'm trying to enable >> fencing by

Re: [ClusterLabs] pcs 0.10.1 released

2019-01-08 Thread Ivan Devát
On 12/28/18 5:39 AM, digimer wrote: On 2018-11-26 12:26 p.m., Tomas Jelinek wrote: I am happy to announce the latest release of pcs, version 0.10.1. Source code is available at: https://github.com/ClusterLabs/pcs/archive/0.10.1.tar.gz or https://github.com/ClusterLabs/pcs/archive/0.10.1.zip

Re: [ClusterLabs] Trying to understand the default action of a fence agent

2019-01-08 Thread Bryan K. Walton
On Tue, Jan 08, 2019 at 10:55:09AM -0600, Ken Gaillot wrote: > > FYI pcmk_off_action="off" is the default > > If you want the cluster to request an "off" command instead of a > "reboot" when fencing a node, set the stonith-action cluster property > to "off". Awesome! Thank you, Ken. I don't

Re: [ClusterLabs] Proposal for machine-friendly output from Pacemaker tools

2019-01-08 Thread Ken Gaillot
On Tue, 2019-01-08 at 17:23 +0100, Kristoffer Grönlund wrote: > On Tue, 2019-01-08 at 10:07 -0600, Ken Gaillot wrote: > > On Tue, 2019-01-08 at 10:30 +0100, Kristoffer Grönlund wrote: > > > On Mon, 2019-01-07 at 17:52 -0600, Ken Gaillot wrote: > > > > > > > > > > Having all the tools able to

Re: [ClusterLabs] Trying to understand the default action of a fence agent

2019-01-08 Thread Christopher Lumens
> The pacemaker CLI commands don't always say anything when invalid > option combinations are used (fixing that is one of the many things on > the "would-be-nice" list). If you run into a nonsense option combination, file a bug and CC me on it and I'll take a look at it. I've been adding options

Re: [ClusterLabs] Trying to understand the default action of a fence agent

2019-01-08 Thread Ken Gaillot
On Tue, 2019-01-08 at 07:35 -0600, Bryan K. Walton wrote: > Hi, > > I'm building a two node cluster with Centos 7.6 and DRBD. These > nodes > are connected upstream to two Brocade switches. I'm trying to enable > fencing by using Digimer's fence_dlink_snmp script ( >

[ClusterLabs] dlm_controld does not recover from failed lockspace join

2019-01-08 Thread Edwin Török
Hello, We've seen an issue in production where DLM 4.0.7 gets "stuck" and unable to join more lockspaces. Other nodes in the cluster were able to join new lockspaces, but not the one that node 1 was stuck on. GFS2 was unaffected (the "stuck" lockspace was for a userspace control daemon, but thats

Re: [ClusterLabs] Proposal for machine-friendly output from Pacemaker tools

2019-01-08 Thread Kristoffer Grönlund
On Tue, 2019-01-08 at 10:07 -0600, Ken Gaillot wrote: > On Tue, 2019-01-08 at 10:30 +0100, Kristoffer Grönlund wrote: > > On Mon, 2019-01-07 at 17:52 -0600, Ken Gaillot wrote: > > > > > Having all the tools able to produce XML output like cibadmin and > > crm_mon would be good in general, I

Re: [ClusterLabs] About the pacemaker

2019-01-08 Thread Ken Gaillot
On Tue, 2019-01-08 at 15:27 +0800, T. Ladd Omar wrote: > Hey guys. I have a question, if the Pacemaker has an event-notify > interface which is realized by push Recently I want to do > something extra using other process when the resources being started > or deleted. So I need a way to monitor the

Re: [ClusterLabs] Proposal for machine-friendly output from Pacemaker tools

2019-01-08 Thread Ken Gaillot
On Tue, 2019-01-08 at 10:30 +0100, Kristoffer Grönlund wrote: > On Mon, 2019-01-07 at 17:52 -0600, Ken Gaillot wrote: > > There has been some discussion in the past about generating more > > machine-friendly output from pacemaker CLI tools for scripting and > > high-level interfaces, as well as

Re: [ClusterLabs] Plea for a new DLM release and thoughts on its Pacemaker interface

2019-01-08 Thread David Teigland
On Tue, Jan 08, 2019 at 11:56:18AM +0100, wf...@niif.hu wrote: > Hi David, > > The DLM git repo accumulated a couple of patches over the 4.0.7 tag, > would you mind cutting a new release for packaging? ok > Tangentially, would you be interested in an Autotoolized build system? > The flag

[ClusterLabs] Trying to understand the default action of a fence agent

2019-01-08 Thread Bryan K. Walton
Hi, I'm building a two node cluster with Centos 7.6 and DRBD. These nodes are connected upstream to two Brocade switches. I'm trying to enable fencing by using Digimer's fence_dlink_snmp script ( https://github.com/digimer/fence_dlink_snmp ). I've renamed the script to fence_brocade_snmp and

[ClusterLabs] Plea for a new DLM release and thoughts on its Pacemaker interface

2019-01-08 Thread wferi
Hi David, The DLM git repo accumulated a couple of patches over the 4.0.7 tag, would you mind cutting a new release for packaging? Tangentially, would you be interested in an Autotoolized build system? The flag handling repeatedly gives me headaches, and I'd consider contributing that if you

Re: [ClusterLabs] Proposal for machine-friendly output from Pacemaker tools

2019-01-08 Thread Kristoffer Grönlund
On Mon, 2019-01-07 at 17:52 -0600, Ken Gaillot wrote: > There has been some discussion in the past about generating more > machine-friendly output from pacemaker CLI tools for scripting and > high-level interfaces, as well as possibly adding a pacemaker REST > API. > > I've filed an RFE BZ > >

Re: [ClusterLabs] VirtualDomain & parallel shutdown

2019-01-08 Thread Jan Pokorný
On 27/11/18 14:35 +0100, Jan Pokorný wrote: > On 27/11/18 12:29 +0200, Klecho wrote: >> Big thanks for the answer, but I in your ways around I don't see a solution >> for the following simple case: >> >> I have a few VMs (VirtualDomain RA) and just want and to stop a few of them, >> not all. >>

[ClusterLabs] Stray started resource leakages (Was: [Problem] The crmd fails to connect with pengine.)

2019-01-08 Thread Jan Pokorný
On 02/01/19 15:43 +0100, Jan Pokorný wrote: > On 28/12/18 05:51 +0900, renayama19661...@ybb.ne.jp wrote: >> As a result, Pacemaker will stop without stopping the resource. > > This might have serious consequences in some scenarios, perhaps > unless some watchdog-based solution (SBD?) was used as