Guest User

Untitled

a guest
Feb 18th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. global {
  2. usage-count yes;
  3. # minor-count dialog-refresh disable-ip-verification
  4. }
  5.  
  6. common {
  7. protocol C;
  8. }
  9.  
  10. resource res0 {
  11.  
  12. handlers {
  13. #pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-e
  14. mergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
  15. #pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-e
  16. mergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
  17. #local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shu
  18. tdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
  19. #fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
  20. #split-brain "/usr/lib/drbd/notify-split-brain.sh root";
  21. # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
  22. # before-resync-target "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
  23. #after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
  24. }
  25.  
  26. startup {
  27. # wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb
  28. wfc-timeout 30;
  29. degr-wfc-timeout 15;
  30. }
  31.  
  32. disk {
  33. # on-io-error fencing use-bmbv no-disk-barrier no-disk-flushes
  34. # no-disk-drain no-md-flushes max-bio-bvecs
  35. #fencing resource-only;
  36. }
  37.  
  38. net {
  39. # sndbuf-size rcvbuf-size timeout connect-int ping-int ping-timeout max-buffers
  40. # max-epoch-size ko-count allow-two-primaries cram-hmac-alg shared-secret
  41. # after-sb-0pri after-sb-1pri after-sb-2pri data-integrity-alg no-tcp-cork
  42. #after-sb-0pri disconnect;
  43. #after-sb-1pri discard-secondary;
  44. }
  45.  
  46. syncer {
  47. # rate after al-extents use-rle cpu-mask verify-alg csums-alg
  48. rate 200M;
  49. verify-alg md5;
  50. csums-alg md5;
  51. }
  52.  
  53. on cc-ipsec1 {
  54.  
  55. device /dev/drbd0;
  56. disk /dev/cciss/c0d0p4;
  57. address 172.17.0.5:7789;
  58. meta-disk internal;
  59. }
  60.  
  61. on cc-ipsec2 {
  62. device /dev/drbd0;
  63. disk /dev/cciss/c0d0p4;
  64. address 172.17.0.3:7789;
  65. meta-disk internal;
  66. }
  67. }
Add Comment
Please, Sign In to add comment