[DRBD-user] Secondary node wants to take over as Primary on reboot

Vera, Michael mxvera at qwest.com
Thu Feb 12 14:39:37 CET 2004


As always..too easy!

Now is there any way to have the Primary auto-connect every so often in
case the Secondary is rebooting?

Thanks Lars,
Mike

-----Original Message-----
From: drbd-user-admin at nudlaug.linbit.com
[mailto:drbd-user-admin at nudlaug.linbit.com] On Behalf Of Lars Ellenberg
Sent: Wednesday, February 11, 2004 4:06 PM
To: drbd-user at nudlaug.linbit.com
Subject: Re: [DRBD-user] Secondary node wants to take over as Primary on
reboot


/ 2004-02-11 14:30:45 -0700
\ Vera, Michael:
> drbdsetup /dev/nb0 show (bilbo2)
> Lower device: 104:03   (/dev/cciss/c0d0p3)
> Disk options:
>  disk-size = 58788720 KB
>  do-panic
> Local address: 10.0.0.2:7788
> Remote address: 10.0.0.1:7788
> Wire protocol: C
> Net options:
>  timeout = 6.0 sec
>  ko-count = 4
>  tl-size = 5000
>  connect-int = 10 sec
>  ping-int = 10 sec
>  sndbuf-size = 65534
>  sync-min = 51200 KB/sec
>  sync-max = 92160 KB/sec
>  sync-nice = -10
> 
> /proc/drbd (bilbo2)
> version: 0.6.10+cvs (api:64/proto:62)
> 
> 0: cs:WFConnection st:Secondary/Unknown ns:0 nr:0 dw:0 dr:0 pe:0 ua:0
        ^^^^^^^^^^^^
> 
> 
> 
> drbdsetup /dev/nb0 show (bilbo1)
> Lower device: 104:03   (/dev/cciss/c0d0p3)
> Disk options:
>  disk-size = 58788720 KB
>  do-panic
> 
> ...No i didnt forget to paste a few more lines!! :0
> 
> 
> /proc/drbd (bilbo1)
> version: 0.6.10+cvs (api:64/proto:62)
> 
> 0: cs:StandAlone st:Primary/Unknown ns:58788764 nr:0 dw:1214532 
> dr:58795579 pe:0 ua:0
        ^^^^^^^^^^

so all you have to do is: 

bilbo1# /etc/init.d/drbd drbd0 reconnect


	Lars Ellenberg
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list