Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. [root@access2 ~]# echo > /etc/lnet.conf
  2. [root@access2 ~]# systemctl restart lnet
  3. [root@access2 ~]# lnetctl export --backup > /etc/lnet.conf
  4. [root@access2 ~]# cat /etc/lnet.conf
  5. global:
  6. numa_range: 0
  7. max_intf: 200
  8. discovery: 1
  9. drop_asym_route: 0
  10. [root@access2 ~]# lnetctl net add --net tcp --if team0
  11. [root@access2 ~]# lnetctl peer add --nid 10.1.4.24@o2ib,10.4.7.24@tcp
  12. [root@access2 ~]# lnetctl peer add --nid 10.1.4.25@o2ib,10.4.7.25@tcp
  13. [root@access2 ~]# lnetctl route add --net o2ib --gateway 10.4.7.24@tcp
  14. [root@access2 ~]# lnetctl route add --net o2ib --gateway 10.4.7.25@tcp
  15. [root@access2 ~]# lnetctl export --backup > /etc/lnet.conf
  16. [root@access2 ~]# cat /etc/lnet.conf
  17. net:
  18. - net type: tcp
  19. local NI(s):
  20. - interfaces:
  21. 0: team0
  22. tunables:
  23. peer_timeout: 180
  24. peer_credits: 8
  25. peer_buffer_credits: 0
  26. credits: 256
  27. CPT: "[0]"
  28. route:
  29. - net: o2ib
  30. gateway: 10.4.7.25@tcp
  31. hop: -1
  32. priority: 0
  33. - net: o2ib
  34. gateway: 10.4.7.24@tcp
  35. hop: -1
  36. priority: 0
  37. peer:
  38. - primary nid: 10.1.4.24@o2ib
  39. Multi-Rail: True
  40. peer ni:
  41. - nid: 10.1.4.24@o2ib
  42. - nid: 10.4.7.24@tcp
  43. - primary nid: 10.1.4.25@o2ib
  44. Multi-Rail: True
  45. peer ni:
  46. - nid: 10.1.4.25@o2ib
  47. - nid: 10.4.7.25@tcp
  48. global:
  49. numa_range: 0
  50. max_intf: 200
  51. discovery: 1
  52. drop_asym_route: 0
  53. [root@access2 ~]# systemctl restart lnet
  54. [root@access2 ~]# lnetctl export --backup
  55. net:
  56. - net type: tcp
  57. local NI(s):
  58. - interfaces:
  59. 0: team0
  60. tunables:
  61. peer_timeout: 180
  62. peer_credits: 8
  63. peer_buffer_credits: 0
  64. credits: 256
  65. CPT: "[0]"
  66. route:
  67. - net: o2ib
  68. gateway: 10.4.7.25@tcp
  69. hop: -1
  70. priority: 0
  71. - net: o2ib
  72. gateway: 10.4.7.24@tcp
  73. hop: -1
  74. priority: 0
  75. peer:
  76. - primary nid: 10.4.7.25@tcp
  77. Multi-Rail: False
  78. peer ni:
  79. - nid: 10.4.7.25@tcp
  80. - primary nid: 10.4.7.24@tcp
  81. Multi-Rail: False
  82. peer ni:
  83. - nid: 10.4.7.24@tcp
  84. - primary nid: 10.1.4.24@o2ib
  85. Multi-Rail: True
  86. peer ni:
  87. - nid: 10.1.4.24@o2ib
  88. - nid: 10.4.7.24@tcp
  89. - primary nid: 10.1.4.25@o2ib
  90. Multi-Rail: True
  91. peer ni:
  92. - nid: 10.1.4.25@o2ib
  93. - nid: 10.4.7.25@tcp
  94. global:
  95. numa_range: 0
  96. max_intf: 200
  97. discovery: 1
  98. drop_asym_route: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement