You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can boot an {product-title} cluster through Internet Small Computer System Interface (iSCSI) by using an ISO image generated by the Agent-based Installer.
10
+
The following procedures describe how to prepare the necessary installation resources to boot from an iSCSI target.
11
+
12
+
The assets you create in these procedures deploy a single-node {product-title} installation.
13
+
You can use these procedures as a basis and modify configurations according to your requirements.
* You reviewed details about the xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes.
27
+
* You read the documentation on xref:../../installing/overview/installing-preparing.adoc#installing-preparing[selecting a cluster installation method and preparing it for users].
28
+
* If you use a firewall or proxy, you xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configured it to allow the sites] that your cluster requires access to.
* xref:../../installing/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc#modifying-install-config-for-dual-stack-network_ipi-install-installation-workflow[Deploying with dual-stack networking]
39
+
* xref:../../installing/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc#configuring-the-install-config-file_ipi-install-installation-workflow[Configuring the install-config yaml file]
40
+
* xref:../../installing/installing_bare_metal/upi/installing-restricted-networks-bare-metal.adoc#installation-three-node-cluster_installing-restricted-networks-bare-metal[Configuring a three-node cluster]
* xref:../../installing/installing_with_agent_based_installer/installing-with-agent-based-installer.adoc#agent-install-verifying-architectures_installing-with-agent-based-installer[Verifying the supported architecture for an Agent-based installation]
* See xref:../../installing/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc#modifying-install-config-for-dual-stack-network_ipi-install-installation-workflow[Deploying with dual-stack networking].
85
85
* See xref:../../installing/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc#configuring-the-install-config-file_ipi-install-installation-workflow[Configuring the install-config yaml file].
86
-
* See xref:../../installing/installing_bare_metal/upi/installing-restricted-networks-bare-metal.adoc#installation-three-node-cluster_installing-restricted-networks-bare-metal[Configuring a three-node cluster] to deploy three-node clusters in baremetal environments.
86
+
* See xref:../../installing/installing_bare_metal/upi/installing-restricted-networks-bare-metal.adoc#installation-three-node-cluster_installing-restricted-networks-bare-metal[Configuring a three-node cluster] to deploy three-node clusters in bare-metal environments.
87
87
* See xref:../../installing/installing_with_agent_based_installer/preparing-to-install-with-agent-based-installer.adoc#root-device-hints_preparing-to-install-with-agent-based-installer[About root device hints].
88
88
* See link:https://nmstate.io/examples.html[NMState state examples].
Use this procedure to create the preferred configuration inputs used to create the agent image.
21
+
22
+
[NOTE]
23
+
====
24
+
Configuring the `install-config.yaml` and `agent-config.yaml` files is the preferred method for using the Agent-based Installer. Using {ztp} manifests is optional.
25
+
====
16
26
endif::pxe-boot[]
17
27
ifdef::pxe-boot[]
18
28
Use this procedure to create the preferred configuration inputs used to create the PXE files.
29
+
30
+
[NOTE]
31
+
====
32
+
Configuring the `install-config.yaml` and `agent-config.yaml` files is the preferred method for using the Agent-based Installer. Using {ztp} manifests is optional.
33
+
====
19
34
endif::pxe-boot[]
20
35
21
36
.Procedure
22
37
23
-
. Install `nmstate` dependency by running the following command:
38
+
. Install the `nmstate` dependency by running the following command:
This is the preferred method for the Agent-based installation. Using {ztp} manifests is optional.
43
-
====
44
-
45
54
. Create the `install-config.yaml` file by running the following command:
46
55
+
47
56
--
@@ -86,7 +95,7 @@ If you are using the release image with the `multi` payload, you can install the
86
95
+
87
96
[NOTE]
88
97
====
89
-
For baremetal platforms, host settings made in the platform section of the `install-config.yaml` file are used by default, unless they are overridden by configurations made in the `agent-config.yaml` file.
98
+
For bare-metal platforms, host settings made in the platform section of the `install-config.yaml` file are used by default, unless they are overridden by configurations made in the `agent-config.yaml` file.
90
99
====
91
100
<5> Specify your pull secret.
92
101
<6> Specify your SSH public key.
@@ -173,6 +182,7 @@ hosts: // <2>
173
182
next-hop-address: 192.168.111.2
174
183
next-hop-interface: eno1
175
184
table-id: 254
185
+
ifdef::iscsi-boot[minimalISO: true <6>]
176
186
EOF
177
187
----
178
188
+
@@ -182,6 +192,10 @@ You must provide the rendezvous IP address when you do not specify at least one
182
192
<3> Optional: Overrides the hostname obtained from either the Dynamic Host Configuration Protocol (DHCP) or a reverse DNS lookup. Each host must have a unique hostname supplied by one of these methods.
183
193
<4> Enables provisioning of the {op-system-first} image to a particular device. The installation program examines the devices in the order it discovers them, and compares the discovered values with the hint values. It uses the first discovered device that matches the hint value.
184
194
<5> Optional: Configures the network interface of a host in NMState format.
195
+
ifdef::iscsi-boot[]
196
+
<6> Generates an ISO image without the rootfs image file, and instead provides details about where to pull the rootfs file from.
197
+
You must set this parameter to `true` to enable iSCSI booting.
The following configurations are necessary to enable iSCSI booting when using the Agent-based Installer:
10
+
11
+
* Dynamic Host Configuration Protocol (DHCP) must be configured.
12
+
Static networking is not supported.
13
+
* You must create an additional network for iSCSI that is separate from the machine network of the cluster.
14
+
The machine network is rebooted during cluster installation and cannot be used for the iSCSI session.
15
+
* If the host on which you are booting the agent ISO image also has an installed disk, it might be necessary to specify the iSCSI disk name in the `rootDeviceHints` parameter to ensure that it is chosen as the boot disk for the final {op-system-first} image.
16
+
You can also use a diskless environment for iSCSI booting, in which case you do not need to set the `rootDeviceHints` parameter.
0 commit comments