OCF resource agents should be able to run meta-data, monitor, and
stop even when there is no required software installed:
- meta-data should run ok
- monitor should return 7 (resource stopped)
- stop should return 0 (success)
Can you please fix that?
I think this also needs fixing in the pgsql RA. Because *every* time it
is run, it calls:
pgsql_validate_all() {
check_binary $SH
check_binary $OCF_RESKEY_pgctl
check_binary $OCF_RESKEY_psql
return $OCF_SUCCESS
}
if ! pgsql_validate_all
then
exit $OCF_ERR_CONFIGURED
fi
This is a problem
a) if Postgres is not installed
b) if Postgres is installed on a shared disc, which is not mounted yet
(e.g. in a group configuration)
Regards
Dominik
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/