Hi,

On Fri, Aug 14, 2009 at 11:35:13AM +0530, prakash hallalli wrote:
> Hello all,
> 
>  I have configured Heartbeat in openfiler-2.3 system, I can run heartbeat

openfiler? Is that based on Linux? I can't recall anybody trying
to run heartbeat on such a thing.

> successfully in R1 style configuration, but if i run in *crm* mode the
> heartbeat server all resources will go to stop state.
> 
> Using these command i have created resources and added to the cim.xml file.
> 
> [r...@gtt4 ~]#* /usr/lib64/heartbeat/haresources2cib.py --stdout -c
> /etc/ha.d/ha.cf  /etc/ha.d/haresources > /tmp/cib.xml*
> 
> [r...@gtt4 ~]# *cibadmin -U -x /tmp/cib.xml *

The conversion script unfortunately has a bug when converting
some IPaddr resources. You'll have to take a look at the cib.xml
and fix the value for the nic parameter (or sth like that, it's
obvious when you look at the configuration).

> *heartbeat *Version 2.1.3

Better to go with v2.1.4 at least. Or Pacemaker v1.0.

[snip]

>  Resource Group: group_1
> 
> MailTo_1 (heartbeat::ocf:MailTo): Started gtt4.linux.com
> 
> IPaddr_192_168_2_20 (heartbeat::ocf:IPaddr): Stopped
> 
> drbddisk_3 (heartbeat:drbddisk): Stopped
> 
> LVM_4 (heartbeat::ocf:LVM): Stopped
> 
> Filesystem_5 (heartbeat::ocf:Filesystem): Stopped
> 
> MakeMounts_6 (heartbeat:MakeMounts): Stopped
> 
> Filesystem_7 (heartbeat::ocf:Filesystem): Stopped
> 
> Filesystem_8 (heartbeat::ocf:Filesystem): Stopped
> 
> httpd_9 (lsb:httpd): Stopped
> 
> proftpd_10 (lsb:proftpd): Stopped
> 
> nfs_11 (lsb:nfs): Stopped
> 
> smb_12 (lsb:smb): Stopped
> 
> acpid_13 (lsb:acpid): Stopped
> 
> openfiler_14 (lsb:openfiler): Stopped

Are you sure you want to have _all_ resources in a single group?

> IPaddr_192_168_2_20_start_0 (node=gtt4.linux.com, call=19, rc=1): Error
> 
> IPaddr_192_168_2_20_start_0 (node=gtt5.linux.com, call=19, rc=1): Error

You have to fix this (and probably other) IPaddr resources. Also,
look for the string "lrmd" to see output from resource agents:
there are some errors in the log you quoted below. But first you
have to fix the IPaddr resources.

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