Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. linstor_common.conf
  2. # This file was generated by linstor(0.7.5), do not edit manually.
  3.  
  4. common
  5. {
  6. disk
  7. {
  8. c-fill-target 10240;
  9. c-max-rate 819200;
  10. c-min-rate 20480;
  11. c-plan-ahead 20;
  12. }
  13. net
  14. {
  15. after-sb-0pri discard-zero-changes;
  16. after-sb-1pri discard-secondary;
  17. after-sb-2pri disconnect;
  18. max-buffers 36864;
  19. protocol C;
  20. rcvbuf-size 0;
  21. sndbuf-size 0;
  22. }
  23. }
  24.  
  25. vm-902-disk-1.res
  26. # This file was generated by linstor(0.7.5), do not edit manually.
  27.  
  28. resource "vm-902-disk-1"
  29. {
  30. template-file "linstor_common.conf";
  31.  
  32. net
  33. {
  34. cram-hmac-alg sha1;
  35. shared-secret "<redacted>";
  36. allow-two-primaries yes;
  37. }
  38.  
  39. on pve-2
  40. {
  41. volume 0
  42. {
  43. disk /dev/zvol/rpool/test/vm-902-disk-1_00000;
  44. meta-disk internal;
  45. device minor 1005;
  46. }
  47. node-id 1;
  48. }
  49.  
  50. on pve-1
  51. {
  52. volume 0
  53. {
  54. disk /dev/drbd/this/is/not/used;
  55. meta-disk internal;
  56. device minor 1005;
  57. }
  58. node-id 0;
  59. }
  60.  
  61. connection
  62. {
  63. host pve-2 address ipv4 10.0.0.2:7005;
  64. host pve-1 address ipv4 10.0.0.1:7005;
  65. }
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement