Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@access2 ~]# echo > /etc/lnet.conf
- [root@access2 ~]# systemctl restart lnet
- [root@access2 ~]# lnetctl export --backup > /etc/lnet.conf
- [root@access2 ~]# cat /etc/lnet.conf
- global:
- numa_range: 0
- max_intf: 200
- discovery: 1
- drop_asym_route: 0
- [root@access2 ~]# lnetctl net add --net tcp --if team0
- [root@access2 ~]# lnetctl peer add --nid 10.1.4.24@o2ib,10.4.7.24@tcp
- [root@access2 ~]# lnetctl peer add --nid 10.1.4.25@o2ib,10.4.7.25@tcp
- [root@access2 ~]# lnetctl route add --net o2ib --gateway 10.4.7.24@tcp
- [root@access2 ~]# lnetctl route add --net o2ib --gateway 10.4.7.25@tcp
- [root@access2 ~]# lnetctl export --backup > /etc/lnet.conf
- [root@access2 ~]# cat /etc/lnet.conf
- net:
- - net type: tcp
- local NI(s):
- - interfaces:
- 0: team0
- tunables:
- peer_timeout: 180
- peer_credits: 8
- peer_buffer_credits: 0
- credits: 256
- CPT: "[0]"
- route:
- - net: o2ib
- gateway: 10.4.7.25@tcp
- hop: -1
- priority: 0
- - net: o2ib
- gateway: 10.4.7.24@tcp
- hop: -1
- priority: 0
- peer:
- - primary nid: 10.1.4.24@o2ib
- Multi-Rail: True
- peer ni:
- - nid: 10.1.4.24@o2ib
- - nid: 10.4.7.24@tcp
- - primary nid: 10.1.4.25@o2ib
- Multi-Rail: True
- peer ni:
- - nid: 10.1.4.25@o2ib
- - nid: 10.4.7.25@tcp
- global:
- numa_range: 0
- max_intf: 200
- discovery: 1
- drop_asym_route: 0
- [root@access2 ~]# systemctl restart lnet
- [root@access2 ~]# lnetctl export --backup
- net:
- - net type: tcp
- local NI(s):
- - interfaces:
- 0: team0
- tunables:
- peer_timeout: 180
- peer_credits: 8
- peer_buffer_credits: 0
- credits: 256
- CPT: "[0]"
- route:
- - net: o2ib
- gateway: 10.4.7.25@tcp
- hop: -1
- priority: 0
- - net: o2ib
- gateway: 10.4.7.24@tcp
- hop: -1
- priority: 0
- peer:
- - primary nid: 10.4.7.25@tcp
- Multi-Rail: False
- peer ni:
- - nid: 10.4.7.25@tcp
- - primary nid: 10.4.7.24@tcp
- Multi-Rail: False
- peer ni:
- - nid: 10.4.7.24@tcp
- - primary nid: 10.1.4.24@o2ib
- Multi-Rail: True
- peer ni:
- - nid: 10.1.4.24@o2ib
- - nid: 10.4.7.24@tcp
- - primary nid: 10.1.4.25@o2ib
- Multi-Rail: True
- peer ni:
- - nid: 10.1.4.25@o2ib
- - nid: 10.4.7.25@tcp
- global:
- numa_range: 0
- max_intf: 200
- discovery: 1
- drop_asym_route: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement