Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I setup a basic DRBD resource called vmpool1 (/dev/drbd0) that is using disk /dev/sdc1 on server1/subnetA (primary) and server2/subnetB (secondary -- remote location). But I want auto failover so I bought server3 to go in subnetA and want to change this to a setup where server1 is primary, server3 is the new secondary and server2 is changed to stacked. Due to the remote location I cannot simply move server2 to subnetA and put server3 at subnetB. Is there a way to do this live? Is it as simple as doing on server2 drdbadm down vmpool1 /etc/init.d/drbd stop drbdadm wipe-md vmpool1 Then editing the vmpool1 resource file in /etc/drbd.d/ on server1 to use server3's IP instead of server2's, copying that to /etc/drbd.d/ on server3 and on server3 running drbdadm create-md vmpool1 /etc/init.d/drbd start Then on server1 maybe doing drbdsetup /dev/drbd0 primary -o Then I would copy the new vmpool1 resource file to server2 and also create a new resource file for vmpool1-U on all 3 servers that sets up server2 to use its /dev/sdc1 as a stacked resource. Then on all 3 servers I would run drbdadm up vmpool1-U ? Thanks --------------------------------------------------------------- Paul Raines http://help.nmr.mgh.harvard.edu MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging 149 (2301) 13th Street Charlestown, MA 02129 USA The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.