Skip to content

Commit 0cdf8bf

Browse files
authored
Merge pull request #99992 from dfitzmau/OSDOCS-16309
OSDOCS-16309: Updated the IPoIB docs by including Bond Over Infiniban…
2 parents 0aefcc1 + 794f4f2 commit 0cdf8bf

File tree

1 file changed

+29
-14
lines changed

1 file changed

+29
-14
lines changed

modules/virt-creating-infiniband-interface-on-nodes.adoc

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
[id="virt-creating-infiniband-interface-on-nodes_{context}"]
77
= Creating an IP over InfiniBand interface on nodes
88

9-
On the {product-title} web console, you can install a Red{nbsp}Hat certified third-party Operator, such as the NVIDIA Network Operator, that supports InfiniBand (IPoIB) mode. Typically, you would use the third-party Operator with other vendor infrastructure to manage resources in an {product-title} cluster. To create an IPoIB interface on nodes in your cluster, you must define an InfiniBand (IPoIB) interface in a `NodeNetworkConfigurationPolicy` (NNCP) manifest file.
9+
On the {product-title} web console, you can install a Red{nbsp}Hat certified third-party Operator, such as the NVIDIA Network Operator, that supports IP over InfiniBand (IPoIB) mode. Typically, you would use the third-party Operator with other vendor infrastructure to manage resources in an {product-title} cluster. To create an IPoIB interface on nodes in your cluster, you must define an InfiniBand (IPoIB) interface in a `NodeNetworkConfigurationPolicy` (NNCP) manifest file.
10+
11+
If you need to attach IPoIB to a bond interface, only the `active-backup` mode supports this configuration.
1012

1113
[IMPORTANT]
1214
====
@@ -24,7 +26,6 @@ For more information about the NVIDIA Operator, see link:https://docs.nvidia.com
2426

2527
. Create or edit a `NodeNetworkConfigurationPolicy` (NNCP) manifest file, and then specify an IPoIB interface in the file.
2628
+
27-
2829
[source,yaml]
2930
----
3031
apiVersion: nmstate.io/v1
@@ -36,8 +37,8 @@ spec:
3637
interfaces:
3738
- description: ""
3839
infiniband:
39-
mode: datagram <1>
40-
pkey: "0xffff" <2>
40+
mode: datagram
41+
pkey: "0xffff"
4142
ipv4:
4243
address:
4344
- ip: 100.125.3.4
@@ -48,21 +49,35 @@ spec:
4849
enabled: false
4950
name: ibp27s0
5051
state: up
51-
identifier: mac-address <3>
52-
mac-address: 20:00:55:04:01:FE:80:00:00:00:00:00:00:00:02:C9:02:00:23:13:92 <4>
53-
type: infiniband <5>
52+
identifier: mac-address
53+
mac-address: 20:00:55:04:01:FE:80:00:00:00:00:00:00:00:02:C9:02:00:23:13:92
54+
type: infiniband
5455
# ...
5556
----
56-
<1> `datagram` is the default mode for an IPoIB interface, and this mode improves optimizes performance and latency. `connected` mode is a supported mode but consider only using this mode when you need to adjust the maximum transmission unit (MTU) value to improve node connectivity with surrounding network devices.
57-
<2> Supports a string or an integer value. The parameter defines the protection key, or _P-key_, for the interface for the purposes of authentication and encrypted communications with a third-party vendor, such as NVIDIA. Values `None` and `0xffff` indicate the protection key for the base interface in an InfiniBand system.
58-
<3> Supported values include `name`, the default value, and `mac-address`. The `name` value applies a configuration to an interface that holds a specified interface name.
59-
<4> Holds the MAC address of an interface. For an IP-over-InfiniBand (IPoIB) interface, the address is a 20-byte string.
60-
<5> Sets the type of interface to `infiniband`.
57+
+
58+
--
59+
where:
60+
61+
`<mode>`:: `datagram` is the default mode for an IPoIB interface. This mode provides improved CPU performance and low-latency capabilitities for pod-to-pod communication. `connected` mode is a supported mode but consider only using this mode when you need to adjust the maximum transmission unit (MTU) value to improve node connectivity with surrounding network devices.
62+
63+
`<pkey>`:: Supports a string or an integer value. The parameter defines the protection key, or _P-key_, for the interface for the purposes of authentication and encrypted communications with a third-party vendor, such as NVIDIA. Values `None` and `0xffff` indicate the protection key for the base interface in an InfiniBand system.
64+
65+
`<identifier>`:: Supported values include `name`, the default value, and `mac-address`. The `name` value applies a configuration to an interface that holds a specified interface name.
66+
67+
`<mac-address>`:: Holds the MAC address of an interface. For an IP-over-InfiniBand (IPoIB) interface, the address is a 20-byte string.
68+
69+
`<type>`:: Sets the type of interface to `infiniband`.
70+
--
6171

6272
. Apply the NNCP configuration to each node in your cluster by running the following command. The Kubernetes NMState Operator can then create an IPoIB interface on each node.
6373
+
6474
[source,yaml]
6575
----
66-
$ oc apply -f <nncp_file_name> <1>
76+
$ oc apply -f <nncp_file_name>
6777
----
68-
<1> Replace `<nncp_file_name>` with the name of your NNCP file.
78+
+
79+
--
80+
where:
81+
82+
`<nncp_file_name>`:: Replace `<nncp_file_name>` with the name of your NNCP file.
83+
--

0 commit comments

Comments
 (0)