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

Andrew Beekhof andrew at beekhof.net
Fri Apr 1 04:14:11 EDT 2011


On Thu, Mar 31, 2011 at 8:15 AM, rakesh k <rakirocker4236 at gmail.com> 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 at 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
>
>




More information about the Pacemaker mailing list