Hi,

On Thu, Sep 27, 2007 at 03:19:03PM +0500, [EMAIL PROTECTED] wrote:
> Hi all,
> 
> I am a newbie in heartbeat. My heartbeat and OS are :
> Heartbeat-2.1.2 , Debian etch
> 
> I have generated 'cib.xml' file from the 'haresources' file have the content
> __________________________________________________________
> hacluster 10.1.1.199 mon apache2 drbdlinks postgresql-8.1
> __________________________________________________________
> 
> 
> my ha.cf looks like as
> _______________________________________________
> logfacility daemon         # Log to syslog as facility "daemon"
> logfile /var/log/ha-log
> node HA-Linux iksws115            # List our cluster members
> keepalive 1                # Send one heartbeat each second
> deadtime 10                # Declare nodes dead after 10 seconds
> bcast eth1            # Broadcast heartbeats on eth0 and eth1 interfaces
> ping 10.1.1.101             # Ping our router to monitor ethernet
> connectivity
> auto_failback no           # Don't fail back to paul automatically
> compression     bz2
> compression_threshold 2
> crm yes
> ____________________________________________
> 
> 
> 
> when I start heartbeat with no error it starts
> 
> but when I run "crm_mon -i5" I see the following output
> 
> ________________________________________________________________
> Refresh in 2s...
> 
> ============
> Last updated: Thu Sep 27 06:15:49 2007
> Current DC: ha-linux (55896269-c4a5-4992-abdf-19fb0bc16b36)
> 2 Nodes configured.
> 1 Resources configured.
> ============
> 
> 
> Node: ha-linux (55896269-c4a5-4992-abdf-19fb0bc16b36): online
> Node: iksws115 (34097616-7ef8-4b9e-b8ee-8451d9942f88): online
> 
> Resource Group: group_1
>     IPaddr_10_1_1_199   (heartbeat::ocf:IPaddr):        Started ha-linux
>     mon_2       (heartbeat:mon):        Started ha-linux FAILED
>     apache2_3   (heartbeat:apache2):    Started ha-linux FAILED
>     drbdlinks_4 (heartbeat:drbdlinks):  Started ha-linux
>     postgresql-8.1_5    (heartbeat:postgresql-8.1):     Started ha-linux
> FAILED
> 
> Failed actions:
>     mon_2_monitor_120000 (node=ha-linux, call=39, rc=7): complete
>     apache2_3_monitor_120000 (node=ha-linux, call=41, rc=7): complete
>     postgresql-8.1_5_monitor_120000 (node=ha-linux, call=45, rc=7): complete

Do you have these three resource agents? You didn't attach your
cib.xml, but those are probably in LSB, i.e. in /etc/init.d.
What is mon for? Do you really need that? Otherwise, before we
get into ifs and whys those LSB scripts don't work properly, you
should use the Heartbeat supplied OCF agents apache and
pgsql. See also http://linux-ha.org on how to configure resource
agents in the CIB.

Thanks,

Dejan

> _____________________________________________________________________________
> 
> My do't gives me any error but the above output shows error and failed
> action , I could not figure out it. What I am missing in above
> configuration .
> Please help
> 
> Regard
> Ali Muhammad
> 
> 
> 
> 
> 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> 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

Reply via email to