[DRBD-user] Replace a DRBD node

Roland Kammerer roland.kammerer at linbit.com
Wed Mar 27 11:18:15 CET 2019


On Wed, Mar 27, 2019 at 10:11:11AM +0100, Robert Altnoeder wrote:
> On 3/26/19 8:43 PM, Marcio Demetrio Bacci wrote:
> > Hi, 
> >
> > I have a resource DRBD with two nodes. I need to change the secondary
> > node per another server.
> >
> > I've been searching for two days, but not found a solution.
> 
> It's just like starting over on the same node with a new/empty disk. You
> need to have a disk with a proper size, then you write DRBD meta data
> onto the disk, and then you reconnect the DRBD resource between the two
> servers. It will resync automatically.

To me it is not clear what "change the secondary node per another
server" actually means. If you just switch servers, then "drbdadm
disconnect" the resource, put the storage into the new server, adapt the
resource files if necessary (e.g., changed host names) and "drbdadm
adjust" on both ends. This then should result in a partial sync.

Otherwise: What Robert wrote.

Regards, rck


More information about the drbd-user mailing list