wgseligman

/etc/drbd.d/global_common.conf 20130103

Jan 3rd, 2013
232
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global {
  2. usage-count yes;
  3. # minor-count dialog-refresh disable-ip-verification
  4. }
  5.  
  6. common {
  7. handlers {
  8. # fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
  9. # split-brain "/usr/lib/drbd/notify-split-brain.sh root";
  10. # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
  11. # before-resync-target "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
  12. # after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
  13. }
  14.  
  15. startup {
  16. # wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb
  17. wfc-timeout 300;
  18. degr-wfc-timeout 120;
  19. outdated-wfc-timeout 60;
  20. }
  21.  
  22. options {
  23. # cpu-mask on-no-data-accessible
  24. }
  25.  
  26. disk {
  27. # size max-bio-bvecs on-io-error fencing disk-barrier disk-flushes
  28. # disk-drain md-flushes resync-rate resync-after al-extents
  29. # c-plan-ahead c-delay-target c-fill-target c-max-rate
  30. # c-min-rate disk-timeout
  31. }
  32.  
  33. net {
  34. # protocol timeout max-epoch-size max-buffers unplug-watermark
  35. # connect-int ping-int sndbuf-size rcvbuf-size ko-count
  36. # allow-two-primaries cram-hmac-alg shared-secret after-sb-0pri
  37. # after-sb-1pri after-sb-2pri always-asbp rr-conflict
  38. # ping-timeout data-integrity-alg tcp-cork on-congestion
  39. # congestion-fill congestion-extents csums-alg verify-alg
  40. # use-rle
  41. # 23-Dec-2010 WGS: Yesterday, there was major network problem and everything
  42. # slowed down. The HA cluster crashed hard. Increasing this parameter may
  43. # help prevent this in the future... maybe. The units are deciseconds, so
  44. # 15 = 1.5 seconds to respond to a keep-alive test.
  45. # ping-timeout 15; # default 5 (=0.5 seconds)
  46.  
  47. # 23-Feb-2012 WGS: In doing fencing tests, the fencing mechanism seems a little
  48. # aggressive when I try to bring up a node that went down. Maybe increasing the
  49. # timing will help.
  50. # ping-int 15; # seconds (default 10)
  51. # connect-int 15; # seconds (default 10)
  52. # timeout 125; # 12.5 seconds (default 60=6 seconds); must be less than connect-int and ping-int
  53. }
  54. }
RAW Paste Data