daily pastebin goal
6%
SHARE
TWEET

drbdadm dump admin

wgseligman Mar 16th, 2012 178 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # resource admin on orestes-corosync.nevis.columbia.edu: not ignored, not stacked
  2. resource admin {
  3.     protocol               C;
  4.     on hypatia-corosync.nevis.columbia.edu {
  5.         device           /dev/drbd0 minor 0;
  6.         disk             /dev/md2;
  7.         address          ipv4 192.168.100.7:7788;
  8.         meta-disk        internal;
  9.     }
  10.     on orestes-corosync.nevis.columbia.edu {
  11.         device           /dev/drbd0 minor 0;
  12.         disk             /dev/md2;
  13.         address          ipv4 192.168.100.6:7788;
  14.         meta-disk        internal;
  15.     }
  16.     net {
  17.         allow-two-primaries;
  18.         after-sb-0pri    discard-zero-changes;
  19.         after-sb-1pri    discard-secondary;
  20.         after-sb-2pri    disconnect;
  21.         sndbuf-size        0;
  22.     }
  23.     disk {
  24.         fencing          resource-and-stonith;
  25.     }
  26.     syncer {
  27.         rate             100M;
  28.         c-max-rate       100M;
  29.         al-extents       3389;
  30.     }
  31.     handlers {
  32.         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";
  33.         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";
  34.         local-io-error   "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
  35.         split-brain      "/usr/lib/drbd/notify-split-brain.sh sysadmin@nevis.columbia.edu";
  36.         fence-peer       /home/bin/obliterate-peer.sh;
  37.     }
  38. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top