Re: [ClusterLabs] IPaddr2 failed to start

2016-06-22 Thread wd
if [ X`uname -s` != "XLinux" ]; then ocf_log err "IPaddr2 only supported Linux." exit $OCF_ERR_INSTALLED fi Do you run on a linux? what is 'uname -s' command returned? On Wed, Jun 22, 2016 at 6:07 PM, Юрченко Станислав wrote: > Hello! > I have

Re: [ClusterLabs] How to use totem.interface.dynamic for corosync ?

2016-05-31 Thread wd
On Tue, May 31, 2016 at 3:08 PM, Jan Friesse wrote: > I'll try corosync 2.x >> So I need to edit configuration files on all node then call >> corosync-cfgtool -R or on one node is ok? >> > > You have to edit file on all nodes. Then call corosync-cfgtool -R on one > of the

Re: [ClusterLabs] Three node cluster constraint

2016-05-30 Thread wd
with Slave pgsql-master 100' not effect node3 which is also a slave node. On Tue, May 31, 2016 at 12:32 PM, wd <w...@wdicc.com> wrote: > sorry, I've sent to the wrong mailist, fwd to users@clusterlabs.org > > -- Forwarded message -- > From: wd <w...@wdicc.com&g

[ClusterLabs] Fwd: Three node cluster constraint

2016-05-30 Thread wd
sorry, I've sent to the wrong mailist, fwd to users@clusterlabs.org -- Forwarded message -- From: wd <w...@wdicc.com> Date: Tue, May 31, 2016 at 12:04 PM Subject: Three node cluster constraint To: pacema...@oss.clusterlabs.org Hi, I've setup a three node PostgreSQL c

Re: [ClusterLabs] How to use totem.interface.dynamic for corosync ?

2016-05-30 Thread wd
I'll try corosync 2.x So I need to edit configuration files on all node then call corosync-cfgtool -R or on one node is ok? On Fri, May 27, 2016 at 6:28 PM, Jan Friesse wrote: > hi, >> >> I use corosync with udpu ( since multi broadcast not work here), and want >> the

[ClusterLabs] How to add a constraint to move a resource to other node when a resource stop

2016-05-13 Thread wd
hi, I'm running a master/slave 2 node PostgreSQL cluster, and 2 virtual ip resource, one is for master, one is for slave. I have add colocation constraint for both virtual ip and master/slave resource, to ensure virtual ip for master is run at master, and virtual ip for slave is run at slave.