[DRBD-user] Rebooting the servers

Arnold Krille arnold at arnoldarts.de
Wed Mar 7 23:39:45 CET 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Tuesday 06 March 2012 22:43:54 Digimer wrote:
> On 03/06/2012 11:53 AM, Marcelo Pereira wrote:
> > Hello guys,
> > 
> > Is there a way to reboot a pair of DRBD servers "without" having to do a
> > resync afterwards?
> > 
> > I would like to know "what" is the correct procedure to do that. For
> > example, assuming that both are "in sync and running properly", and that
> > I have to move the servers from a rack to another rack. How can I do that?
> > 
> > Thanks,
> > Marcelo
> 
> Unmount any filesystems then stop the drbd service. That's it. DRBD only
> syncs blocks that have changed since the two nodes last saw one another.
> With nothing being written, their is nothing to sync when you restart.

When you follow that, the order of restart is not important. Maybe even make 
them both secondary before the reboot to make sure.
Otherwise the one that was stopped first will (if its started first) wait for 
the other one to check whether everything is up-to-date.
The easiest would be to just use drbd for what its made for: keeping the 
resource available even when one component fails or is in maintainance. So 
juse reboot the secondary, switch over and reboot the other, now secondary 
machine.

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120307/facd96d5/attachment.pgp>


More information about the drbd-user mailing list