|
| 1 | +// CNF-1500 ZTP |
| 2 | +// Module included in the following assemblies: |
| 3 | +// |
| 4 | +// scalability_and_performance/ztp-deploying-disconnected.adoc |
| 5 | + |
| 6 | +[id="ztp-du-host-networking-requirements_{context}"] |
| 7 | += Distributed unit host networking requirements |
| 8 | + |
| 9 | +The following tables provide a high level overview of the networking information and custom resources required by {rh-rhacm-first} to provision a DU bare-metal host: |
| 10 | + |
| 11 | +.Required `AgentClusterInstall` networking fields |
| 12 | +[cols="2,4", width="90%", options="header"] |
| 13 | +|==== |
| 14 | +|Field |
| 15 | +|Description |
| 16 | + |
| 17 | +|`imageSetRef` |
| 18 | +| Installer image used to install {product-title} on the DU. |
| 19 | + |
| 20 | +|`clusterNetwork` |
| 21 | +| Used to allocate an IPv4 or IPv6 IP address to each node. Ensure there is no overlap with `serviceNetwork`. |
| 22 | + |
| 23 | +|`serviceNetwork` |
| 24 | +| Block of IPv4 or IPv6 IP addresses used for cluster services internal communication in {product-title}. Ensure there is no overlap with `clusterNetwork`. |
| 25 | + |
| 26 | +|`machineNetwork` |
| 27 | +| Represents the network range for external communication. Also used to determine the API and Ingress VIP addresses for provisioning the cluster. |
| 28 | +|==== |
| 29 | + |
| 30 | +[NOTE] |
| 31 | +==== |
| 32 | +Do not specify API and Ingress VIP addresses for DU single node clusters. Instead, when the host is provisioned by the assisted installer service, the `machineNetwork` field in the `AgentClusterInstall` CR is used to determine the API and Ingress VIP addresses. |
| 33 | +==== |
| 34 | + |
| 35 | +.Required `ClusterDeployment` networking fields |
| 36 | +[cols="2,4", width="90%", options="header"] |
| 37 | +|==== |
| 38 | +|Field |
| 39 | +|Description |
| 40 | + |
| 41 | +|`baseDomain` |
| 42 | +|Base domain for the hub cluster managing the individual DU single node clusters. |
| 43 | + |
| 44 | +|`sshPrivateKeySecretRef` |
| 45 | +|SSH private key for secure transactions with the single node cluster DU. |
| 46 | + |
| 47 | +|`pullSecretRef` |
| 48 | +|Pull secret for secure installation on the DU host. |
| 49 | +|==== |
| 50 | + |
| 51 | +.Required `BareMetalHost` networking fields |
| 52 | +[cols="2,4", width="90%", options="header"] |
| 53 | +|==== |
| 54 | +|Field |
| 55 | +|Description |
| 56 | + |
| 57 | +|`bmc` |
| 58 | +|BMC address and BMC username and password credentials. |
| 59 | + |
| 60 | +|`bootMACAddress` |
| 61 | +|Boot MAC address for the bare-metal host. |
| 62 | + |
| 63 | +|`bmac.agent-install.openshift.io/hostname` |
| 64 | +|Optional: Configures the cluster hostname. If this field is not used, a hostname is allocated by the cluster DHCP server. |
| 65 | + |
| 66 | +|`spec.bmc.address` |
| 67 | +|Location of the installation ISO. |
| 68 | + |
| 69 | +|`spec.bmc.credentialsName` |
| 70 | +|Name of the `bmcCredentials` secret used to access the ISO image. |
| 71 | + |
| 72 | +|`userData.bootkey` |
| 73 | +|Reference to the `Secret` containing the user data to be passed to the host before it boots from the ISO image. |
| 74 | + |
| 75 | +|==== |
| 76 | + |
| 77 | +.Required `InfraEnv` networking fields |
| 78 | +[cols="2,4", width="90%", options="header"] |
| 79 | +|==== |
| 80 | +|Field |
| 81 | +|Description |
| 82 | + |
| 83 | +|`additionalNTPSources` |
| 84 | +|IP address for a Network Time Protocol (NTP) server. NTP is required to ensure that the certificates are installed correctly on the DU host. The NTP server is only required during provisioning. |
| 85 | + |
| 86 | +|`pullSecretRef` |
| 87 | +|Name of the pull secret created for the DU host. |
| 88 | + |
| 89 | +|==== |
| 90 | + |
| 91 | +.Required `NMStateConfig` networking fields |
| 92 | +[cols="2,4", width="90%", options="header"] |
| 93 | +|==== |
| 94 | +|Field |
| 95 | +|Description |
| 96 | + |
| 97 | +|`dns-resolver` |
| 98 | +|Target cluster DNS server. |
| 99 | + |
| 100 | +|`interfaces` |
| 101 | +|Configures `eno1` for IPv4 and IPv6 connectivity. |
| 102 | + |
| 103 | +|`Routes` |
| 104 | +|Configures the default route for the target cluster. |
| 105 | + |
| 106 | +|`mac-address` |
| 107 | +|Target bare-metal host MAC address. Must match the MAC address specified in the `BareMetalHost` custom resource (CR). |
| 108 | + |
| 109 | +|`ip-address` |
| 110 | +|Target bare-metal host static IP address. |
| 111 | + |
| 112 | +|`public-network-prefix` |
| 113 | +|Bare-metal host static IP address subnet. |
| 114 | + |
| 115 | +|`gateway` |
| 116 | +|Target bare-metal host gateway. |
| 117 | + |
| 118 | +|`Interfaces` |
| 119 | +|Target bare-metal host interface name and MAC address. |
| 120 | +|==== |
| 121 | + |
| 122 | +[NOTE] |
| 123 | +==== |
| 124 | +`NMStateConfig` is an optional resource. Use `NMStateConfig` to configure network bonding for a pair of NICs, use a concrete VLAN, or to declare a static IP for the DU host. Each `NMState` profile has a one-to-one relationship with a related `InfraEnv` ISO profile used for installing {product-title} on the host. If used, the `NMStateConfig` resource must be created before the `ClusterDeployment` resource. The `NMStateConfig` resource is not required if DHCP is enabled for the cluster network. |
| 125 | +==== |
0 commit comments