Hi all,

I still have the same problem. Meantime I tried following:

I removed old config and created new /var/lib/heartbeat/crm/cib.xml. I
pasted config from
http://www.linux-ha.org/GettingStartedV2/OneIPAddress
only changed IP address.

With this configuration both nodes restarts soon after heartbeat start.

Am I missing some step in my configuration ?

Dusan

On Wed, Feb 4, 2009 at 2:42 PM, Dusan Djordjevic
<[email protected]> wrote:
> Hi all,
>
> I installed 2 Ubuntu 8.04 servers on VMWare ESX and trying to run
> heartbeat between them. I want to have one simple shared resource, IP
> address.
> Heartbeat is installed from Ubuntu repos (apt-get install heartbeat)
>
> I configured it following web docs. Here are my config (identical on
> both nodes):
>
> /etc/ha.d/authkeys
> auth 1
> 1 sha1 This is Troxo cluster
>
> /etc/ha.d/
> bcast eth0
> node ucplb ucplb-second-node
> use_logd on
> udpport 694
> keepalive 1 # 1 second
> deadtime 10
> initdead 80
> crm yes
> auto_failback no
>
> from haresources.temp:
> ucplb 192.168.21.150/24/eth0
>
> i generated config using
> python /usr/lib/heartbeat/haresources2cib.py /root/haresources.temp
>
> I started both nodes. Here is output of crm_mon
>
> ============
> Last updated: Wed Feb  4 14:39:07 2009
> Current DC: ucplb-second-node (0f4aee92-fab4-4975-ae9a-020ecd007af8)
> 2 Nodes configured.
> 1 Resources configured.
> ============
>
> Node: ucplb-second-node (0f4aee92-fab4-4975-ae9a-020ecd007af8): online
> Node: ucplb (43264e73-cdf1-47fc-9120-d12e6350362e): online
>
>
> Failed actions:
>    IPaddr_192_168_21_150_start_0 (node=ucplb-second-node, call=3, rc=1): Error
>    IPaddr_192_168_21_150_start_0 (node=ucplb, call=3, rc=1): Error
>
> And last few lines of log file:
>
> Feb  4 14:03:23 ucplb lrmd: [4231]: info: RA output:
> (IPaddr_192_168_21_150:start:stderr)  /usr/lib/heartbeat/findif
> version 2.1.3 Copyright Alan Robertson  Usage:
> /usr/lib/heartbeat/findif [-C] Options:     -C: Output netmask as the
> number of bits rather than as 4 octets. Environment variables:
> OCF_RESKEY_ip^I^I ip address (mandatory!) OCF_RESKEY_cidr_netmask
> netmask of interface OCF_RESKEY_broadcast^I broadcast address for
> interface OCF_RESKEY_nic^I^I interface to assign to
> Feb  4 14:03:23 ucplb IPaddr[4264]: [4291]: ERROR:
> /usr/lib/heartbeat/findif failed [rc=1].
> Feb  4 14:03:23 ucplb crmd: [4234]: ERROR: process_lrm_event: LRM
> operation IPaddr_192_168_21_150_start_0 (call=3, rc=1) Error unknown
> error
> Feb  4 14:03:25 ucplb crmd: [4234]: info: do_lrm_rsc_op: Performing
> op=IPaddr_192_168_21_150_stop_0
> key=1:2:36ffc11e-c80d-4d3a-8960-4b83df495526)
> Feb  4 14:03:25 ucplb lrmd: [4231]: info: rsc:IPaddr_192_168_21_150: stop
> Feb  4 14:03:25 ucplb lrmd: [4231]: info: RA output:
> (IPaddr_192_168_21_150:stop:stdout) In IP Stop
> Feb  4 14:03:25 ucplb crmd: [4234]: info: process_lrm_event: LRM
> operation IPaddr_192_168_21_150_stop_0 (call=4, rc=0) complete
> Feb  4 14:11:55 ucplb cib: [4230]: info: cib_stats: Processed 45
> operations (666.00us average, 0% utilization) in the last 10min
> Feb  4 14:21:55 ucplb cib: [4230]: info: cib_stats: Processed 2
> operations (5000.00us average, 0% utilization) in the last 10min
>
> Problem is with IP address, but I do not have an idea how to fix it.
>
> Any ideas ? TIA
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to