Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I am testing drbd 8.3.9 with RHEL 6 "High Availabity" Cluster Suite package. Last few versions of drbd provide the necessary scripts to interface drbd with the Redhat cluster resource manager (rgmanager) software. This is described in Chapter 10 "Integrating DRBD with Red Hat Cluster Suite" of the drbd users's guide. The drbd-supplied script (drbd.sh.rhcs) make us of the opencf exit status codes (eg. $OCF_ERR_GENERIC), defined in the opencf "resource-agent-api" draft standard (http://www.opencf.org/cgi-bin/viewcvs.cgi/*checkout*/specs/ra/resource-agent-api.txt?rev=1.10). One minor issue I ran into. The drbd script returns variable $OCF_RUNNING for the "status" api. This variable is not defined in the opencf draft standard. I believe the correct return variable is $OCF_SUCCESS. The redhat implementation of the opencf standard is defined in the redhat-provided script /usr/share/cluster/ocf-shellfuncs. Regards, Chris Hunter Yale University