SHARE
TWEET

sample drbd output

a guest Jan 27th, 2014 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. resource clusterdb_res {
  2. protocol C;
  3. handlers {
  4.         pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notifyemergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
  5.         pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notifyemergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
  6.         local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergencyshutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
  7.         fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
  8. }
  9.  
  10. startup {
  11.         degr-wfc-timeout 120; # 2 minutes.
  12.         outdated-wfc-timeout 2; # 2 seconds.
  13. }
  14.  
  15. disk {
  16.         on-io-error detach;
  17. }
  18.  
  19. net {
  20.         cram-hmac-alg "sha1";
  21.         shared-secret "supersecret!";
  22.         after-sb-0pri disconnect;
  23.         after-sb-1pri disconnect;
  24.         after-sb-2pri disconnect;
  25.         rr-conflict disconnect;
  26. }
  27.  
  28. syncer {
  29.         rate 10M;
  30.         al-extents 257;
  31.         on-no-data-accessible io-error;
  32.         }
  33.  
  34. on sql1 {
  35. device /dev/drbd0;
  36. disk /dev/sda4;
  37. address 10.X.X.53:7788;
  38. flexible-meta-disk internal;
  39. }
  40.  
  41. on itssql2 {
  42. device /dev/drbd0;
  43. disk /dev/sda4;
  44. address 10.X.X.54:7788;
  45. meta-disk internal;
  46. }
  47. }
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