[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from
Andrew Beekhof (GMail)
beekhof at gmail.com
Wed Feb 23 06:57:03 MST 2005
On Feb 23, 2005, at 2:49 PM, Alan Robertson wrote:
> linux-ha-cvs at lists.linux-ha.org wrote:
>> linux-ha CVS committal
>> Author : andrew
>> Host : Project : linux-ha
>> Module : crm
>> Dir : linux-ha/crm/crmd
>> Modified Files:
>> control.c fsa_defines.h Log Message:
>> If we're in recovery mode, we should leave it up to Heartbeat to
>> decide if we should be respawned.
>> ===================================================================
>> RCS file: /home/cvs/linux-ha/linux-ha/crm/crmd/control.c,v
>> retrieving revision 1.66
>> retrieving revision 1.67
>> diff -u -3 -r1.66 -r1.67
>> --- control.c 21 Feb 2005 09:55:27 -0000 1.66
>> +++ control.c 23 Feb 2005 12:22:46 -0000 1.67
>> @@ -174,7 +174,11 @@
>> fsa_action2string(action));
>> }
>> - if(is_set(fsa_input_register, R_STAYDOWN)) {
>> + if(is_set(fsa_input_register, R_IN_RECOVERY)) {
>> + crm_info("Could not recover from internal error");
>> + exit_code = 2;
>> +
>> + } else if(is_set(fsa_input_register, R_STAYDOWN)) {
>> crm_info("Inhibiting respawn by Heartbeat");
>> exit_code = 100;
>
>
> If we killed you, you won't be respawned anyway...
Right. Here I'm differentiating between we shutdown because we wanted
to vs. we shutdown because we're all messed up.
btw. with 4 nodes: 2005/02/23_14:31:49 Overall Results:{'failure':
0, 'success': 50, 'BadNews': 59}
thats over 200 cluster transitions
>
>
> --
> Alan Robertson <alanr at unix.sh>
>
> "Openness is the foundation and preservative of friendship... Let me
> claim from you at all times your undisguised opinions." - William
> Wilberforce
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
>
--
Andrew Beekhof
"Would the last person to leave please turn out the enlightenment?" -
TISM
More information about the Linux-HA-Dev
mailing list