Advertisement
amartin

storage drbd config

Apr 29th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. global { usage-count no; }
  2. common {
  3. # the syncer rate should be 30% of the total MB/s measured
  4. syncer {
  5. rate 350M;
  6. al-extents 3389;
  7. }
  8. }
  9. resource drives {
  10. protocol C;
  11. startup {
  12. wfc-timeout 15;
  13. degr-wfc-timeout 60;
  14. }
  15. handlers {
  16. #fence-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
  17. fence-peer "/usr/local/bin/fence-peer crm-fence-peer";
  18. after-resync-target "/usr/local/bin/fence-peer crm-unfence-peer";
  19. split-brain "/usr/lib/drbd/notify-split-brain.sh me@example.com";
  20. }
  21. net {
  22. max-buffers 8000;
  23. max-epoch-size 8000;
  24. unplug-watermark 4000;
  25. # sndbuf-size 512k;
  26. after-sb-0pri discard-zero-changes;
  27. after-sb-1pri discard-secondary;
  28. after-sb-2pri disconnect;
  29. cram-hmac-alg md5;
  30. shared-secret "xxxxxx";
  31. }
  32. disk {
  33. fencing resource-only;
  34. }
  35. on storage0 {
  36. device /dev/drbd0;
  37. disk /dev/storage/drives;
  38. address 192.168.6.148:7787;
  39. meta-disk internal;
  40. }
  41. on storage1 {
  42. device /dev/drbd0;
  43. disk /dev/storage/drives;
  44. address 192.168.6.149:7787;
  45. meta-disk internal;
  46. }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement