G2A Many GEOs
SHARE
TWEET

drbdadm dump all 20120327

wgseligman Mar 27th, 2012 144 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # /etc/drbd.conf
  2. common {
  3.     startup {
  4.         wfc-timeout      300;
  5.         degr-wfc-timeout 120;
  6.         outdated-wfc-timeout  60;
  7.     }
  8. }
  9.  
  10. # resource admin on hypatia-corosync.nevis.columbia.edu: not ignored, not stacked
  11. # defined at /etc/drbd.d/admin.res:1
  12. resource admin {
  13.     on hypatia-corosync.nevis.columbia.edu {
  14.         device           /dev/drbd0 minor 0;
  15.         disk             /dev/md2;
  16.         meta-disk        internal;
  17.         address          ipv4 192.168.100.7:7788;
  18.     }
  19.     on orestes-corosync.nevis.columbia.edu {
  20.         device           /dev/drbd0 minor 0;
  21.         disk             /dev/md2;
  22.         meta-disk        internal;
  23.         address          ipv4 192.168.100.6:7788;
  24.     }
  25.     net {
  26.         protocol           C;
  27.         allow-two-primaries yes;
  28.         after-sb-0pri    discard-zero-changes;
  29.         after-sb-1pri    discard-secondary;
  30.         after-sb-2pri    disconnect;
  31.         sndbuf-size        0;
  32.     }
  33.     disk {
  34.         resync-rate      100M;
  35.         c-max-rate       100M;
  36.         al-extents       3389;
  37.         fencing          resource-and-stonith;
  38.     }
  39.     handlers {
  40.         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";
  41.         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";
  42.         local-io-error   "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
  43.         split-brain      "/usr/lib/drbd/notify-split-brain.sh sysadmin@nevis.columbia.edu";
  44.         fence-peer       /home/bin/stonith_admin-fence-peer.sh;
  45.     }
  46. }
RAW Paste Data
Ledger Nano X - The secure hardware wallet
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