Skip to content

Commit 939d5cb

Browse files
authored
Merge pull request #88285 from dfitzmau/OCPBUGS-48847-16
[enterprise-4.16] OCPBUGS-48847: Documented IPoIB support for nmstate
2 parents d5f3075 + 64646ab commit 939d5cb

File tree

3 files changed

+68
-1
lines changed

3 files changed

+68
-1
lines changed

modules/creating-manifest-file-customized-br-ex-bridge.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif::[]
1818

1919
:_mod-docs-content-type: PROCEDURE
2020
[id="creating-manifest-file-customized-br-ex-bridge_{context}"]
21-
== Optional: Creating a manifest object that includes a customized `br-ex` bridge
21+
= Creating a manifest object that includes a customized `br-ex` bridge
2222

2323
ifndef::postinstall-bare-metal-ipi,postinstall-bare-metal-upi[]
2424
As an alternative to using the `configure-ovs.sh` shell script to set a `br-ex` bridge on a bare-metal platform, you can create a `MachineConfig` object that includes an NMState configuration file. The NMState configuration file creates a customized `br-ex` bridge network configuration on each node in your cluster.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_bare_metal/ipi/ipi-install-post-installation-configuration.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-creating-infiniband-interface-on-nodes_{context}"]
7+
= Creating an IP over InfiniBand interface on nodes
8+
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.
10+
11+
[IMPORTANT]
12+
====
13+
The {product-title} documentation describes defining only the IPoIB interface configuration in a `NodeNetworkConfigurationPolicy` (NNCP) manifest file. You must refer to the NVIDIA and other third-party vendor documentation for the majority of the configuring steps. Red{nbsp}Hat support does not extend to anything external to the NNCP configuration.
14+
15+
For more information about the NVIDIA Operator, see link:https://docs.nvidia.com/networking/display/kubernetes2410/getting+started+with+red+hat+openshift[Getting Started with Red{nbsp}Hat OpenShift] (NVIDIA Docs Hub).
16+
====
17+
18+
.Prerequisites
19+
20+
* You installed a Red{nbsp}Hat certified third-party Operator that supports an IPoIB interface.
21+
22+
23+
.Procedure
24+
25+
. Create or edit a `NodeNetworkConfigurationPolicy` (NNCP) manifest file, and then specify an IPoIB interface in the file.
26+
+
27+
28+
[source,yaml]
29+
----
30+
apiVersion: nmstate.io/v1
31+
kind: NodeNetworkConfigurationPolicy
32+
metadata:
33+
name: worker-0-ipoib
34+
spec:
35+
# ...
36+
interfaces:
37+
- description: ""
38+
infiniband:
39+
mode: datagram <1>
40+
pkey: "0xffff" <2>
41+
ipv4:
42+
address:
43+
- ip: 100.125.3.4
44+
prefix-length: 16
45+
dhcp: false
46+
enabled: true
47+
ipv6:
48+
enabled: false
49+
name: ibp27s0
50+
state: up
51+
type: infiniband <3>
52+
# ...
53+
----
54+
<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.
55+
<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.
56+
<3> Sets the type of interface to `infiniband `.
57+
58+
. 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.
59+
+
60+
[source,yaml]
61+
----
62+
$ oc apply -f <nncp_file_name> <1>
63+
----
64+
<1> Replace `<nncp_file_name>` with the name of your NNCP file.

post_installation_configuration/post-install-bare-metal-configuration.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ toc::[]
88

99
When deploying {product-title} on bare-metal hosts, there are times when you need to make changes to the host either before or after provisioning. This can include inspecting the host's hardware, firmware, and firmware details. It can also include formatting disks or changing modifiable firmware settings.
1010

11+
// Creating an InfiniBand interface on nodes
12+
include::modules/virt-creating-infiniband-interface-on-nodes.adoc[leveloffset=+1]
13+
1114
// Services for a user-managed load balancer
1215
include::modules/nw-osp-services-external-load-balancer.adoc[leveloffset=+1]
1316

0 commit comments

Comments
 (0)