====== 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:drbddisk|DRBD disk configuration]] ⇒ ⇐ [[clusterbase:network|Cluster network configuration]] ⇑ [[clusterbase:start|HA Storage: open-source cluster active/passive]]