Hi!

I wanted to report that the initial probe of ocf_heartbeat:Xinetd reports a 
"down" status when actually the sresource is "up" (resource-agents-1.0.3-0.10.1 
of SLES11 SP1):

When the service file contains "disable = no", the status is reported as 
"down". This is bacasue the status is partially determined on the string 
"disable" anywhere is the service file, and partially the status is determined 
depending on the existence of some "PIDFILE" (which isn't actually a PIDFILE):

xup_status () {
        if [ -f $PIDFILE ]; then
                echo running
                return $OCF_SUCCESS
        else
                echo stopped
                return $OCF_NOT_RUNNING
        fi
}

In some way this RA works, but it's far from being perfect. If in doubt, just 
call your xinetd service "disabler" ;-)

Regards,
Ulrich



_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to