Discussion:
Force one node to be uptodate
Baptiste Agasse
2008-12-11 15:54:57 UTC
Permalink
Hi all,

I have a problem after making ntp syncronisation of my 2 nodes cluster.

Drbd shared device was in cs:Connected st:Primary/Primary ds:UpToDate/
UpToDate state,on both node.

But after reboot, the first node state is :

cs:StandAlone st:Secondary/Unknown ds:Consistent/DUnknown

and second :

cs:WFConnection st:Secondary/Unknown ds:Consistent/DUnknown



Since that, I can't force one node to be in UpTopDate state in order to
connect two nodes (drbd say : Refusing to be Primary without at least
one UpToDate disk)



Regards,



PS: sorry for my bad English, thanks a lot for yoursd answers.
Baptiste Agasse
2008-12-12 10:10:11 UTC
Permalink
Hi,
I have found the solution for my problem, I answer for person who have the
same problem.
My drbd shared space was uptodate on both node but were displayed in drbd in
"consistent" mode and it can't be connected.

The solution was to detach and invalidate shared space on one node an
connect the two nodes for a re-sync

[node1] drbdadm detach share
[node1] drbdadm invalidate share
[node1] drbdadm attach share
[node1] drbdadm connect share
[node2] drbdadm connect share

Regards.

-----Message d'origine-----
De : drbd-user-bounces-***@public.gmane.org
[mailto:drbd-user-bounces-***@public.gmane.org] De la part de Baptiste Agasse
Envoyé : jeudi 11 décembre 2008 16:55
À : drbd-user-***@public.gmane.org
Objet : [DRBD-user] Force one node to be uptodate

Hi all,

I have a problem after making ntp syncronisation of my 2 nodes cluster.

Drbd shared device was in cs:Connected st:Primary/Primary ds:UpToDate/
UpToDate state,on both node.

But after reboot, the first node state is :

cs:StandAlone st:Secondary/Unknown ds:Consistent/DUnknown

and second :

cs:WFConnection st:Secondary/Unknown ds:Consistent/DUnknown



Since that, I can't force one node to be in UpTopDate state in order to
connect two nodes (drbd say : Refusing to be Primary without at least
one UpToDate disk)



Regards,



PS: sorry for my bad English, thanks a lot for yoursd answers.
Lars Ellenberg
2008-12-12 10:43:18 UTC
Permalink
Post by Baptiste Agasse
Hi,
I have found the solution for my problem, I answer for person who have the
same problem.
My drbd shared space was uptodate on both node but were displayed in drbd in
"consistent" mode and it can't be connected.
The solution was to detach and invalidate shared space on one node an
connect the two nodes for a re-sync
[node1] drbdadm detach share
[node1] drbdadm invalidate share
[node1] drbdadm attach share
[node1] drbdadm connect share
[node2] drbdadm connect share
you should have provided your drbd version,
your heartbeat version,
your drbd configuration (fencing, dopd, etc)

you should have retried with the most recent drbd release.

and you should have a look at
http://www.drbd.org/users-guide/s-manual-split-brain-recovery.html
Post by Baptiste Agasse
Regards.
-----Message d'origine-----
Envoyé : jeudi 11 décembre 2008 16:55
Objet : [DRBD-user] Force one node to be uptodate
Hi all,
I have a problem after making ntp syncronisation of my 2 nodes cluster.
Drbd shared device was in cs:Connected st:Primary/Primary ds:UpToDate/
UpToDate state,on both node.
cs:StandAlone st:Secondary/Unknown ds:Consistent/DUnknown
cs:WFConnection st:Secondary/Unknown ds:Consistent/DUnknown
Since that, I can't force one node to be in UpTopDate state in order to
connect two nodes (drbd say : Refusing to be Primary without at least
one UpToDate disk)
Regards,
PS: sorry for my bad English, thanks a lot for yoursd answers.
_______________________________________________
drbd-user mailing list
http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
http://lists.linbit.com/mailman/listinfo/drbd-user
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list -- I'm subscribed
Loading...