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
Copy file name to clipboardExpand all lines: guides/common/modules/con_prerequisites-for-network-boot-provisioning.adoc
+18-7Lines changed: 18 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,25 @@
5
5
6
6
The requirements for network-boot provisioning include:
7
7
8
-
* {SmartProxy} managing the network for the network-booted machines.
9
-
For unattended provisioning and discovery-based provisioning, {Project} requires PXE server settings.
8
+
* Provisioning infrastructure services (DNS, DHCP, TFTP) are integrated with {Project} and configured.
9
+
ifndef::satellite[]
10
+
* Provisioning templates are associated with a client operating system.
10
11
+
11
-
For more information about networking requirements, see xref:preparing-networking[].
12
+
For BIOS provisioning, you must associate a PXELinux template with the operating system.
13
+
For UEFI provisioning, you must associate a PXEGrub2 template with the operating system.
14
+
If you associate both PXELinux and PXEGrub2 templates, {Project} deploys configuration files for both on a TFTP server, so that you can switch between PXE loaders easily.
15
+
endif::[]
16
+
* A bare-metal machine or a blank virtual machine.
17
+
The provisioned machine must appear on the same network as your provisioning infrastructure services.
12
18
+
13
-
For more information about the Discovery service, see xref:discovering-hosts-on-a-network[].
14
-
15
-
* A bare-metal host or a blank VM.
19
+
You can integrate a compute resource with {Project} and let the compute resource create virtual machines through this integration.
20
+
You can also provision virtual machines from unintegrated infrastructure as you would bare-metal machines.
Copy file name to clipboardExpand all lines: guides/common/modules/con_using-network-boot-to-provision-hosts.adoc
+9-69Lines changed: 9 additions & 69 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,87 +3,27 @@
3
3
[id="using-network-boot-to-provision-hosts"]
4
4
= Using network boot to provision hosts
5
5
6
-
You can provision bare-metal instances with {Project} by using one of the following methods:
6
+
After integrating provisioning infrastructure services with {Project}, you can provision hosts with {ProjectName} by booting hosts over a network.
7
+
Once the host boots, {ProjectServer} or {SmartProxyServer} provides operating system installation content that the host downloads.
8
+
After the operating system has been installed, the host registers to {Project} and {Project} performs an initial configuration of the host.
7
9
8
-
Unattended Provisioning::
9
-
New hosts are identified by a MAC address.
10
-
{ProjectServer} provisions the host by using a PXE boot process.
11
-
12
-
Unattended Provisioning with Discovery::
13
-
New hosts use PXE boot to load the {Project} Discovery service.
14
-
This service identifies hardware information about the host and lists it as an available host to provision.
15
-
For more information, see xref:discovering-hosts-on-a-network[].
16
-
17
-
PXE-less Provisioning::
18
-
ifndef::satellite[]
19
-
New hosts are provisioned with a boot disk or PXE-less discovery image that {ProjectServer} generates.
20
-
21
-
PXE-less Provisioning with Discovery::
22
-
New hosts use an ISO boot disk that loads the {Project} Discovery service.
23
-
This service identifies hardware information about the host and lists it as an available host to provision.
24
-
For more information, see xref:discovery-in-pxeless-mode[].
25
-
endif::[]
26
-
ifdef::satellite[]
27
-
New hosts are provisioned with a boot disk image that {ProjectServer} generates.
28
-
endif::[]
29
-
30
-
ifndef::satellite[]
31
-
[NOTE]
32
-
====
33
-
Discovery workflows are only available if the Discovery plug-in is installed.
34
-
For more information, see xref:discovering-hosts-on-a-network[].
35
-
====
36
-
endif::[]
37
-
38
-
.BIOS and UEFI support
39
-
With {ProjectName}, you can perform both BIOS and UEFI based PXE provisioning.
10
+
.BIOS and UEFI interfaces
40
11
Both BIOS and UEFI interfaces work as interpreters between the operating system and firmware of a computer, initializing hardware components and starting the operating system at boot time.
12
+
With {Project}, you can perform both BIOS and UEFI based PXE provisioning.
13
+
For UEFI interfaces with an HTTP boot client, you can also perform UEFI HTTP provisioning.
41
14
42
-
.PXE loaders
43
-
In {Project} provisioning, the PXE loader option defines the DHCP `filename` option to use during provisioning.
44
-
45
-
* For BIOS systems, select the *PXELinux BIOS* option to enable a provisioned host to download the `pxelinux.0` file over TFTP.
46
-
* For UEFI systems, select the *Grub2 UEFI* option to enable a TFTP client to download `grubx64.efi` file, or select the *Grub2 UEFI HTTP* option to enable an UEFI HTTP client to download `grubx64.efi` with the HTTP Boot feature.
47
-
48
-
{ProjectName} supports provisioning hosts with UEFI Secure Boot.
49
-
SecureBoot PXE loaders enable a client to download the `shimx64.efi` bootstrap boot loader that then loads the signed `grubx64.efi`.
50
-
Use the *Grub2 UEFI SecureBoot* PXE loader for PXE-boot provisioning.
51
-
ifndef::satellite[]
52
-
Use the *Grub2 UEFI HTTPS SecureBoot* PXE loader for HTTP-boot provisioning.
53
-
endif::[]
54
-
15
+
.UEFI Secure Boot
16
+
{ProjectName} supports host provisioning with UEFI Secure Boot.
55
17
ifdef::satellite[]
56
18
By default, you can provision the same RHEL version as your {ProjectServer} on Secure Boot enabled hosts.
57
19
To provision other versions of {RHEL}, you have to provide signed shim and GRUB2 binaries of those RHEL versions.
58
-
For more information, see xref:configuring-{smart-proxy-context}-to-provision-rhel-on-Secure-Boot-enabled-hosts[].
59
20
endif::[]
60
21
ifndef::satellite[]
61
22
By default, you can provision operating systems from the vendor of the operating system of your {ProjectServer} on Secure Boot enabled hosts.
62
23
To provision operating systems on Secure Boot enabled hosts from different vendors, you have to provide signed shim and GRUB2 binaries provided by the vendor of your operating system.
For more information about supported workflows, see https://access.redhat.com/solutions/2674001[Supported architectures and provisioning scenarios].
76
-
endif::[]
77
-
ifndef::orcharhino,satellite[]
78
-
Other PXE loaders like *PXELinux UEFI*, *Grub2 ELF* or *iPXE Chain*, require additional configuration.
79
-
These workflows are not documented.
80
-
endif::[]
81
-
82
-
ifndef::satellite[]
83
-
.Template association with operating systems
84
-
For BIOS provisioning, you must associate a PXELinux template with the operating system.
85
-
For UEFI provisioning, you must associate a PXEGrub2 template with the operating system.
86
-
If you associate both PXELinux and PXEGrub2 templates, {Project} deploys configuration files for both on a TFTP server, so that you can switch between PXE loaders easily.
26
+
For more information, see xref:configuring-{smart-proxy-context}-for-secure-boot[].
Copy file name to clipboardExpand all lines: guides/common/modules/proc_creating-hosts-with-pxe-boot-provisioning.adoc
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,24 @@
3
3
[id="creating-hosts-with-pxe-boot-provisioning"]
4
4
= Creating hosts with PXE boot provisioning
5
5
6
-
Unattended provisioning is the simplest form of host provisioning.
6
+
PXE boot provisioning is a method of unattended host provisioning that requires minimal interaction during the process.
7
+
7
8
You enter the host details on {ProjectServer} and boot your host.
8
9
{ProjectServer} automatically manages the PXE configuration, organizes networking services, and provides the operating system and configuration for the host.
9
10
10
-
This method of provisioning hosts uses minimal interaction during the process.
11
+
Create a host entry to add the host details.
12
+
When you save the host entry, {Project} creates the relevant provisioning settings.
13
+
This also includes creating the necessary directories and files for PXE booting.
14
+
When you boot the host, the host requests a DHCP lease.
15
+
The DHCP service responds with a lease which includes the location of the installation content.
16
+
The host uses the installation content to install the operating system.
17
+
18
+
ifdef::katello,satellite,orcharhino[]
19
+
During the installation, the host registers to {ProjectServer} by using the activation key, installs the necessary host management tools from the {project-client-name} repository, and performs initial configuration.
20
+
endif::[]
21
+
ifndef::katello,satellite,orcharhino[]
22
+
During the installation, the host registers to {ProjectServer} and performs initial configuration.
23
+
endif::[]
11
24
12
25
To use the CLI instead of the {ProjectWebUI}, see the xref:cli-creating-hosts-with-pxe-boot-provisioning[].
. Optional: Click *Resolve* in *Provisioning template* to check the new host can identify the right provisioning templates to use.
20
33
+
21
-
For more information about associating provisioning templates, see xref:provisioning-templates[].
34
+
For more information about provisioning templates, see xref:provisioning-templates[].
22
35
ifdef::katello,satellite,orcharhino[]
23
36
include::snip_step-parameter-ak.adoc[]
24
37
endif::[]
25
38
. Click *Submit* to save the host details.
26
-
+
27
-
For more information about network interfaces, see {ManagingHostsDocURL}configuring-network-interfaces[Configuring network interfaces] in _{ManagingHostsDocTitle}_.
28
-
29
-
This creates the host entry and the relevant provisioning settings.
30
-
This also includes creating the necessary directories and files for PXE booting the bare-metal host.
31
-
If you start the physical host and set its boot mode to PXE, the host detects the DHCP service of {ProjectServer}'s integrated {SmartProxy}, receives HTTP endpoint of the Kickstart tree and installs the operating system.
32
-
33
-
ifdef::katello,satellite,orcharhino[]
34
-
When the installation completes, the host also registers to {ProjectServer} using the activation key and installs the necessary configuration and management tools from the {project-client-name} repository.
You can provision hosts from {Project} using the UEFI HTTP Boot.
6
+
You can provision hosts from {Project} by using the UEFI HTTP Boot if the hosts have this capability.
7
+
In HTTP boot, configuration files are transferred over HTTP instead of TFTP as in PXE boot.
8
+
Using this method can help reduce the booting time during host provisioning.
9
+
HTTP is also more reliable for transfer of large files, such as Live images, than TFTP.
10
+
11
+
You enter the host details on {ProjectServer} and boot your host.
12
+
{ProjectServer} automatically manages the HTTP boot configuration, organizes networking services, and provides the operating system and configuration for the host.
13
+
14
+
Create a host entry to add the host details.
15
+
When you save the host entry, {Project} creates the relevant provisioning settings.
16
+
This also includes creating the necessary directories and files for PXE booting.
17
+
When you boot the host, the host requests a DHCP lease.
18
+
The DHCP service responds with a lease which includes the location of the installation content.
19
+
The host uses the installation content to install the operating system.
20
+
21
+
ifdef::katello,satellite,orcharhino[]
22
+
During the installation, the host registers to {ProjectServer} by using the activation key, installs the necessary host management tools from the {project-client-name} repository, and performs initial configuration.
23
+
endif::[]
24
+
ifndef::katello,satellite,orcharhino[]
25
+
During the installation, the host registers to {ProjectServer} and performs initial configuration.
26
+
endif::[]
7
27
8
28
To use the CLI instead of the {ProjectWebUI}, see the xref:cli-creating-hosts-with-uefi-http-boot-provisioning_{context}[].
9
29
10
30
.Prerequisites
11
-
* Ensure that you meet the requirements for HTTP booting.
12
-
ifndef::orcharhino[]
13
-
For more information, see {PlanningDocURL}http-booting[HTTP booting] in _{PlanningDocTitle}_.
14
-
endif::[]
31
+
* Your {SmartProxy} has been configured for UEFI HTTP booting.
32
+
For more information, see xref:configuring-{smart-proxy-context}-for-uefi-http-booting[].
15
33
16
34
.Procedure
17
-
. Enable `foreman-proxy-http`, `foreman-proxy-httpboot`, and `foreman-proxy-tftp` features.
18
-
+
19
-
[options="nowrap" subs="+quotes,attributes"]
20
-
----
21
-
# {foreman-installer} \
22
-
--foreman-proxy-http true \
23
-
--foreman-proxy-httpboot true \
24
-
--foreman-proxy-tftp true
25
-
----
26
-
. Ensure that the {SmartProxy} has TFTP and HTTPBoot features recognized.
27
-
In the {ProjectWebUI}, navigate to *Infrastructure* > *{SmartProxies}* and click on {SmartProxy} to see the list of recognized features.
28
-
Click *Refresh Features* if any of the features are missing.
29
-
. Ensure that {SmartProxy} is associated with the provisioning subnet.
30
-
In the {ProjectWebUI}, navigate to *Infrastructure* > *Subnets* > *Edit Subnet* > *{SmartProxies}* and select the {SmartProxy} for both *TFTP* and *HTTPBoot* options.
. Click the *Operating System* tab, and verify that all fields contain values.
35
38
Confirm each aspect of the operating system.
36
39
. From the *PXE Loader* list, select *Grub2 UEFI HTTP*.
37
40
. Optional: Click *Resolve* in *Provisioning template* to check the new host can identify the right provisioning templates to use.
38
41
+
39
-
For more information about associating provisioning templates, see xref:creating-provisioning-templates[].
42
+
For more information about provisioning templates, see xref:provisioning-templates[].
40
43
ifdef::katello,satellite,orcharhino[]
41
44
include::snip_step-parameter-ak.adoc[]
42
45
endif::[]
43
46
. Click *Submit* to save the host details.
44
-
+
45
-
For more information about network interfaces, see {ManagingHostsDocURL}configuring-network-interfaces[Configuring network interfaces] in _{ManagingHostsDocTitle}_.
46
-
. Set the host to boot in UEFI mode from network.
47
-
. Start the host.
48
-
. From the boot menu, select *Kickstart default PXEGrub2*.
49
-
50
-
This creates the host entry and the relevant provisioning settings.
51
-
This also includes creating the necessary directories and files for UEFI booting the bare-metal host.
52
-
When you start the physical host and set its boot mode to UEFI HTTP, the host detects the defined DHCP service, receives HTTP endpoint of {SmartProxy} with the Kickstart tree and installs the operating system.
53
-
54
-
ifdef::katello,satellite,orcharhino[]
55
-
When the installation completes, the host also registers to {ProjectServer} using the activation key and installs the necessary configuration and management tools from the {project-client-name} repository.
. From the boot menu, select *Kickstart default PXEGrub2*.
97
-
98
-
This creates the host entry and the relevant provisioning settings.
99
-
This also includes creating the necessary directories and files for UEFI booting the bare-metal host.
100
-
When you start the physical host and set its boot mode to UEFI HTTP, the host detects the defined DHCP service, receives HTTP endpoint of {SmartProxy} with the Kickstart tree and installs the operating system.
101
-
102
-
ifdef::katello,satellite,orcharhino[]
103
-
When the installation completes, the host also registers to {ProjectServer} using the activation key and installs the necessary configuration and management tools from the {project-client-name} repository.
0 commit comments