[DRBD-user] First post regarding drbd

Andreas Kurz andreas.kurz at linbit.com
Thu Sep 10 10:40:46 CEST 2009

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


Bernie Wu wrote:
> Hi Listers,
> I am trying to test Linux-HA with DRBD.
> The active/passive test environment consists of:
> 
> -        zVM 5.4
> 
> -        SLES10-SP2
> 
> -        2 nodes/guests ( lnodbbt & lnodbct )
> 
> -        Oracle 10.2.0.4
> I have managed to setup drbd and to mount the database filesystem on lnodbbt ( active/master ).
> Now I want to bring up Oracle.  I have created a resource ORADB and am using the ocf scripts to start oracle which doesn't work.  However, I can manually run the ocf startup script and oracle comes up.
> My questions follow:
> 
> 1.      Should I be using the LSB startup scripts instead of the ocf script ?

from the log:

oracle[28687][28819]: 2009/09/09_09:03:58 ERROR: Oracle dssd can not mount.

... looks like "startup mount" is not successful.

The ocf script should work fine ... did you explicitly define the "user"
for the oracle resource? If not give it a try.

> 
> 2.      How do I configure drbd so that lnodbbt is the master and lnodbct is the slave ?

Add a location constraint to your cluster config eg:

<rsc_location id="prefer-lnodbbt" rsc="RG_A" node="lnodbbt" score="100"/>


> 
> 3.      Do I have to set up any constraints for the ORADB resource so that it only starts up on the guest that has the /dbms mounted and what would the constraints be ?

No ... you defined a resource group which sets the needed constraints
implicitly.

Regards,
Andreas

> 
> Attached is my /etc/drbd.conf and etc/ha.d/ha.cf and ha-logs from lnodbbt ( the active/master ) guest.
> Any help or pointers would be much appreciated.
> 
> TIA
> Bernie
> 
> ________________________________
> The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. This message may be an attorney-client communication and/or work product and as such is privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


-- 
: Andreas Kurz					
: LINBIT | Your Way to High Availability
: Tel +43-1-8178292-64, Fax +43-1-8178292-82
:
: http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

This e-mail is solely for use by the intended recipient(s). Information
contained in this e-mail and its attachments may be confidential,
privileged or copyrighted. If you are not the intended recipient you are
hereby formally notified that any use, copying, disclosure or
distribution of the contents of this e-mail, in whole or in part, is
prohibited. Also please notify immediately the sender by return e-mail
and delete this e-mail from your system. Thank you for your co-operation.



More information about the drbd-user mailing list