Advertisement
Guest User

Untitled

a guest
Sep 19th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. #global_common.conf:
  2. global {
  3. usage-count yes;
  4. }
  5. common {
  6. startup {
  7. degr-wfc-timeout 0;
  8. }
  9. net {
  10. protocol C;
  11. cram-hmac-alg sha1;
  12. shared-secret secret;
  13. }
  14. disk {
  15. on-io-error detach;
  16. }
  17. }
  18. #r0.res
  19. resource r0 {
  20. net {
  21. max-buffers 18000;
  22. max-epoch-size 18000;
  23. sndbuf-size 1M;
  24. }
  25. disk {
  26. c-plan-ahead 10;
  27. c-max-rate 330M;
  28. c-min-rate 0;
  29. c-fill-target 10M;
  30. no-disk-flushes;
  31. no-md-flushes;
  32. fencing resource-only;
  33. }
  34. handlers {
  35. fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
  36. after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";
  37. }
  38. on iscsi1.example.org {
  39. volume 0 {
  40. device /dev/drbd0;
  41. disk /dev/disk/by-id/scsi-36003048010fc8b001d993185466f1b08;
  42. meta-disk internal;
  43. }
  44. address 10.100.0.1:7788;
  45. }
  46. on iscsi2.example.org {
  47. volume 0 {
  48. device /dev/drbd0;
  49. disk /dev/disk/by-id/scsi-36003048010fc41001d96797a715ee308;
  50. meta-disk internal;
  51. }
  52. address 10.100.0.2:7788;
  53. }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement