Skip to contentSkip to conversation

Summary (2nd try)

Drbd-dev Philipp Reisner 2 participants 2 messages Aug 25, 2004 DRBD driver

lore
Share & tools
lore

Philipp Reisner

author maintainer
#0 lore raw

Hi,

After I realized that we no longer make any node primary automatically :) Here the suggestion of the new configure option:

after-primary-primary =
disconnect No automatic resynchronisation gets performed. One
node should drop its net-conf (preferable the node that would become sync-target) I think this should be default.
ass-older Auto sync source is the oder primary (current default i.t.s.)
ass-younger Auto sync source is the younger primary
ass-furthest Auto sync source is the node that did more modifications
ass-NODENAME Auto sync source is the named node

Falls es schon einen pirmary gibt (also dieses:

      N1    N2
  P --- S   Everything ok.
  P - - S   N1 is failing, but for the moment being just can no
            longer answer the network; but it is still able to update
            drbds generation counts
  ?   - S   Now N1 may be dead, or maybe not
  X   - S   A sane Cluster-mgr makes N2 primary, but stonith N1 first ...
  X   - P   N1 now is really dead.
  S --- P   N1 comes back
  S - : P   oops, N1 has "better" generation counts than N2

N2 shall become sync target, but since it is currently Primary, it will refuse this. It goes standalone.

) Dann:

disconnect (current behaviour in the situation.)
ass-* Auto sync, but the current primary gets sync-source.

What do you think ?

-Philipp

Signature · 3 lines
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :
#1 lore raw
Quoted 6 lines · Philipp Reisner

Hi,

After I realized that we no longer make any node primary automatically :) Here the suggestion of the new configure option:

after-primary-primary =

This is in case where after the reconnect there is no primary (s/s), right?

Quoted 11 lines

disconnect No automatic resynchronisation gets performed. One
node should drop its net-conf (preferable the node that would become sync-target) I think this should be default.
ass-older Auto sync source is the oder primary (current default i.t.s.)
ass-younger Auto sync source is the younger primary
ass-furthest Auto sync source is the node that did more modifications
ass-NODENAME Auto sync source is the named node

Falls es schon einen pirmary gibt (also dieses:

[snip]

Quoted 6 lines

) Dann:

disconnect (current behaviour in the situation.)
ass-* Auto sync, but the current primary gets sync-source.

What do you think ?

Sounds good, one scenario is missing.

P-P scenario:

disconnect (same same)
ass-* the node which would be SyncTarget needs to crash
itself to 'clear' the higher levels, and then would (after the reboot) go through the first scenario.

This may be useful for unattended embedded scenarios, but as it is pretty severe recovery for a grave error, may even value an additional flag.

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 3 lines
High Availability & Clustering	   \\\  /// 
SUSE Labs, Research and Development \honk/ 
SUSE LINUX AG - A Novell company     \\//