Re: [ClusterLabs] [Pacemaker on raspberry pi]

2018-03-05 Thread Ivan Devát
Hi, *#pcs cluster node add pi05 --start --enable** *Disabling SBD service... pi05: sbd disabled Traceback (most recent call last):   File "/usr/sbin/pcs", line 11, in     load_entry_point('pcs==0.9.160', 'console_scripts', 'pcs')()   File "/usr/lib/python3.6/site-packages/pcs/app.py", line

[ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-05 Thread 范国腾
Thank you, Ken. Got it :) -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Ken Gaillot 发送时间: 2018年3月6日 7:18 收件人: Cluster Labs - All topics related to open-source clustering welcomed 主题: Re: [ClusterLabs] 答复: 答复: How to configure to make each slave

Re: [ClusterLabs] 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-05 Thread Ken Gaillot
On Sun, 2018-02-25 at 02:24 +, 范国腾 wrote: > Hello, > > If all of the slave nodes crash, all of the slave vips could not > work.  > > Do we have any way to make all of the slave VIPs binds to the master > node if there is no slave nodes in the system? > > the user client will not know the

Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-05 Thread Ken Gaillot
On Sat, 2018-02-24 at 03:02 +, 范国腾 wrote: > Thank you, Ken, > > So I could use the following command: pcs constraint colocation set > pgsql-slave-ip1 pgsql-slave-ip2 pgsql-slave-ip3 setoptions score=- > 1000 Correct (sorry for the late reply) > > -邮件原件- > 发件人: Users

Re: [ClusterLabs] copy file

2018-03-05 Thread 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 DRBD to an > external device. Is there a builtin way to copy a file before a > resource is started (and after the DRBD

[ClusterLabs] [Pacemaker on raspberry pi]

2018-03-05 Thread pfrenard
Hello guys, I have discovered pacemaker since a few days and I m trying to setup a Raspberry PI 3 cluster :) I am running Fedora 27 - armv7l release. pacemaker is 1.1.18 corosync is 2.4.3 1/ I can create a cluster with 2 nodes let's say pi01 and pi02 with no issue. Then I  want to add

[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

[ClusterLabs] resource-agents v4.1.1

2018-03-05 Thread Oyvind Albrigtsen
ClusterLabs is happy to announce resource-agents v4.1.1. Source code is available at: https://github.com/ClusterLabs/resource-agents/releases/tag/v4.1.1 The most significant enhancements in this release are: - new resource agents: - azure-lb - jira - lxd-info/machine-info - mariadb (for

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, > > > > I am new in

Re: [ClusterLabs] Does CMAN Still Not Support Multipe CoroSync Rings?

2018-03-05 Thread Jan Friesse
Eric, Well, I finally got around to trying out the tag and I managed to get two rings running, but the first ring is not obeying my address and port directives. Here's my cluster.conf