<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Drbd resource return 20 (unspecified)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">We use redhat cluster + drbd architecture. Oracle use resource res_drbd_oracle</FONT>
<BR><FONT SIZE=2 FACE="Arial">The drbd version is 8.3.2 cluster version 2.0.46</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">We get the below error:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Nov 4 11:43:49 clnode1 xinetd[4432]: EXIT: http status=0 pid=12414 duration=0(sec)</FONT>
<BR><FONT SIZE=2 FACE="Arial">Nov 6 15:25:30 clnode1 clurgmgrd[4691]: <notice> status on drbd "res_drbd_oracle" returned 20 (unspecified) </FONT>
<BR><FONT SIZE=2 FACE="Arial">Nov 6 15:25:30 clnode1 clurgmgrd[4691]: <notice> Stopping service service:Oracle </FONT>
<BR><FONT SIZE=2 FACE="Arial">Nov 6 15:25:47 clnode1 kernel: block drbd0: role( Primary -> Secondary ) </FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">The redhat cluster call the function drbd_status in drbd.sh to moniter status, which is from drbd</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">drbd_status() {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> role=$(drbdadm role $OCF_RESKEY_resource)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> case $role in</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Primary/*)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> return $OCF_RUNNING</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ;;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Secondary/*)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> return $OCF_NOT_RUNNING</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ;;</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> esac</FONT>
<BR><FONT SIZE=2 FACE="Arial"> return $OCF_ERR_GENERIC</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">This problem happened two times and lead oracle service restarted.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Appricated you help us to understand what's the error 20 meaning? How could it happen?</FONT>
</P>
<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<drbd.sh>> </FONT><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<drbd.conf>> </FONT>
</P>
</BODY>
</HTML>