Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

DRBD-8.4

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


willi.fehler at t-online

May 20, 2012, 5:54 AM

Post #1 of 4 (784 views)
Permalink
DRBD-8.4

Hi all,

I would like to upgrade my cluster to DRBD-8.4.1. Currently my cluster
is using DRBD-8.3.12 on CentOS-6.2.
I've already read the Linbit Guide for upgrading DRBD
http://www.drbd.org/users-guide/s-upgrading-drbd.html.

I'm using DRBD packages from the ELRepo repository.

#
kmod-drbd83-8.3.12-2.el6.elrepo.x86_64
drbd83-utils-8.3.12-1.el6.elrepo.x86_64

#
/etc/drbd.conf


# You can find an example in /usr/share/doc/drbd.../drbd.conf.example

include "drbd.d/global_common.conf";
include "drbd.d/*.res";

resource r0 {
on server1.local {
address 10.10.10.1:7788;
device /dev/drbd0;
disk /dev/vg00/lv02;
meta-disk internal;
}
on server2.local {
address 10.10.10.2:7788;
device /dev/drbd0;
disk /dev/vg00/lv02;
meta-disk internal;
}
}

resource r1 {
on server1.local {
address 10.10.10.1:7789;
device /dev/drbd1;
disk /dev/vg00/lv03;
meta-disk internal;
}
on server2.local {
address 10.10.10.2:7789;
device /dev/drbd1;
disk /dev/vg00/lv03;
meta-disk internal;
}
}


#
/etc/drbd.d/global_common.conf


global {
usage-count yes;
# minor-count dialog-refresh disable-ip-verification
}

common {
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";
fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
split-brain "/usr/lib/drbd/notify-split-brain.sh root";
# out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
# before-resync-target
"/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
# after-resync-target
/usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";

}

startup {
# wfc-timeout degr-wfc-timeout outdated-wfc-timeout
wait-after-sb
# wfc-timeout 0;
# degr-wfc-timeout 120;
}

disk {
# on-io-error fencing use-bmbv no-disk-barrier
no-disk-flushes
# no-disk-drain no-md-flushes max-bio-bvecs
on-io-error detach;
no-disk-flushes;
no-md-flushes;
no-disk-barrier;
fencing resource-only;
}

net {
# sndbuf-size rcvbuf-size timeout connect-int ping-int
ping-timeout max-buffers
# max-epoch-size ko-count allow-two-primaries
cram-hmac-alg shared-secret
# after-sb-0pri after-sb-1pri after-sb-2pri
data-integrity-alg no-tcp-cork
max-buffers 8000;
max-epoch-size 8000;
unplug-watermark 128;
sndbuf-size 0;
rcvbuf-size 0;
ko-count 6;
}

syncer {
# rate after al-extents use-rle cpu-mask verify-alg
csums-alg
rate 30M;
c-plan-ahead 10;
c-fill-target 4M;
c-max-rate 70M;
c-min-rate 4M;
al-extents 1009;
}
}

The ELRepo repository is proving DRBD packages for 8.4. Can I just
uninstall DRBD on the secondary node, than install DRBD-8.4 and than do
a failover and upgrade the primary node? Will my configuration work?
(/etc/drbd.conf, /etc/drbd.d/global_common.conf)

===================================================== N/S Matched: drbd
======================================================
drbd83-utils.x86_64 : Management utilities for DRBD %{version}
drbd84-utils.x86_64 : Management utilities for DRBD
drbdlinks.noarch : A program for managing links into a DRBD shared partition
kmod-drbd83.x86_64 : drbd83 kernel module(s)
kmod-drbd84.x86_64 : drbd84 kernel module(s)

Thank you so much & Regards - Willi




_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dmaziuk at bmrb

May 20, 2012, 9:16 AM

Post #2 of 4 (748 views)
Permalink
Re: DRBD-8.4 [In reply to]

On 5/20/2012 7:54 AM, Willi Fehler wrote:
> Hi all,
>
> I would like to upgrade my cluster to DRBD-8.4.1. Currently my cluster
> is using DRBD-8.3.12 on CentOS-6.2.

FWIW I've been using 8.4.0 from ATrpms for a while now without problems.
Never tried upgrading a live cluster from 8.3 to 8.4, though.

> I'm using DRBD packages from the ELRepo repository.

Does their kernel module package work across kernel updates?

What I find extremely annoying is that atrpm's packagea are named (e.g.)
drbd-kmdl-2.6.32-220.17.1.el6.centosplus.x86_64 -- i.e. kernel arch,
version, and repo are all part of the package *name*. You have to
remember to yum install new drbd-kmdl every time centos releases a
kernel update. Sometimes atrpms take a few days to build it, and
sometimes they never do (happend with some centosplus kernels).

It's annoying enough to bite the bullet & "upgrade" to elrepo packages
-- provided they built their kernel module properly and it doesn't
require a reinstall every damn time.

Dima
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


florian at hastexo

May 21, 2012, 3:57 AM

Post #3 of 4 (742 views)
Permalink
Re: DRBD-8.4 [In reply to]

On Sun, May 20, 2012 at 2:54 PM, Willi Fehler <willi.fehler [at] t-online> wrote:
> Hi all,
>
> I would like to upgrade my cluster to DRBD-8.4.1. Currently my cluster
> is using DRBD-8.3.12 on CentOS-6.2.

Why? In other words, what features unique to 8.4.x (and unavailable in
8.3) are you planning to use?

Cheers,
Florian

--
Need help with High Availability?
http://www.hastexo.com/now
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


willi.fehler at t-online

May 23, 2012, 1:50 AM

Post #4 of 4 (728 views)
Permalink
Re: DRBD-8.4 [In reply to]

Hi Florian,

there is no feature in DRBD-8.4.x which is unique for us, but I
thought it it useful to use the latest versions because Linbit will
provide updates for DRBD-8.3.x till December 2012.

Regards - Willi

Von: Florian Haas <florian [at] hastexo>
An: General Linux-HA mailing list <linux-ha [at] lists>
Betreff: Re: [Linux-HA] DRBD-8.4
Datum: Mon, 21 May 2012 12:57:39 +0200

On Sun, May 20, 2012 at 2:54 PM, Willi Fehler
<willi.fehler [at] t-online [1]> wrote:
> Hi all,
>
> I would like to upgrade my cluster to DRBD-8.4.1. Currently my
cluster
> is using DRBD-8.3.12 on CentOS-6.2.

Why? In other words, what features unique to 8.4.x (and unavailable
in
8.3) are you planning to use?

Cheers,
Florian

--
Need help with High Availability?
http://www.hastexo.com/now [2]
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists [3]
http://lists.linux-ha.org/mailman/listinfo/linux-ha [4]
See also: http://linux-ha.org/ReportingProblems [5]

Links:
------
[1] javascript:void(0)
[2] ?ctl=dereferer&amp;to=aHR0cDovL3d3dy5oYXN0ZXhvLmNvbS9ub3c%3D
[3] javascript:void(0)
[4]
?ctl=dereferer&amp;to=aHR0cDovL2xpc3RzLmxpbnV4LWhhLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4LWhh
[5]
?ctl=dereferer&amp;to=aHR0cDovL2xpbnV4LWhhLm9yZy9SZXBvcnRpbmdQcm9ibGVtcw%3D%3D
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.