Hi, On Tue, Apr 20, 2010 at 05:57:41PM +0200, Lars Ellenberg wrote: > On Tue, Apr 20, 2010 at 03:23:11PM +0200, Lars Marowsky-Bree wrote: > > > > Switching the ra type is, after all, another of those changes that > > > > require a full restart of the resource (and thus service down-time). > > > maintenance-mode=on > > > s/ocf:heartbeat:drbd/ocf:linbit:drbd/g > > > # some other things that may be necessary > > > maintenance-mode=off > > > > > > should do it, without downtime. > > > > No, the PE will complain about the changed hash, I'm pretty sure? > > Possibly. > But you can do a cleanup while maintenance mode is still on ;-)
That's an interesting idea. Please don't forget it :) The PE would otherwise want to restart the resource. > I just switched three times back and forth between > ofc:heartbeat:drbd and ocf:linbit:drbd, and the Filesystem > is still mounted. That is _still_, not again. > > > And if it _indeed_ was such a trivial change, _why_ require any user > > interaction at all?! > > I'd give them a script, > tell them how to use it, > and why they should use it, > and that they should use it during "off hours", > just in case they or the script or the phase of the moon > messes anything up and things are restarted regardless. An upgrade should happen during "off hours". Probably best done at the same time then, to reduce the number of stressful operations. Cheers, Dejan > -- > : Lars Ellenberg > : LINBIT | Your Way to High Availability > : DRBD/HA support and consulting http://www.linbit.com > > DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/