[ClusterLabs] Antw: Re: SBD as watchdog daemon

2019-04-15 Thread Ulrich Windl
>>> schrieb am 15.04.2019 um 13:03 in Nachricht <566fe1cd-b8fd-41e0-bc07-1722be14e...@ya.ru>: > >> 14 апр. 2019 г., в 10:12, Andrei Borzenkov написал(а): > > Thanks for explanation, I think this will be good addition to the SBD > manual. (SBD manual need in this.) But my

Re: [ClusterLabs] Resource not starting correctly

2019-04-15 Thread JCA
Thanks. See my comments interspersed below. On Mon, Apr 15, 2019 at 4:30 PM Ken Gaillot wrote: > On Mon, 2019-04-15 at 14:15 -0600, JCA wrote: > > I have a simple two-node cluster, node one and node two, with a > > single resource, ClusterMyApp. The nodes are CentOS 7 VMs. The > > resource is

Re: [ClusterLabs] Resource not starting correctly

2019-04-15 Thread Ken Gaillot
On Mon, 2019-04-15 at 14:15 -0600, JCA wrote: > I have a simple two-node cluster, node one and node two, with a > single resource, ClusterMyApp. The nodes are CentOS 7 VMs. The > resource is created executing the following line in node one: > ># pcs resource create ClusterMyApp

[ClusterLabs] Resource not starting correctly III

2019-04-15 Thread JCA
This is weird. Further experiments, consisting of creating and deleting the resource, reveal that, on creating the resource, myapp-script may be invoked multiple times - sometimes four, sometimes twenty or so, sometimes returning OCF_SUCCESS, some other times returning OCF_NOT_RUNNING. And whether

[ClusterLabs] Resource not starting correctly II

2019-04-15 Thread JCA
Well, I remain puzzled. I added a statement to the end of my script in order to capture its return value. Much to my surprise, when I create the associated resource (as described in my previous post) myapp-script gets invoked four times in node one (where the resource is created) and two in node

[ClusterLabs] Resource not starting correctly

2019-04-15 Thread JCA
I have a simple two-node cluster, node one and node two, with a single resource, ClusterMyApp. The nodes are CentOS 7 VMs. The resource is created executing the following line in node one: # pcs resource create ClusterMyApp ocf:myapp:myapp-script op monitor interval=30s This invokes

[ClusterLabs] [Announce] libqb 1.0.4 release

2019-04-15 Thread Christine Caulfield
We are pleased to announce the release of libqb 1.0.4 Source code is available at: https://github.com/ClusterLabs/libqb/releases/download/v1.0.4/libqb-1.0.4.tar.xz Please used the signed .tar.gz or .tar.xz files with the version number in rather than the github-generated "Source Code" ones.

Re: [ClusterLabs] SBD as watchdog daemon

2019-04-15 Thread Олег Самойлов
> 14 апр. 2019 г., в 10:12, Andrei Borzenkov написал(а): Thanks for explanation, I think this will be good addition to the SBD manual. (SBD manual need in this.) But my problem lies in other plain. I investigated SBD. A common watchdog is a much simple. One infinite loop, checks some tests