On Fri, Nov 30, 2007 at 11:16:50AM +0100, China wrote: > Sorry for the forgetfulness, my HA version is 2.1.2 on both Mac. > > Moreover I've executed a BasicanityCheck on both Mac. On Mac Intel (test) > the check ended with no errors, instead on Mac PPc (test-ppc) the check > output this: > ---- > Using interface: eth0 > Starting base64 and md5 algorithm tests > base64 and md5 algorithm tests succeeded. > Starting Resource Agent tests > Testing RA: Dummy > Testing RA: IPaddr > Testing RA: IPaddr2 > Testing RA: Filesystem > RA tests PASSED > Starting IPC tests > Starting heartbeat > Starting High-Availability services: > 2007/11/30_10:22:34 INFO: Resource is stopped > [ OK ] > Reloading heartbeat > Reloading heartbeat > Stopping heartbeat > Stopping High-Availability services: > [ OK ] > Checking STONITH basic sanity. > Performing apphbd success case tests > Performing apphbd failure case tests > Starting LRM tests > Starting heartbeat > Starting High-Availability services: > 2007/11/30_10:23:44 INFO: Resource is stopped > [ OK ] > starting STONITH Daemon tests > STONITH Daemon tests passed. > Stopping heartbeat > Stopping High-Availability services: > [ OK ] > Starting CRM tests > CRM tests failed (rc=2). > lrmd[4561]: 2007/11/30_10:29:50 info: RA output: > (bsc-rsc-test-ppc-1:start:stdout) ERROR: eval ifconfig lo:0 127.0.0.11netmask > 0.0.0.255 broadcast 255.255.255.11 failed (rc=1)
Looks like a problem with the IPaddr resource agent. Those netmask and broadcast addresses look very wrong. Can you add -x at the top line (#!/bin/sh -x) in /usr/lib/ocf/resource.d/heartbeat/IPaddr, rerun, and post results. Thanks, Dejan > IPaddr[4608]: 2007/11/30_10:29:50 ERROR: Could not add 127.0.0.11 to lo: 1 > crmd[4564]: 2007/11/30_10:29:50 ERROR: process_lrm_event: LRM operation > bsc-rsc-test-ppc-1_start_0 (call=3, rc=1) Error unknown error > Nov 30 10:34:51 test-ppc CTS: BadNews: lrmd[4561]: 2007/11/30_10:29:50 info: > RA output: (bsc-rsc-test-ppc-1:start:stdout) ERROR: eval ifconfig lo:0 > 127.0.0.11 netmask 0.0.0.255 broadcast 255.255.255.11 failed (rc=1) > Nov 30 10:34:51 test-ppc CTS: BadNews: IPaddr[4608]: 2007/11/30_10:29:50 > ERROR: Could not add 127.0.0.11 to lo: 1 > Nov 30 10:34:51 test-ppc CTS: BadNews: crmd[4564]: 2007/11/30_10:29:50 > ERROR: process_lrm_event: LRM operation bsc-rsc-test-ppc-1_start_0 (call=3, > rc=1) Error unknown error > lrmd[4561]: 2007/11/30_10:34:53 info: RA output: > (bsc-rsc-test-ppc-2:start:stdout) ERROR: eval ifconfig lo:0 127.0.0.12netmask > 0.0.0.255 broadcast 255.255.255.12 failed (rc=1) > IPaddr[4746]: 2007/11/30_10:34:53 ERROR: Could not add 127.0.0.12 to lo: 1 > crmd[4564]: 2007/11/30_10:34:53 ERROR: process_lrm_event: LRM operation > bsc-rsc-test-ppc-2_start_0 (call=6, rc=1) Error unknown error > Nov 30 10:39:53 test-ppc CTS: BadNews: lrmd[4561]: 2007/11/30_10:34:53 info: > RA output: (bsc-rsc-test-ppc-2:start:stdout) ERROR: eval ifconfig lo:0 > 127.0.0.12 netmask 0.0.0.255 broadcast 255.255.255.12 failed (rc=1) > Nov 30 10:39:53 test-ppc CTS: BadNews: IPaddr[4746]: 2007/11/30_10:34:53 > ERROR: Could not add 127.0.0.12 to lo: 1 > Nov 30 10:39:53 test-ppc CTS: BadNews: crmd[4564]: 2007/11/30_10:34:53 > ERROR: process_lrm_event: LRM operation bsc-rsc-test-ppc-2_start_0 (call=6, > rc=1) Error unknown error > OOPS! Looks like we had some errors come up. > 2 errors. Log file is stored in /tmp/linux-ha.testlog > --- > > On Nov 30, 2007 11:05 AM, China <[EMAIL PROTECTED]> wrote: > > > Hi, I've a problem with a new Linux-HA installation. > > I've a test environment with a hub and 2 Mini Mac (1 ppc and 1 intel) with > > a new installation Fedora core 7. > > HA is installed in both Mac using source package (tgz) through > > "ConfigureMe rpm; rpm -i" > > > > Each Mac has two eth interfaces: > > eth0 "export" services and is connected with the hub > > eth1 is for heartbeat messages and is connected with the eth1 of the other > > node > > > > The configuration files are: > > > > HARESOURCES > > test-ppc 192.168.122.8/24 httpd > > > > CIB.XML > > deriving from haresources > > > > HA.CF > > bcast eth1 > > node test-ppc test > > respawn root /rnd/apps/components/heartbeat/lib/heartbeat/pingd -m 100 -d > > 5s > > ping_group test 192.168.122.100 > > crm yes > > > > AUTHKEYS > > auth 3 > > 1 crc > > 2 md5 mypwd > > 3 sha1 mypwd > > > > When I start the cluster I've a lot of this messages in test log file: > > WARN: string2msg_ll: node [test-ppc] failed authentication > > > > and a lot of this messages in test-ppc log file: > > WARN: string2msg_ll: node [test] failed authentication > > > > I've tried with ucast, but the result is the same. > > Instead with crc and md5 all is OK. So I think it is a problem related > > sha. > > > > How can I resolve this? > > Thanks in advance. > > > > -- > > > > Davide Belloni > > > > > -- > > Davide Belloni > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
