Advertisement
digimer

Untitled

Jan 20th, 2021
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. # Resource for srv01-test
  2. resource srv01-test {
  3. on el8-a01n01 {
  4. node-id 0;
  5. volume 0 {
  6. device /dev/drbd_srv01-test_0 minor 0;
  7. disk /dev/node_92d0106c/srv01-test_0;
  8. meta-disk internal;
  9. }
  10. }
  11.  
  12. on el8-a01n02 {
  13. node-id 1;
  14. volume 0 {
  15. device /dev/drbd_srv01-test_0 minor 0;
  16. disk /dev/node_8da3d2fe/srv01-test_0;
  17. meta-disk internal;
  18. }
  19. }
  20.  
  21. ### NOTE: Remember to open the appropriate firewall port!
  22. # firewall-cmd --zone=SN1 --permanent --add-port=7788/tcp --permanent
  23. # firewall-cmd --zone=SN1 --permanent --add-port=7788/tcp
  24.  
  25. connection {
  26. host el8-a01n01 address 10.101.10.1:7788;
  27. host el8-a01n02 address 10.101.10.2:7788;
  28. disk {
  29. # Without this, the variable bit rate caps at 100 MiB/sec, and most deployments are
  30. # 10 Gbps. So this lets the variable rate climb to 500 MiB/sec
  31. c-max-rate 500M;
  32. }
  33. net {
  34. protocol C;
  35. fencing resource-and-stonith;
  36. }
  37. }
  38. }
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement