This is an old revision of the document!

DRBD common configuration


global {
        usage-count yes;
common {
        protocol C;
        handlers {
                pri-on-incon-degr "/usr/lib/drbd/; /usr/lib/drbd/; 
                  echo b > /proc/sysrq-trigger ; reboot -f";
                #This handler is called if the node is primary, degraded and if the local copy of the data is inconsistent.

                pri-lost-after-sb "/usr/lib/drbd/; /usr/lib/drbd/; 
                  echo b > /proc/sysrq-trigger ; reboot -f";
                #The node is currently primary, but lost the after-split-brain auto recovery procedure. 

                As as consequence, it should be abandoned.
                local-io-error "/usr/lib/drbd/; /usr/lib/drbd/; 
                  echo o > /proc/sysrq-trigger ; halt -f";
                #DRBD got an IO error from the local IO subsystem.
        startup {
        disk {
        net {
        syncer {
clusterbase/drbdgen.1335882388.txt.gz · Last modified: 2012/05/01 16:26 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ and Anna Perin (anna.perin _@_
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki