DRBD on SLES11 SP2

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.

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]

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

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.

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