Re: [ClusterLabs] Resource switchover taking more time upon shutting off one of the node in a 2 node cluster

2018-03-26 Thread Ken Gaillot
On Sat, 2018-02-24 at 15:02 +0530, avinash sharma wrote: > Hi Ken, > > Thanks for the reply.  > Here the resource in question is RoutingManager and floatingips which > has no dependency on stateful_consul resource so i think we can > ignore stateful_consul_promote failures. > RoutingManager (MS)

Re: [ClusterLabs] Dependency loop

2018-03-26 Thread Ken Gaillot
On Fri, 2018-03-16 at 13:00 +0200, George Kourvoulis wrote: > Hi, > > my logs keep being flooded by "Breaking dependency loop at > " but I cannot figure out why. I haven't spotted such a > loop. > > redhat-release CENTOS 7.2.1511 > pcs --version 0.9.143 > > Here's an excerpt from the logs: > >

Re: [ClusterLabs] copy file

2018-03-26 Thread Ken Gaillot
On Fri, 2018-03-09 at 10:35 +0100, Mevo Govo wrote: > Hi,  > Thank for advices, I'm thinking an optimal config for us. While the > DB is working, it would do native DB replication. But oracle needs > synchronized controlfiles when it starts normally. I can save the > file before overwrite it.

Re: [ClusterLabs] symmetric-cluster=false doesn't work

2018-03-26 Thread Ken Gaillot
On Tue, 2018-03-20 at 22:03 +0300, George Melikov wrote: > Hello, >   > I tried to create an asymmetric cluster via property symmetric- > cluster=false , but my resources try to start on any node, though I > have set locations for them. >   > What did I miss? >   > cib:

Re: [ClusterLabs] Colocation constraint for grouping all master-mode stateful resources with important stateless resources

2018-03-26 Thread Ken Gaillot
On Mon, 2018-03-26 at 15:42 +, Sam Gardner wrote: > Thanks, Andrei and Alberto. > > Alberto, I will look into the node-constraint parameters, though I > suspect Andrei is correct - my "base" resource is DRBDFS in this > case, and the issue I'm seeing is that a failure in my secondary >

Re: [ClusterLabs] Colocation constraint for grouping all master-mode stateful resources with important stateless resources

2018-03-26 Thread Alberto Mijares
>> >> It is possible. Check this thread >> https://lists.clusterlabs.org/pipermail/users/2017-November/006788.html >> > > I do not see how it answers the question. It explains how to use other > criteria than node name for colocating resources, but it does not change > basic fact that colocating

Re: [ClusterLabs] Colocation constraint for grouping all master-mode stateful resources with important stateless resources

2018-03-26 Thread Sam Gardner
Thanks, Andrei and Alberto. Alberto, I will look into the node-constraint parameters, though I suspect Andrei is correct - my "base" resource is DRBDFS in this case, and the issue I'm seeing is that a failure in my secondary resources does not cause the other secondary resources nor the "base"

Re: [ClusterLabs] corosync 2+ version on centos6.9

2018-03-26 Thread Jan Friesse
Jing, Hi, Is there a way to install corosync 2.0 or above on CentOS 6.9. I need it to work with pgsqlms module which supports postgresql10. Thanks, Yes, but no official rpms are provided. You can compile it by yourself and it will work (I'm still use some RHEL 6 boxes for Needle development