Roland G. McIntosh wrote:
Dominik Klein wrote:
> With a failure stickiness of -30, you allow your groups resources to
> fail (400/30)=14 times. Is that what you want?
Although the default failure stickiness is -30, the group has a failure
stickiness of -100. I would like to failover after 3 or 4 failures.
My test with 15 stop commands was "just to be sure."
Well, with your new cib, that should work as intended. The cib of your
first email would not and what else should I refer to :)
> You don't have any monitor operations for the ipaddr and jboss
> resources. Failures on them are not detected. Configure monitor
> operations and try again.
I actually do have monitor operations on both, I accidentally sent out
an old cib.xml, updated file attached. Previous showscores.sh output is
correct for this cib.xml. It behaves as described in the last e-mail
even with monitor operations on IPaddr2 and jboss.
> Also make sure you use a recent version.Otherwise you may also hit the
> bug of not increasing failcount in 2.1.3's crm. This is fixed in
> pacemaker (0.6.x)
Uh oh. I definitely have 2.1.3 with the crm_failcount bug, but I didn't
think this would affect score calculation.
If the failcount is not updated, the score is not changed when a
resource fails again. Read http://wiki.linux-ha.org/ScoreCalculation
I didn't install a pacemaker
package, I used the CentOS4 extras RPMs. I hope CentOS4 / RHEL4
packages can be released. I could not rebuild RHEL5 packages from the
openSUSE ha-clustering repository due to this:
configure:3065: gcc -c -O2 -g conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3071: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
Should I seek an alternative to these CentOS 4 extras RPMs?
Can't give any advice on that. Any RH/CentOS users?
> pps. where did you get the jboss RA? I'd be interested in it.
http://rgm.nu/jbossocf
I hacked it together, it's ugly. Hope it's useful to you, although it's
tailored to a very old jboss release 3.0.8, with some customizations to
support multiple instances of jboss on different ports. Relies on ps,
awk, egrep, and curl, only tested on RHEL4. You'll want to change the
HTTPCODE check with an URL for your servlet (or modify to use jmx-console).
Thanks. I will have a look at it and see if I can make it work for me :)
Regards
Dominik
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems