From: Lars Marowsky-Bree <lmb@suse.de>
To: Philipp Reisner <philipp.reisner@linbit.com>
Cc: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] Re: [john.cagle@hp.com: FW: device number request for drbd]
Date: Wed, 28 Jul 2004 17:33:14 +0200 [thread overview]
Message-ID: <20040728153314.GW26564@marowsky-bree.de> (raw)
In-Reply-To: <200407281655.18277.philipp.reisner@linbit.com>
On 2004-07-28T16:55:18,
Philipp Reisner <philipp.reisner@linbit.com> said:
> Yes I want to do this. Rolling upgrades are possible.
> I do not think that anybody actually cares about the major number
> or the name of the device node.
Thanks for the 0.6 -> 0.7 upgrade path.
> DRBD upgrade instructions from 0.7.0 to 0.7.1
>
> With drbd-0.7.1 we have our own major number, and our own device
> files. (=No longer misuse /dev/nbX)
>
> * Start on the node, on which all devices are secondary.
> * /etc/init.d/drbd stop
> * Install drbd-0.7.1
> * Run these commands as root:
>
> sed -e "s/\/dev\/nb/\/dev\/drbd/" < /etc/drbd.conf > /etc/drbd.conf_new
> mv /etc/drbd.conf /etc/drbd.conf_old ; mv /etc/drbd.conf_new /etc/drbd.conf
> sed -e "s/\/dev\/nb/\/dev\/drbd/" < /etc/fstab > /etc/fstab_new
> mv /etc/fstab /etc/fstab_old ; mv /etc/fstab_new /etc/fstab
> for ((i=0;i<16;i++)); do mknod /dev/drbd$i b 147 $i; done
>
> * /etc/init.d/drbd start
> * migrate all services to the just upgraded node and
> upgrade the other node.
You need to manually fix the application configuration files up, custom
scripts etc - for example, you forgot heartbeat's haresources, and if
someone is running raw device access to drbd w/ a database...
This is _not_ a change we can push out. The major number _might_ be
changed, but the device path absolutely has to stay stable.
You'll have to allow a transition period where we accept and work with
the old configuration and setups, allow and encourage the sane new way
for new deployments, and eventually "force" the migration in 0.8.x.
0.7.0 -> 0.7.1 must work by just dropping it in place of the old
version, or I'm going to have to patch that.
Sincerely,
Lars Marowsky-Brée <lmb@suse.de>
--
High Availability & Clustering \ ever tried. ever failed. no matter.
SUSE Labs, Research and Development | try again. fail again. fail better.
SUSE LINUX AG - A Novell company \ -- Samuel Beckett
next prev parent reply other threads:[~2004-07-28 15:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040728080645.GB7918@tmathiasen>
2004-07-28 10:10 ` [Drbd-dev] Re: [john.cagle@hp.com: FW: device number request for drbd] Philipp Reisner
2004-07-28 10:58 ` Lars Ellenberg
2004-07-28 12:08 ` Philipp Reisner
2004-07-28 12:17 ` Lars Ellenberg
2004-07-28 12:40 ` Philipp Reisner
2004-07-28 14:12 ` Lars Marowsky-Bree
2004-07-28 14:55 ` Philipp Reisner
2004-07-28 15:33 ` Lars Marowsky-Bree [this message]
2004-07-28 15:46 ` Lars Ellenberg
2004-07-28 17:56 ` Philipp Reisner
2004-07-28 18:45 ` Lars Ellenberg
2004-07-29 22:32 ` Lars Marowsky-Bree
2004-07-30 9:56 ` Philipp Reisner
2004-07-30 11:32 ` Philipp Reisner
2004-07-30 12:14 ` Lars Ellenberg
2004-07-30 12:29 ` Philipp Reisner
2004-08-18 18:42 ` Lars Marowsky-Bree
2004-08-18 19:31 ` Philipp Reisner
2004-08-18 22:57 ` Lars Marowsky-Bree
2004-08-19 9:15 ` Philipp Reisner
2004-08-19 10:32 ` Lars Marowsky-Bree
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040728153314.GW26564@marowsky-bree.de \
--to=lmb@suse.de \
--cc=drbd-dev@lists.linbit.com \
--cc=philipp.reisner@linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.