[DRBD-user] minor problem with drbd script for redhat cluster suite

Lars Ellenberg lars.ellenberg at linbit.com
Thu Jan 20 20:22:55 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Thu, Jan 20, 2011 at 12:28:04PM -0500, Chris Hunter wrote:
> 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.

Thanks.
Known and fixed:
http://git.drbd.org/?p=drbd-8.3.git;a=commitdiff;h=491a13156fa503907b6e7aec6344ddad7468ca64

But supposed to be harmless, anyways.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list