Advertisement
digimer

Untitled

Jan 9th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. [root@an-c07n01 drbd.d]# drbdadm dump
  2. # /etc/drbd.conf
  3. common {
  4. net {
  5. allow-two-primaries yes;
  6. after-sb-0pri discard-zero-changes;
  7. after-sb-1pri discard-secondary;
  8. after-sb-2pri disconnect;
  9. max-buffers 128k;
  10. max-epoch-size 20000;
  11. }
  12. disk {
  13. fencing resource-and-stonith;
  14. }
  15. startup {
  16. become-primary-on both;
  17. }
  18. handlers {
  19. fence-peer /sbin/rhcs_fence;
  20. }
  21. }
  22.  
  23. # resource r0 on an-c07n01.alteeve.ca: not ignored, not stacked
  24. # defined at /etc/drbd.d/r0.res:1
  25. resource r0 {
  26. on an-c07n01.alteeve.ca {
  27. device /dev/drbd0 minor 0;
  28. disk /dev/sda5;
  29. meta-disk internal;
  30. address ipv4 10.10.70.1:7788;
  31. }
  32. on an-c07n02.alteeve.ca {
  33. device /dev/drbd0 minor 0;
  34. disk /dev/sda5;
  35. meta-disk internal;
  36. address ipv4 10.10.70.2:7788;
  37. }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement