Re: [ClusterLabs] How to set up fencing/stonith

2018-05-15 Thread Andrei Borzenkov
16.05.2018 06:52, Casey & Gina пишет: > Hi, I'm trying to figure out how to get fencing/stonith going with > pacemaker. > > As far as I understand it, they are both part of the same thing - > setting up stonith means setting up fencing. If I'm mistaken on > that, please let me know. > They are

[ClusterLabs] How to set up fencing/stonith

2018-05-15 Thread Casey & Gina
Hi, I'm trying to figure out how to get fencing/stonith going with pacemaker. As far as I understand it, they are both part of the same thing - setting up stonith means setting up fencing. If I'm mistaken on that, please let me know. Specifically, I'm wanting to use the external/vcenter

[ClusterLabs] Pacemaker 2.0.0-rc4 now available

2018-05-15 Thread Ken Gaillot
Source code for the fourth (and likely final) release candidate for Pacemaker version 2.0.0 is now available at: https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc4 This release restores the possibility of rolling (live) upgrades from Pacemaker 1.1.11 or later, on top of

Re: [ClusterLabs] pacemaker as data store

2018-05-15 Thread Ken Gaillot
On Tue, 2018-05-15 at 13:25 +0300, George Melikov wrote: > Hello,  > > Sorry for a (likely) dumb question, > but is there a way to store and sync data via pacemaker/corosync? > > Are there any way to store key/value properties or files? > > I've found `pcs property set --force`, but it didn't

Re: [ClusterLabs] Frequent PAF log messages - Forbidding promotion on in state "startup"

2018-05-15 Thread Shobe, Casey
Thanks, I should have seen that. I just assumed that everything was working fine because `pcs status` shows no errors. This leads me to another question - is there a way to trigger a rebuild of a slave with pcs? Or do I need to use `pcs cluster stop`, then manually do a new pg_basebackup,

[ClusterLabs] pacemaker as data store

2018-05-15 Thread George Melikov
Hello, Sorry for a (likely) dumb question, but is there a way to store and sync data via pacemaker/corosync? Are there any way to store key/value properties or files? I've found `pcs property set --force`, but it didn't survive cluster restart. Sincerely,

Re: [ClusterLabs] Frequent PAF log messages - Forbidding promotion on in state "startup"

2018-05-15 Thread Jehan-Guillaume de Rorthais
On Mon, 14 May 2018 19:08:47 + "Shobe, Casey" wrote: > > We do not trigger error for such scenario because it would require the > > cluster to react...and there's really no way the cluster can solve such > > issue. So we just put a negative score, which is already

[ClusterLabs] 答复: 答复: How to change the "pcs constraint colocation set"

2018-05-15 Thread 范国腾
Sorry, my mistake. I should use the second id. It is ok now. Thanks Tomas. -邮件原件- 发件人: 范国腾 发送时间: 2018年5月15日 16:19 收件人: users@clusterlabs.org 主题: 答复: [ClusterLabs] 答复: How to change the "pcs constraint colocation set" It could not find the id of constraint set. [root@node1 ~]# pcs

[ClusterLabs] 答复: 答复: How to change the "pcs constraint colocation set"

2018-05-15 Thread 范国腾
It could not find the id of constraint set. [root@node1 ~]# pcs constraint colocation --full Colocation Constraints: clvmd-clone with dlm-clone (score:INFINITY) (id:colocation-clvmd-clone-dlm-clone-INFINITY) pgsql-master-ip with pgsql-ha (score:INFINITY) (rsc-role:Started)

Re: [ClusterLabs] 答复: How to change the "pcs constraint colocation set"

2018-05-15 Thread Tomas Jelinek
Dne 15.5.2018 v 10:02 范国腾 napsal(a): Thank you, Tomas. I know how to remove a constraint " pcs constraint colocation remove ". Is there a command to delete a constraint colocation set? There is "pcs constraint remove ". To get a constraint id, run "pcs constraint colocation --full" and

[ClusterLabs] 答复: How to change the "pcs constraint colocation set"

2018-05-15 Thread 范国腾
Thank you, Tomas. I know how to remove a constraint " pcs constraint colocation remove ". Is there a command to delete a constraint colocation set? -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Tomas Jelinek 发送时间: 2018年5月15日 15:42 收件人: users@clusterlabs.org 主题: Re:

Re: [ClusterLabs] How to change the "pcs constraint colocation set"

2018-05-15 Thread Tomas Jelinek
Dne 15.5.2018 v 05:25 范国腾 napsal(a): Hi, We have two VIP resources and we use the following command to make them in different node. pcs constraint colocation set pgsql-slave-ip1 pgsql-slave-ip2 setoptions score=-1000 Now we add a new node into the cluster and we add a new VIP too. We want