Hi,

On Thu, Apr 23, 2009 at 01:31:08PM +0200, elziege7 wrote:
> > What version of heartbeat? Still 2.1.3?
> 
> OK I did the upgrade to 2.1.4, but it is still not working with the
> CRM configuration.
> 
> My ha.cf:
> 
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> logfacility     syslog
> keepalive 1
> deadtime 5
> warntime 2
> initdead 60
> udpport 694
> ucast eth0 xx.xx.169.9
> ucast eth0 xx.xx.169.10
> ucast eth1 10.2.179.145
> ucast eth1 10.2.179.146
> auto_failback on
> watchdog /dev/watchdog
> node    mail1
> node    mail2
> ping xx.xx.169.14
> respawn hacluster /usr/lib/heartbeat/ipfail

ipfail works only with v1. For v2 use pingd.

> crm yes
> 
> 
> My haresources (which works fine):
> 
> mail1 IPaddr::xx.xx.169.11/29/eth0/xx.xx.169.15 drbddisk::ha
> Filesystem::/dev/drbd0::/synchronized::ext3::defaults dovecot postfix
> mysql
> 
> I converted the haresources with python
> /usr/lib/heartbeat/haresources2cib.py and restarted heartbeat on both
> nodes.
>
> lrmd[4265]: 2009/04/23_13:13:39 info: rsc:IPaddr_xx_xx_169_11: start
> lrmd[4265]: 2009/04/23_13:13:39 info: RA output:
> (IPaddr_xx_xx_169_11:start:stderr) Invalid netmask specification
> [eth0]
> lrmd[4265]: 2009/04/23_13:13:39 info: RA output:
> (IPaddr_xx_xx_169_11:start:stderr)
> /usr/lib/heartbeat/findif version 2.1.4 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          ip address (mandatory!)
> OCF_RESKEY_cidr_netmask netmask of interface
> OCF_RESKEY_broadcast   broadcast address for interface
> OCF_RESKEY_nic                 interface to assign to
> 
> IPaddr[4349]: 2009/04/23_13:13:39 ERROR: /usr/lib/heartbeat/findif
> failed [rc=1].

Due to a bug, the IPaddr resource is not converted properly
(parameters are mixed). You'll have to edit the CIB and fix them.
Use cibadmin.

Thanks,

Dejan
_______________________________________________
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