# DRBD on SLES11 SP2

**URL:** <https://forums.suse.com/t/drbd-on-sles11-sp2/24536>\
**Category:** SLED Configure-Administer\
**Created:** [September 24, 2013, 9:33am UTC](https://forums.suse.com/t/drbd-on-sles11-sp2/24536 "2013-09-24T09:33:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zabidin2](https://avatars.discourse-cdn.com/v4/letter/z/a183cd/32.png) [@zabidin2](https://forums.suse.com/u/zabidin2)\
**Post date:** [September 24, 2013, 9:33am UTC](https://forums.suse.com/t/drbd-on-sles11-sp2/24536/1 "2013-09-24T09:33:32Z")

</div>

Hi,

I want to ask who expert with suse here. Currently i have 2 environment, fail over and production. Production use SLES 11SP1 but fail over use SLES11SP2.

Both have application run on apache and database using mysql.

I want to replicate on block level but seem SP2 don’t have it. Any idea where i get with complete tutorial?

Thanks.

---

<div class="post-metadata">

**Author:** ![zabidin2](https://avatars.discourse-cdn.com/v4/letter/z/a183cd/32.png) [@zabidin2](https://forums.suse.com/u/zabidin2)\
**Post date:** [September 24, 2013, 9:48am UTC](https://forums.suse.com/t/drbd-on-sles11-sp2/24536/2 "2013-09-24T09:48:37Z")

</div>

Keep getting this error:

[code]drc-db:/usr/local/drbd-8.3.11/etc/drbd.d # cat repdata.res  
global {  
usage-count no;  
}

common {  
syncer { rate 1M; }  
}

resource data0 {  
protocol C;

handlers {  
pri-on-incon-degr “/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b \> /proc/sysrq-trigger ; reboot -f”;  
pri-lost-after-sb “/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b \> /proc/sysrq-trigger ; reboot -f”;  
local-io-error “/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o \> /proc/sysrq-trigger ; halt -f”;  
}

startup {  
degr-wfc-timeout 120; # 2 minutes.  
}

disk {  
on-io-error detach;  
}

net {  
after-sb-0pri disconnect;  
after-sb-1pri disconnect;  
after-sb-2pri disconnect;  
rr-conflict disconnect;  
}

syncer {  
rate 1M;  
al-extents 257;  
}

on drc-db {  
device /dev/drbd8;  
disk /dev/VolGroup01/Lvtemp;  
address 192.168.1.102:7788;  
flexible-meta-disk internal;  
}

on drc-apps1 {  
device /dev/drbd8;  
disk /dev/VolGroup01/Lvtemp;  
address 192.168.1.101:7788;  
flexible-meta-disk internal;  
}  
}  
drc-db:/usr/local/drbd-8.3.11/etc/drbd.d # drbdadm create-md data0  
no resources defined!  
drc-db:/usr/local/drbd-8.3.11/etc/drbd.d #  
[/code]

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [September 24, 2013, 1:20pm UTC](https://forums.suse.com/t/drbd-on-sles11-sp2/24536/3 "2013-09-24T13:20:06Z")

</div>

On 24/09/2013 07:34, zabidin2 wrote:  
[color=blue]

> I want to ask who expert with suse here. Currently i have 2 environment,  
> fail over and production. Production use SLES 11SP1 but fail over use  
> SLES11SP2.
> 
> Both have application run on apache and database using mysql.
> 
> I want to replicate on block level but seem SP2 don’t have it. Any idea  
> where i get with complete tutorial?[/color]

Note that you have posted your issue in a forum for SUSE’s Desktop  
product. Since DRBD is provided as part of the High Availability  
Extension (HAE) for SLES I suggest that you repost your issue in SUSE’s  
SLES HAE forum @  
[https://forums.suse.com/forumdisplay.php?37-SLES-High-Availability-Extension](https://forums.suse.com/forumdisplay.php?37-SLES-High-Availability-Extension)

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [September 25, 2013, 7:59pm UTC](https://forums.suse.com/t/drbd-on-sles11-sp2/24536/4 "2013-09-25T19:59:23Z")

</div>

Hi zabadin2,

in addition to Simon’s comment about using a SLES forum, it catches the eye that you have both /usr/… and /usr/local/… pathes in your quote. Could you please indicate what software you’re actually running (HAE or not, possibly you own packages on top) and check that the commands invoked look for the configuration in those places you actually put them? Is the drbdadm binary the one you’re really after?

Regards,  
Jens
