Re: [ClusterLabs] False negative from kamailio resource agent

2018-03-23 Thread Alberto Mijares
On Fri, Mar 23, 2018 at 5:04 AM, Valentin Vidic wrote: > On Thu, Mar 22, 2018 at 03:36:55PM -0400, Alberto Mijares wrote: >> Straight to the question: how can I manually run a resource agent >> script (kamailio) simulating the pacemaker's environment without >> actually

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

2018-03-23 Thread Sam Gardner
The shared-ip resource agents are our own custom RA - they do what we want and the failover mechanism for the single resource works fine as far as I can tell - using conntrackd or some other non-IP master/slave resource would be the same sort of failure that we're running into because the

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

2018-03-23 Thread Sam Gardner
Thanks, Ken. I just want all master-mode resources to be running wherever DRBDFS is running (essentially). If the cluster detects that any of the master-mode resources can't run on the current node (but can run on the other per ethmon), all other master-mode resources as well as DRBDFS should

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

2018-03-23 Thread Ken Gaillot
On Tue, 2018-03-20 at 16:34 +, Sam Gardner wrote: > Hi All - > > I've implemented a simple two-node cluster with DRBD and a couple of > network-based Master/Slave resources. > > Using the ethmonitor RA, I set up failover whenever the > Master/Primary node loses link on the specified ethernet

Re: [ClusterLabs] False negative from kamailio resource agent

2018-03-23 Thread Valentin Vidic
On Thu, Mar 22, 2018 at 03:36:55PM -0400, Alberto Mijares wrote: > Straight to the question: how can I manually run a resource agent > script (kamailio) simulating the pacemaker's environment without > actually having pacemaker running? You should be able to run it with something like: #