Re: [ClusterLabs] drbd could not start by pacemaker. strange limited root privileges?

2019-05-23 Thread Mevo Govo
Hi Ken, very thanks for SELinux advice ! I forget to check it. After I disabled SELinux temporarily, pacmaker starts to handle the DRBD resources well. (I checked the agent scripts earlier, but they were same as in the scripts subdir of drbd9 source). And I will check my email settings. Thanks agai

[ClusterLabs] DRBD resouce does not start by Pacemaker

2019-05-16 Thread Mevo Govo
Hi, I would use drbd9 and Pacemaker, but when I add a DRBD resource to Pacemaker, it shows this error. Could You help me? Thanks: Laszlo # pcs resource create DrbdDB ocf:linbit:drbd drbd_resource=drbd_db op monitor interval=60s meta notify=true # pcs resource master DrbdDBClone DrbdDB master-max=1

Re: [ClusterLabs] drbd9 3 node "neverending" sync?

2018-10-08 Thread Mevo Govo
ync-target "echo before-resync-target | mail -r root.$(hostname)@ -s before-resync-target "; ... } B.r: Laszlo. Mevo Govo ezt írta (időpont: 2018. okt. 8., H, 14:12): > Hi, > > I tried it with and without drbd quorum options, I resterted all the node, > but same &quo

Re: [ClusterLabs] drbd9 3 node "neverending" sync?

2018-10-08 Thread Mevo Govo
f protocol C. But I do not see it on our prod environment. B.r: Laszlo. Mevo Govo ezt írta (időpont: 2018. okt. 8., H, 11:20): > Hi, > > we are testing drbd9 with 3 node. After a test (network disable, then > enable on one host), the syncronization is not finishing. > As a recov

[ClusterLabs] drbd9 3 node "neverending" sync?

2018-10-08 Thread Mevo Govo
Hi, we are testing drbd9 with 3 node. After a test (network disable, then enable on one host), the syncronization is not finishing. As a recovery, I switched the pacemaker off, and I tried "primary --force" on one node and "--discard-my-data" on the other nodes. It seem solve the problem (everythi

Re: [ClusterLabs] page not found

2018-03-10 Thread Mevo Govo
Hi, I found the doc here (I hope it is what you requested): http://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch09.html ( I am new in pacemaker, I am reading the same doc :) B.r: lados. 2018-03-10 0:32 GMT+01:00 Ken Gaillot : > Thanks, fixed. > > We moved some d

Re: [ClusterLabs] copy file

2018-03-09 Thread Mevo Govo
, but we are new users of DRBD. Thanks: lados. 2018-03-08 20:12 GMT+01:00 Ken Gaillot : > On Thu, 2018-03-08 at 18:49 +0100, Mevo Govo wrote: > > Hi, > > thanks for advice and your intrest. > > We would use oracle database over DRBD. Datafiles (and control and > > red

Re: [ClusterLabs] copy file

2018-03-08 Thread Mevo Govo
: lados. 2018-03-07 10:20 GMT+01:00 Klaus Wenninger : > On 03/07/2018 10:03 AM, Mevo Govo wrote: > > Thanks for advices, I will try! > > lados. > > > > 2018-03-05 23:29 GMT+01:00 Ken Gaillot > <mailto:kgail...@redhat.com>>: > > > > On Mon, 2018-

Re: [ClusterLabs] copy file

2018-03-07 Thread Mevo Govo
Thanks for advices, I will try! lados. 2018-03-05 23:29 GMT+01:00 Ken Gaillot : > On Mon, 2018-03-05 at 15:09 +0100, Mevo Govo wrote: > > Hi, > > I am new in pacemaker. I think, I should use DRBD instead of copy > > file. But in this case, I would copy a file from a DR

[ClusterLabs] copy file

2018-03-05 Thread Mevo Govo
Hi, I am new in pacemaker. I think, I should use DRBD instead of copy file. But in this case, I would copy a file from a DRBD to an external device. Is there a builtin way to copy a file before a resource is started (and after the DRBD is promoted)? For example a "copy" resource? I did not find it.

Re: [ClusterLabs] why some resources blocked

2018-03-05 Thread Mevo Govo
Thanks, it works. I replaced the "promote" to "start" in the constraint, and ora* resources start. Also thanks for resource grouping advice. lados. 2018-03-02 16:26 GMT+01:00 Ken Gaillot : > On Fri, 2018-03-02 at 11:53 +0100, Mevo Govo wrote: > > > > Hi, >

[ClusterLabs] why some resources blocked

2018-03-02 Thread Mevo Govo
Hi, I am new in pacemaker, corosync and on this list. I created a cluster (based on "Clusters from Scratch" doc). The DRBD and my filesystem on it work fine. Then I add an oracle and oralsnr resource. But these oracle resources remain stopped. I can start and stop the ora resources well by "pcs re