-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularize Planning for Foreman guide
- Loading branch information
1 parent
3505062
commit a9fa831
Showing
14 changed files
with
158 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[id="{project-context}-deployment-planning"] | ||
= {Project} deployment planning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[id="{project-context}-overview-and-concepts"] | ||
= {Project} overview and concepts | ||
|
||
{ProjectName} is a centralized tool for provisioning, remote management, and monitoring of multiple {EL} deployments. | ||
With {Project}, you can deploy, configure, and maintain your systems across physical, virtual, and cloud environments. |
26 changes: 26 additions & 0 deletions
26
guides/common/modules/con_http-booting-requirements-with-managed-dhcp.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[id="http-booting-requirements-with-managed-dhcp"] | ||
= HTTP booting requirements with managed DHCP | ||
|
||
To provision machines through HTTP booting ensure that you meet the following requirements: | ||
|
||
.Client requirements | ||
For HTTP booting to work, ensure that your environment has the following client-side configurations: | ||
|
||
* All the network-based firewalls are configured to allow clients on the subnet to access the {SmartProxy}. | ||
For more information, see xref:{smart-proxy-context}-networking_{context}[]. | ||
* Your client has access to the DHCP and DNS servers. | ||
* Your client has access to the HTTP UEFI Boot {SmartProxy}. | ||
|
||
.Network requirements | ||
* Optional: If the host and the DHCP server are separated by a router, configure the DHCP relay agent and point to the DHCP server. | ||
|
||
.{Project} requirements | ||
Although TFTP protocol is not used for HTTP UEFI Booting, {Project} uses TFTP {SmartProxy} API to deploy boot loader configuration. | ||
|
||
For HTTP booting to work, ensure that {Project} has the following configurations: | ||
|
||
* Both {ProjectServer} and {SmartProxy} have DNS configured and are able to resolve provisioned host names. | ||
* The UDP ports 67 and 68 are accessible by the client so that the client can send and receive a DHCP request and offer. | ||
* Ensure that the TCP port 8000 is open for the client to download the boot loader and Kickstart templates from the {SmartProxy}. | ||
* The TCP port {smartproxy_port} is open for the client to download the boot loader from the {SmartProxy} using the HTTPS protocol. | ||
* The subnet that functions as the host's provisioning interface has a DHCP {SmartProxy}, an HTTP Boot {SmartProxy}, a TFTP {SmartProxy}, and a Templates {SmartProxy} |
29 changes: 29 additions & 0 deletions
29
guides/common/modules/con_http-booting-requirements-with-unmanaged-dhcp.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[id="http-booting-requirements-with-unmanaged-dhcp"] | ||
= HTTP booting requirements with unmanaged DHCP | ||
|
||
To provision machines through HTTP booting without managed DHCP ensure that you meet the following requirements: | ||
|
||
.Client requirements | ||
* HTTP UEFI Boot URL must be set to one of: | ||
** `\http://{smartproxy-example-com}:8000` | ||
** `\https://{smartproxy-example-com}:{smartproxy_port}` | ||
* Ensure that your client has access to the DHCP and DNS servers. | ||
* Ensure that your client has access to the HTTP UEFI Boot {SmartProxy}. | ||
* Ensure that all the network-based firewalls are configured to allow clients on the subnet to access the {SmartProxy}. | ||
For more information, see xref:{smart-proxy-context}-networking_{context}[]. | ||
|
||
.Network requirements | ||
* An unmanaged DHCP server available for clients. | ||
* An unmanaged DNS server available for clients. | ||
In case DNS is not available, use IP address to configure clients. | ||
|
||
.{Project} requirements | ||
Although TFTP protocol is not used for HTTP UEFI Booting, {Project} use TFTP {SmartProxy} API to deploy boot loader configuration. | ||
|
||
* Ensure that both {ProjectServer} and {SmartProxy} have DNS configured and are able to resolve provisioned host names. | ||
* Ensure that the UDP ports 67 and 68 are accessible by the client so that the client can send and receive a DHCP request and offer. | ||
* Ensure that the TCP port 8000 is open for the client to download boot loader and Kickstart templates from the {SmartProxy}. | ||
* Ensure that the TCP port {smartproxy_port} is open for the client to download the boot loader from the {SmartProxy} through HTTPS. | ||
* Ensure that the host provisioning interface subnet has an HTTP Boot {SmartProxy} set. | ||
* Ensure that the host provisioning interface subnet has a TFTP {SmartProxy} set. | ||
* Ensure that the host provisioning interface subnet has a Templates {SmartProxy} set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[id="http-booting"] | ||
= HTTP booting | ||
|
||
You can use HTTP booting to boot systems over a network using HTTP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[id="provisioning-concepts"] | ||
= Provisioning concepts | ||
|
||
An important feature of {ProjectName} is unattended provisioning of hosts. | ||
To achieve this, {ProjectName} uses DNS and DHCP infrastructures, PXE booting, TFTP, and Kickstart. | ||
Use this chapter to understand the working principle of these concepts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[id="pxe-booting-requirements"] | ||
= PXE booting requirements | ||
|
||
To provision machines using PXE booting, ensure that you meet the following requirements: | ||
|
||
.Network requirements | ||
* Optional: If the host and the DHCP server are separated by a router, configure the DHCP relay agent and point to the DHCP server. | ||
|
||
.Client requirements | ||
* Ensure that all the network-based firewalls are configured to allow clients on the subnet to access the {SmartProxy}. | ||
For more information, see xref:{smart-proxy-context}-networking_{context}[]. | ||
|
||
* Ensure that your client has access to the DHCP and TFTP servers. | ||
|
||
.{Project} requirements | ||
* Ensure that both {ProjectServer} and {SmartProxy} have DNS configured and are able to resolve provisioned host names. | ||
* Ensure that the UDP ports 67 and 68 are accessible by the client to enable the client to receive a DHCP offer with the boot options. | ||
* Ensure that the UDP port 69 is accessible by the client so that the client can access the TFTP server on the {SmartProxy}. | ||
* Ensure that the TCP port 80 is accessible by the client to allow the client to download files and Kickstart templates from the {SmartProxy}. | ||
* Ensure that the host provisioning interface subnet has a DHCP {SmartProxy} set. | ||
* Ensure that the host provisioning interface subnet has a TFTP {SmartProxy} set. | ||
* Ensure that the host provisioning interface subnet has a Templates {SmartProxy} set. | ||
* Ensure that DHCP with the correct subnet is enabled using the {Project} installer. | ||
* Enable TFTP using the {Project} installer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[id="pxe-booting"] | ||
= PXE booting | ||
|
||
Preboot execution environment (PXE) provides the ability to boot a system over a network. | ||
Instead of using local hard drives or a CD-ROM, PXE uses DHCP to provide host with standard information about the network, to discover a TFTP server, and to download a boot image. | ||
ifdef::satellite[] | ||
For more information about setting up a PXE server see the Red{nbsp}Hat Knowledgebase solution https://access.redhat.com/solutions/163253[How to set-up/configure a PXE Server]. | ||
endif::[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[id="pxe-sequence"] | ||
= PXE sequence | ||
|
||
. The host boots the PXE image if no other bootable image is found. | ||
. A NIC of the host sends a broadcast request to the DHCP server. | ||
. The DHCP server receives the request and sends standard information about the network: IP address, subnet mask, gateway, DNS, the location of a TFTP server, and a boot image. | ||
. The host obtains the boot loader `image/pxelinux.0` and the configuration file `pxelinux.cfg/00:MA:CA:AD:D` from the TFTP server. | ||
. The host configuration specifies the location of a kernel image, `initrd` and Kickstart. | ||
. The host downloads the files and installs the image. | ||
|
||
For an example of using PXE Booting by {ProjectServer}, see {ProvisioningDocURL}provisioning-workflow_provisioning[Provisioning Workflow] in _{ProvisioningDocTitle}_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[id="secure-boot"] | ||
= Secure boot | ||
|
||
When {Project} is installed on {EL} using `{foreman-installer}`, grub2 and shim boot loaders that are signed by Red Hat are deployed into the TFTP and HTTP UEFI Boot directory. | ||
PXE loader options named "SecureBoot" configure hosts to load `shim.efi`. | ||
|
||
On Debian and Ubuntu operating systems, the grub2 boot loader is created using the `grub2-mkimage` unsigned. | ||
To perform the Secure Boot, the boot loader must be manually signed and key enrolled into the EFI firmware. | ||
Alternatively, grub2 from Ubuntu or {EL} can be copied to perform booting. | ||
|
||
Grub2 in {EL} 8.0-8.3 were updated to mitigate https://access.redhat.com/security/vulnerabilities/grub2bootloader[Boot Hole Vulnerability] and keys of existing {EL} kernels were invalidated. | ||
To boot any of the affected {EL} kernel (or operating system installer), you must enroll keys manually into the EFI firmware for each host: | ||
|
||
[options="nowrap" subs="+quotes,attributes"] | ||
---- | ||
# pesign -P -h -i /boot/vmlinuz-<version> | ||
# mokutil --import-hash <hash value returned from pesign> | ||
# reboot | ||
---- |
2 changes: 1 addition & 1 deletion
2
...ules/ref_additional-resources-project-infrastructure-organization-concepts.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[id="additional-resources-project-infrastructure-organization-concepts_{context}"] | ||
= Additional resources | ||
|
||
* For examples of {Project} deployment, see xref:part-Deployment_Planning[]. | ||
* For examples of {Project} deployment, see xref:{project-context}-deployment-planning[]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 0 additions & 132 deletions
132
guides/doc-Planning_for_Project/topics/Provisioning_Concepts.adoc
This file was deleted.
Oops, something went wrong.