hi, all
i write an email cause i have faced to this problem.
i have tried to monitor the status of ldirectord and 'crm_mon'
displayed the result as below

==================================================================
Defaulting to one-shot mode
You need to have curses available at compile time to enable console mode


============
Last updated: Tue Jun 10 09:18:03 2008
Current DC: ldirector2 (47fd51e3-4481-4d57-b7b9-4855c47cd245)
2 Nodes configured.
1 Resources configured.
============

Node: ldirector2 (47fd51e3-4481-4d57-b7b9-4855c47cd245): online
Node: ldirector1 (8784333e-38c6-4b0b-940c-b882635364ae): online

Resource Group: group_1
    IPaddr_100_100_1_100        (heartbeat::ocf:IPaddr):
Started ldirector1
    ldirectord_2        (heartbeat:ldirectord): Stopped
==================================================================

i'm wondering why does ldirectord repeat "Started" and "Stopped"
(sometimes, it displays "FAILED" when i execute "crm_mon")
i upload the contents of my log as below

==================================================================
lrmd[10927]: 2008/06/10_09:23:38 WARN: There is something wrong: the
first line isn't read in. Maybe the heartbeat does not ouput string
correctly for status operation. Or the code (myself) is wrong.
crmd[10930]: 2008/06/10_09:23:38 info: process_lrm_event: LRM
operation ldirectord_2_monitor_120000 (call=39238, rc=7) complete
crmd[10930]: 2008/06/10_09:23:39 info: do_lrm_rsc_op: Performing
op=ldirectord_2_stop_0
key=3:7850:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:39 info: rsc:ldirectord_2: stop
crmd[10930]: 2008/06/10_09:23:39 info: process_lrm_event: LRM
operation ldirectord_2_monitor_120000 (call=39238, rc=-2) Cancelled
crmd[10930]: 2008/06/10_09:23:40 info: process_lrm_event: LRM
operation ldirectord_2_stop_0 (call=39239, rc=0) complete
crmd[10930]: 2008/06/10_09:23:40 info: do_lrm_rsc_op: Performing
op=IPaddr_100_100_1_100_start_0
key=9:7850:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:40 info: rsc:IPaddr_100_100_1_100: start
IPaddr[29533]:  2008/06/10_09:23:40 INFO: Using calculated nic for
100.100.1.100: eth0
IPaddr[29533]:  2008/06/10_09:23:40 INFO: Using calculated netmask for
100.100.1.100: 255.255.255.0
crmd[10930]: 2008/06/10_09:23:40 info: process_lrm_event: LRM
operation IPaddr_100_100_1_100_start_0 (call=39240, rc=0) complete
crmd[10930]: 2008/06/10_09:23:42 info: do_lrm_rsc_op: Performing
op=IPaddr_100_100_1_100_monitor_5000
key=1:7850:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
crmd[10930]: 2008/06/10_09:23:42 info: do_lrm_rsc_op: Performing
op=ldirectord_2_start_0
key=10:7850:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:42 info: rsc:ldirectord_2: start
crmd[10930]: 2008/06/10_09:23:42 info: process_lrm_event: LRM
operation IPaddr_100_100_1_100_monitor_5000 (call=39236, rc=-2)
Cancelled
crmd[10930]: 2008/06/10_09:23:42 info: process_lrm_event: LRM
operation IPaddr_100_100_1_100_monitor_5000 (call=39241, rc=0)
complete
crmd[10930]: 2008/06/10_09:23:42 info: process_lrm_event: LRM
operation ldirectord_2_start_0 (call=39242, rc=0) complete
crmd[10930]: 2008/06/10_09:23:44 info: do_lrm_rsc_op: Performing
op=ldirectord_2_monitor_120000
key=2:7850:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:44 info: RA output:
(ldirectord_2:monitor:stderr) ldirectord for /etc/ha.d/ldirectord.cf
is running with pid: 29624

lrmd[10927]: 2008/06/10_09:23:44 WARN: There is something wrong: the
first line isn't read in. Maybe the heartbeat does not ouput string
correctly for status operation. Or the code (myself) is wrong.
crmd[10930]: 2008/06/10_09:23:44 info: process_lrm_event: LRM
operation ldirectord_2_monitor_120000 (call=39243, rc=7) complete
crmd[10930]: 2008/06/10_09:23:45 info: do_lrm_rsc_op: Performing
op=ldirectord_2_stop_0
key=3:7851:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:45 info: rsc:ldirectord_2: stop
crmd[10930]: 2008/06/10_09:23:45 info: process_lrm_event: LRM
operation ldirectord_2_monitor_120000 (call=39243, rc=-2) Cancelled
crmd[10930]: 2008/06/10_09:23:46 info: process_lrm_event: LRM
operation ldirectord_2_stop_0 (call=39244, rc=0) complete
crmd[10930]: 2008/06/10_09:23:46 info: do_lrm_rsc_op: Performing
op=IPaddr_100_100_1_100_start_0
key=9:7851:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:46 info: rsc:IPaddr_100_100_1_100: start
IPaddr[29640]:  2008/06/10_09:23:46 INFO: Using calculated nic for
100.100.1.100: eth0
IPaddr[29640]:  2008/06/10_09:23:46 INFO: Using calculated netmask for
100.100.1.100: 255.255.255.0
crmd[10930]: 2008/06/10_09:23:46 info: process_lrm_event: LRM
operation IPaddr_100_100_1_100_start_0 (call=39245, rc=0) complete
crmd[10930]: 2008/06/10_09:23:48 info: do_lrm_rsc_op: Performing
op=IPaddr_100_100_1_100_monitor_5000
key=1:7851:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
crmd[10930]: 2008/06/10_09:23:48 info: do_lrm_rsc_op: Performing
op=ldirectord_2_start_0
key=10:7851:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:48 info: rsc:ldirectord_2: start
crmd[10930]: 2008/06/10_09:23:48 info: process_lrm_event: LRM
operation IPaddr_100_100_1_100_monitor_5000 (call=39241, rc=-2)
Cancelled
crmd[10930]: 2008/06/10_09:23:48 info: process_lrm_event: LRM
operation IPaddr_100_100_1_100_monitor_5000 (call=39246, rc=0)
complete
crmd[10930]: 2008/06/10_09:23:48 info: process_lrm_event: LRM
operation ldirectord_2_start_0 (call=39247, rc=0) complete
crmd[10930]: 2008/06/10_09:23:49 info: do_lrm_rsc_op: Performing
op=ldirectord_2_monitor_120000
key=2:7851:f8f0f9f0-6f40-4db2-b7fe-cfa33026fa21)
lrmd[10927]: 2008/06/10_09:23:50 info: RA output:
(ldirectord_2:monitor:stderr) ldirectord for /etc/ha.d/ldirectord.cf
is running with pid: 29731
=================================================================================================================
as you can see on this log, my ldirector repeats start and stop continually.
do you think it works well ?
i don't know whether it works well or not
although i saw the contents of my log file, i don't know what fault
causes this problem
please help me to solve this problem
i'll look forward to your reply
thanks.

best regards

brandon.
_______________________________________________
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