[DRBD-user] SyncingAll at any drbd startup

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed Jun 2 16:09:55 CEST 2004


/ 2004-06-02 15:40:06 +0200
\ Paolo Morandi:
> >>Now the cluster is running with heartbeat and work fine. If i start drbd 
> >>i see on the primary machine in Secondary/Secondary state, after 
> >>heartbeat i see the filesystem mounted and the cluster state in 
> >>Primary/Secondary.
> >>If i stop heartbeat the filesystem are unmounted and the cluster state 
> >>back to Secondary/Secondary. So if I stop drbd, can restart without sync.
> >>The problem is when i want shutdown the cluster: if i dont make manually 
> >>the operation at the new statup the cluster go to SyncAll.
> >
> >
> >so what do you mean by "shutdown the cluster"?
> >what exactly do you do?
> >what is involved?
> >what might that implicate?
> >
> >answer yourself that questions, and keep in mind that
> >drbd needs to be Con:Sec/Sec when before it loses connection.
> >
> >
> 
> For 'shutdown the server' I mean to make off the two servers.
> 
> I've got the problem, but I didn't understand why if I make - first - on
> primary and after on the slave server 'heartbeat stop', then 'drbd stop'
> and 'init 0' don't make sync.
> If I force manually first 'init 0' on the primary and then on slave,
> goes in sync.
> 
> So I don't undestand the reason even if I already put in rc0.d directory
> both K05heartbeat and K08drbd, hoping that acting like this shoul
> perform first 'hearbeat stop' and after the 'drbd stop'

you probably kill net network before you kill drbd.
make sure the network is still up (so the drbds are still connected)
when switching the primary to secondary.

	lge



More information about the drbd-user mailing list