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

2011-03-31 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] lrmd: WARN: G_SIG_dispatch: Dispatch function for S 1000 ms ( 100 ms) before being called

2011-03-31 Thread Jelle de Jong
On 30-03-11 21:05, Jean-Francois Malouin wrote:
 A little more than a month ago I posted on the subjet line warning and
 was told that they were harmless unless very frequent. They are now
 popping more than 10 times a day.
 I was asked to create a bug report if I wanted more info. So now I
 have an hb_report ready to go. Excuse the naive question, but where/how
 do I submit it?

Please keep us informed on this list, (share bug report URL)! I got the
same message popping up about twice a day and am interested why the
logging is so alarming.

I made the following logcheck rule for the message:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ lrmd: \[[0-9]+\]: WARN:
G_SIG_dispatch: Dispatch function for SIGCHLD was delayed [0-9]+ ms \(
100 ms\) before being called \(GSource: 0x[0-9]+f20\)$

Thanks in advance,

Kind regards,

Jelle de Jong

___
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