DRBD common configuration

/etc/drbd.d/global_common.conf

global {
        usage-count yes;
}
common {
        protocol C;
        handlers {
                pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; 
                  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/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; 
                  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/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; 
                  echo o > /proc/sysrq-trigger ; halt -f";
                #DRBD got an IO error from the local IO subsystem.
        }
        startup {
        }
        disk {
        }
        net {
        }
        syncer {
        }
}




 
 
clusterbase/drbdgen.txt ยท Last modified: 2012/05/01 16:51 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
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