Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello all,
i have some problems using drbd in dual primary mode.
System 1: debian with 2.6.18-6-amd64 kernel
System 2: ununtu with 2.6.32-24-generic kernel
both systems a self compiled drbd version 8.3.7
Running in primary / secondary mode works fine: disk replication ok, no
errors
I switch to dual primary mode using the standard manual.
adding allow-two-primaries; to the net section on both systems
adding become-primary-on both; to the startup section
Run drbdadm disconnect resource on both nodes.
Execute drbdadm connect resource on both nodes.
Execute drbdadm primary resource on both nodes
on both nodes the next logging:
Oct 29 17:51:44 1kronieken kernel: block drbd0: conn( StandAlone ->
Unconnected )
Oct 29 17:51:44 1kronieken kernel: block drbd0: Starting receiver thread
(from drbd0_worker [28848])
Oct 29 17:51:44 1kronieken kernel: block drbd0: receiver (re)started
Oct 29 17:51:44 1kronieken kernel: block drbd0: conn( Unconnected ->
WFConnection )
Oct 29 17:51:49 1kronieken kernel: block drbd0: Handshake successful: Agreed
network protocol version 91
Oct 29 17:51:49 1kronieken kernel: block drbd0: conn( WFConnection ->
WFReportParams )
Oct 29 17:51:49 1kronieken kernel: block drbd0: Starting asender thread
(from drbd0_receiver [30420])
Oct 29 17:51:49 1kronieken kernel: block drbd0: incompatible after-sb-0pri
settings
Oct 29 17:51:49 1kronieken kernel: block drbd0: conn( WFReportParams ->
Disconnecting )
Oct 29 17:51:49 1kronieken kernel: block drbd0: error receiving
ReportProtocol, l: 25!
Oct 29 17:51:49 1kronieken kernel: block drbd0: asender terminated
Oct 29 17:51:49 1kronieken kernel: block drbd0: Terminating asender thread
Oct 29 17:51:49 1kronieken kernel: block drbd0: Connection closed
Oct 29 17:51:49 1kronieken kernel: block drbd0: conn( Disconnecting ->
StandAlone )
Oct 29 17:51:49 1kronieken kernel: block drbd0: receiver terminated
Oct 29 17:51:49 1kronieken kernel: block drbd0: Terminating receiver thread
Oct 29 17:52:25 1kronieken kernel: block drbd0: role( Secondary -> Primary )
Oct 29 17:52:26 1kronieken kernel: block drbd0: Creating new current UUID
and the same status:
cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at 1kronieken,
2010-10-18 15:07:45
0: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r----
ns:0 nr:0 dw:290406324 dr:8 al:0 bm:17725 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
oos:0
whats wrong?
kind regards,
Bas
--
View this message in context: http://old.nabble.com/dual-primary%3A-drbd-8.3.7-tp30087417p30087417.html
Sent from the DRBD - User mailing list archive at Nabble.com.