Este contenido no está disponible en el idioma seleccionado.

Chapter 1. Introduction to provisioning


Provisioning is a process that starts with a bare physical or virtual machine and ends with a fully configured, ready-to-use operating system. Using Red Hat Satellite, you can define and automate fine-grained provisioning for a large number of hosts.

1.1. Provisioning methods in Red Hat Satellite

With Red Hat Satellite, you can provision hosts by using the following methods.

Bare-metal hosts

Satellite provisions bare-metal hosts primarily by using PXE boot and MAC address identification. When provisioning bare-metal hosts with Satellite, you can do the following:

  • Create host entries and specify the MAC address of the physical host to provision.
  • Boot blank hosts to use the Satellite Discovery service, which creates a pool of hosts that are ready for provisioning.
Cloud providers

Satellite connects to private and public cloud providers to provision instances of hosts from images stored in the cloud environment. When provisioning from cloud with Satellite, you can do the following:

  • Select which hardware profile to use.
  • Provision cloud instances from specific providers by using their APIs.
Virtualization infrastructure

Satellite connects to virtualization infrastructure services, such as Red Hat Virtualization and VMware. When provisioning virtual machines with Satellite, you can do the following:

  • Provision virtual machines from virtual image templates.
  • Use the same PXE-based boot methods that you use to provision bare-metal hosts.

1.2. Supported cloud providers

You can connect the following cloud providers as compute resources to Satellite:

  • Red Hat OpenStack Platform
  • Amazon EC2
  • Google Compute Engine
  • Microsoft Azure

1.3. Supported virtualization infrastructures

You can connect the following virtualization infrastructures as compute resources to Satellite:

  • KVM (libvirt)
  • Red Hat Virtualization (deprecated)
  • VMware
  • OpenShift Virtualization

1.4. Network boot provisioning workflow

The provisioning process follows a basic PXE workflow:

  1. You create a host and select a domain and subnet. Satellite requests an available IP address from the DHCP Capsule Server that is associated with the subnet or from the PostgreSQL database in Satellite. Satellite loads this IP address into the IP address field in the Create Host window. When you complete all the options for the new host, submit the new host request.
  2. Depending on the configuration specifications of the host and its domain and subnet, Satellite creates the following settings:

    • A DHCP record on Capsule Server that is associated with the subnet.
    • A forward DNS record on Capsule Server that is associated with the domain.
    • A reverse DNS record on the DNS Capsule Server that is associated with the subnet.
    • PXELinux, Grub, Grub2, and iPXE configuration files for the host in the TFTP Capsule Server that is associated with the subnet.
    • A Puppet certificate on the associated Puppet server.
    • A realm on the associated identity server.
  3. The host is configured to boot from the network as the first device and HDD as the second device.
  4. The new host requests a DHCP reservation from the DHCP server.
  5. The DHCP server responds to the reservation request and returns TFTP next-server and filename options.
  6. The host requests the boot loader and menu from the TFTP server according to the PXELoader setting.
  7. A boot loader is returned over TFTP.
  8. The boot loader fetches configuration for the host through its provisioning interface MAC address.
  9. The boot loader fetches the operating system installer kernel, init RAM disk, and boot parameters.
  10. The installer requests the provisioning template from Satellite.
  11. Satellite renders the provision template and returns the result to the host.
  12. The installer performs installation of the operating system.

    • The installer registers the host to Satellite by using Subscription Manager.
    • The installer notifies Satellite of a successful build in the postinstall script.
  13. The PXE configuration files revert to a local boot template.
  14. The host reboots.
  15. The new host requests a DHCP reservation from the DHCP server.
  16. The DHCP server responds to the reservation request and returns TFTP next-server and filename options.
  17. The host requests the bootloader and menu from the TFTP server according to the PXELoader setting.
  18. A boot loader is returned over TFTP.
  19. The boot loader fetches the configuration for the host through its provision interface MAC address.
  20. The boot loader initiates boot from the local drive.
  21. If you configured the host to use Puppet classes, the host uses the modules to configure itself.

The fully provisioned host performs the following workflow:

  1. The host is configured to boot from the network as the first device and HDD as the second device.
  2. The new host requests a DHCP reservation from the DHCP server.
  3. The DHCP server responds to the reservation request and returns TFTP next-server and filename options.
  4. The host requests the boot loader and menu from the TFTP server according to the PXELoader setting.
  5. A boot loader is returned over TFTP.
  6. The boot loader fetches the configuration settings for the host through its provisioning interface MAC address.
  7. For BIOS hosts:

    • The boot loader returns non-bootable device so BIOS skips to the next device (boot from HDD).
  8. For EFI hosts:

    • The boot loader finds Grub2 on a ESP partition and chainboots it.
  9. If the host is unknown to Satellite, a default bootloader configuration is provided. When Discovery service is enabled, it boots into discovery, otherwise it boots from HDD.

This workflow differs depending on custom options. For example:

Discovery
If you use the discovery service, Satellite automatically detects the MAC address of the new host and restarts the host after you submit a request. Note that TCP port 8443 must be reachable by the Capsule to which the host is attached for Satellite to restart the host.
PXE-less Provisioning
After you submit a new host request, you must boot the specific host with the boot disk that you download from Satellite and transfer by using an external storage device.
Compute Resources
Satellite creates the virtual machine and retrieves the MAC address and stores the MAC address in Satellite. If you use image-based provisioning, the host does not follow the standard PXE boot and operating system installation. The compute resource creates a copy of the image for the host to use. Depending on image settings in Satellite, seed data can be passed in for initial configuration, for example by using cloud-init. Satellite can connect to the host by using SSH and execute a template to finish the customization.

1.5. Required boot order for network boot

For physical or virtual BIOS hosts
  1. Set the first booting device as boot configuration with network.
  2. Set the second booting device as boot from hard drive. Satellite manages TFTP boot configuration files, so hosts can be easily provisioned just by rebooting.
For physical or virtual EFI hosts
  1. Set the first booting device as boot configuration with network.
  2. Depending on the EFI firmware type and configuration, the OS installer typically configures the OS boot loader as the first entry.
  3. To reboot into installer again, use the efibootmgr utility to switch back to boot from network.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.