[DRBD-user] Fwd: how to place secondary node in maintenance mode

Dan Barker dbarker at visioncomm.net
Tue Sep 24 22:19:49 CEST 2013

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


Wow! Those are some old versions!

Just “drbdadm disconnect all” on the Primary node before the maintenance and “drbdadm connect all” afterwards. All else is magic!

Dan

From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Gabriel Sosa
Sent: Tuesday, September 24, 2013 11:08 AM
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] Fwd: how to place secondary node in maintenance mode

We have a pretty standard setup
MASTER <---> SLAVE (STANDBY)

both nodes are in sync without much issue now but during this week our DC will perform some maintenance tasks that might incur in some connectivity issues between both nodes.
How can put the slave node in maintenance (or any other mode) in order to avoid any split brain situation?
I've been reading [1] and [2] but I can't find a clear answer to this.
should I just take down the service on the SLAVE node performing a *service drbd stop* or instead disable the resource using *drbdadm down resourcename*

versions:
MASTER -> version: 8.0.16 (api:86/proto:86)
SLAVE -> version: 8.3.15 (api:88/proto:86-97)
Thanks

[1] http://www.drbd.org/users-guide/ch-admin.html
[2] http://www.geekpeek.net/drbd-management-command-usage/


--
Gabriel Sosa
Sometimes the questions are complicated and the answers are simple. -- Dr. Seuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130924/53764cca/attachment.htm>


More information about the drbd-user mailing list