[DRBD-user] switching ethernet card in drbd.

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Oct 11 12:24:59 CEST 2004

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


/ 2004-10-11 10:54:48 +0100
\ Gareth Ansell:
> Hi,
> 
> I am currently backing up an imap machine to a hot spare using drbd.  I
> originally set it up so that drbd was using the primary network card. 
> However, I have now installed a second card in both machines solely for
> the use of drbd.
> 
> Could anyone advise me of the best/least disruptive way of switching
> them over.  Is it simply a case of updating drbd.conf with the new IP
> addresses and asking drbd to reread the config, or do I have to stop and
> start drbd on both machines?

no problem, a simple "drbdadm connect" should trigger a reconnect with
the new network data.

> What is the best order to do it, should I do secondary/primary or
> primary/secondary.

your choice. I'd change the hardware in the current secondary first,
but it does not matter so much.

> If I have to stop and start drbd what is the risk of the resync copying
> in the wrong direction?

I don't see any.


	Lars Ellenberg

-- 
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list