[Pacemaker] [pacemaker] To start all the resources on one node when HA starts in 2 node configuration.

2011-03-30 Thread rakesh k
Hi All

Here is my description regarding this

While configuring HA i used this CLI command
*crm configure location HTTPD Httpd   rule id="HTTPD-rule" 100: \#uname
eq hatest1rule id="HTTPD-rule1" 200: \#uname eq hatest2*

where Httpd is resource and given score 100 for hatest1 and score 200 for
node -2 hatest2
similarly there are other three resources where i have given score 100 for
first node and score 200 for second node

when HA starts it checks for the scores and starts the processes on hatest2

Is there any other better way such that heartbeat/pacemaker checks the node
level configuration rather than HA checks resource location constraint .


Regards
Rakesh
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
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


Re: [Pacemaker] [pacemaker] To start all the resources on one node when HA starts in 2 node configuration.

2011-04-01 Thread Andrew Beekhof
On Thu, Mar 31, 2011 at 8:15 AM, rakesh k  wrote:
> Hi All
>
> Here is my description regarding this
>
> While configuring HA i used this CLI command
> crm configure location HTTPD Httpd   rule id="HTTPD-rule" 100: \#uname
> eq hatest1    rule id="HTTPD-rule1" 200: \#uname eq hatest2
>
> where Httpd is resource and given score 100 for hatest1 and score 200 for
> node -2 hatest2
> similarly there are other three resources where i have given score 100 for
> first node and score 200 for second node
>
> when HA starts it checks for the scores and starts the processes on hatest2

yes, thats what you asked for - that all three services prefer the
second node the most.

>
> Is there any other better way such that heartbeat/pacemaker checks the node
> level configuration rather than HA checks resource location constraint .

what does that mean?

>
> Regards
> Rakesh
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> 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: Pacemaker@oss.clusterlabs.org
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