Hi,
I got this error :
1301591983 2011 Mar 31 19:19:43 berlin5 daemon err crm_resource [36968]: 
ERROR: native_add_running: Resource 
stonith::fence_ipmilan:restofenceberlin4 appears to be active on 2 nodes.
1301591983 2011 Mar 31 19:19:43 berlin5 daemon warning crm_resource 
[36968]: WARN: See 
http://clusterlabs.org/wiki/FAQ#Resource_is_Too_Active for more information
I check on this URL, and there are two listed potential causes :
1. the resource is started at boot time : this is for sure not the case.
2. the monitor op in fence_ipmilan could be implemented not correctly ?
       Is a stonith resource to be mandatorilly an OCF script ?

I check the fence_ipmilan source :
 else if (!strcasecmp(op, "status") || !strcasecmp(op, "monitor")) {
                printf("Getting status of IPMI:%s...",ip);
                fflush(stdout);
                ret = ipmi_op(i, ST_STATUS, power_status);
                switch(ret) {
                case STATE_ON:
                  if (!strcasecmp(op, "status"))
                            printf("Chassis power = On\n");
                        translated_ret = ERR_STATUS_ON;
                        ret = 0;
                        break;
                case STATE_OFF:
                  if (!strcasecmp(op, "status"))
                            printf("Chassis power = Off\n");
                        translated_ret = ERR_STATUS_OFF;
                        ret = 0;
                        break;
                default:
                  if (!strcasecmp(op, "status"))
                            printf("Chassis power = Unknown\n");
                        translated_ret = ERR_STATUS_FAIL;
                        ret = 1;
                        break;
                }

Any idea about where could be potentially the problem ?

(knowing that I think that fence_ipmilan is NOT an OCF script, but a stonith
script delivered by RH as fence_agents)

Thanks a lot
Alain
_______________________________________________
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