Hi,

On Sun, Sep 18, 2011 at 05:29:56PM +0200, Filip Sakáloš wrote:
> > Hello there,
> > 
> > I am currently developing a cluster, which main principle is to run some 
> > resources on one node and another resources on another node. This is quite 
> > simple to configure, but I have encountered a problem with configuring 
> > apache resource. I need apache to start on both nodes, but with different 
> > options (node1 with -DPROD and node2 with -DPUBLIC). However, when apache 
> > (or whole node fails), I need the apache on the working node to restart 
> > with both above options (e.g. node1 with -DPROD -DPUBLIC).
> > 
> > I have tried clone, but did not get very far. Other option I tried was to 
> > create 2 apache services (apache-single & apache-both) in cluster 
> > configuration and create an anti-colocation that would cause the resource 
> > apache-single to stop when apache-both starts. This somehow doesn't work 
> > either.
> > 
> > Does anyone have a clue or an idea how it could be solved?

Create apache-prod and apache-public resources. Would that work
for you?

Thanks,

Dejan

> > 
> > 
> > 
> > Filip
> > 
> > 
> > 
> > 
> 



> _______________________________________________
> Pacemaker mailing list: [email protected]
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: 
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


_______________________________________________
Pacemaker mailing list: [email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to