Provisioning hosts

Table of contents · Red Hat Satellite 6.15 and 6.19

BeforeRed Hat Satellite 6.15

  • Providing feedback on Red Hat documentation
  • 1. Introduction to provisioning
    • 1.1. Provisioning methods in Red Hat Satellite
    • 1.2. Supported cloud providers
    • 1.3. Supported virtualization infrastructures
    • 1.4. Network boot provisioning workflow
    • 1.5. Required boot order for network boot
  • 2. Configuring provisioning resources
    • 2.1. Provisioning contexts
    • 2.2. Setting the provisioning context
    • 2.3. Creating operating systems
    • 2.4. Updating the details of multiple operating systems
    • 2.5. Creating architectures
    • 2.6. Creating hardware models
    • 2.7. Using a synchronized Kickstart repository for a host’s operating system
    • 2.8. Adding installation media to Satellite
    • 2.9. Creating partition tables
    • 2.10. Dynamic partition example
    • 2.11. Provisioning templates
    • 2.12. Kinds of provisioning templates
    • 2.13. Creating provisioning templates
    • 2.14. Cloning provisioning templates
    • 2.15. Creating custom provisioning snippets
    • 2.16. Custom provisioning snippet example for Red Hat Enterprise Linux
    • 2.17. Associating templates with operating systems
    • 2.18. Creating compute profiles
    • 2.19. Setting a default encrypted root password for hosts
    • 2.20. Using noVNC to access virtual machines
  • 3. Configuring networking
    • 3.1. Facts and NIC filtering
    • 3.2. Optimizing performance by removing NICs from database
    • 3.3. Network resources
    • 3.4. Satellite and DHCP options
    • 3.5. Troubleshooting DHCP problems in Satellite
    • 3.6. Prerequisites for image-based provisioning
    • 3.7. Configuring network services
      • 3.7.1. Multiple subnets or domains using installer
      • 3.7.2. DHCP options for network configuration
      • 3.7.3. DNS options for network configuration
      • 3.7.4. TFTP options for network configuration
      • 3.7.5. Using TFTP services through NAT
    • 3.8. Adding a domain to Satellite Server
    • 3.9. Adding a subnet to Satellite Server
  • 4. Using Infoblox as DHCP and DNS providers
    • 4.1. Infoblox limitations
    • 4.2. Infoblox prerequisites
    • 4.3. Installing the Infoblox CA certificate on Capsule Server
    • 4.4. Installing the DHCP Infoblox module
    • 4.5. Installing the DNS Infoblox module
  • 5. Using PXE to provision hosts
    • 5.1. Prerequisites for bare-metal provisioning
    • 5.2. Configuring the security token validity duration
    • 5.3. Creating hosts with unattended provisioning
    • 5.4. Creating hosts with PXE-less provisioning
    • 5.5. Creating hosts with UEFI HTTP boot provisioning
    • 5.6. Deploying SSH keys during provisioning
  • 6. Using iPXE to reduce provisioning times
    • 6.1. Prerequisites for using iPXE
    • 6.2. Configuring iPXE environment
    • 6.3. Booting virtual machines
    • 6.4. Chainbooting iPXE from PXELinux
  • 7. Configuring the Discovery service
    • 7.1. Installing the Discovery service
    • 7.2. Provisioning template PXELinux Discovery snippet
    • 7.3. Automatic contexts for discovered hosts
    • 7.4. Discovery template and snippet settings
    • 7.5. Creating hosts from discovered hosts
    • 7.6. Creating Discovery rules
    • 7.7. Implementing PXE-less Discovery
    • 7.8. Unattended use, customization, and image remastering
    • 7.9. Extending the Discovery image
    • 7.10. Troubleshooting Discovery
  • 8. Configuring Satellite to provision from a Red Hat Image Builder image
    • 8.1. Provisioning from a Red Hat Image Builder image on Capsule
    • 8.2. Provisioning from a Red Hat Image Builder image on an HTTP server
    • 8.3. Packages required in a Red Hat Image Builder image
  • 9. Provisioning virtual machines on KVM (libvirt)
    • 9.1. Configuring Satellite Server for KVM connections
    • 9.2. Adding a KVM connection to Satellite Server
    • 9.3. Adding KVM images to Satellite Server
    • 9.4. Adding KVM details to a compute profile
    • 9.5. Creating hosts on KVM
  • 10. Provisioning virtual machines on Red Hat Virtualization
    • 10.1. Adding the Red Hat Virtualization connection to Satellite Server
    • 10.2. Preparing cloud-init images in Red Hat Virtualization
    • 10.3. Adding Red Hat Virtualization images to Satellite Server
    • 10.4. Preparing a cloud-init template
    • 10.5. Adding Red Hat Virtualization details to a compute profile
    • 10.6. Creating hosts on Red Hat Virtualization
  • 11. Provisioning virtual machines in VMware vSphere
    • 11.1. Prerequisites for VMware provisioning
    • 11.2. Creating a VMware user
    • 11.3. Adding a VMware connection to Satellite Server
    • 11.4. Adding VMware images to Satellite Server
    • 11.5. Adding VMware details to a compute profile
    • 11.6. Creating hosts on VMware
    • 11.7. Using VMware cloud-init and userdata templates for provisioning
    • 11.8. Deleting a VM on VMware
    • 11.9. Importing a virtual machine from VMware into Satellite
    • 11.10. Caching of compute resources
      • 11.10.1. Enabling caching of compute resources
      • 11.10.2. Refreshing the compute resources cache
  • 12. Provisioning virtual machines on OpenShift Virtualization
    • 12.1. Adding an OpenShift Virtualization connection to Satellite Server
  • 13. Provisioning cloud instances on Red Hat OpenStack Services on OpenShift
    • 13.1. Adding a Red Hat OpenStack Services on OpenShift connection to Satellite Server
    • 13.2. Adding Red Hat OpenStack Services on OpenShift images to Satellite Server
    • 13.3. Adding Red Hat OpenStack Services on OpenShift details to a compute profile
    • 13.4. Creating image-based hosts on Red Hat OpenStack Services on OpenShift
  • 14. Provisioning cloud instances in Amazon EC2
    • 14.1. Prerequisites for Amazon EC2 provisioning
    • 14.2. Adding an Amazon EC2 connection to the Satellite Server
    • 14.3. Using an HTTP proxy with compute resources
    • 14.4. Creating an image for Amazon EC2
    • 14.5. Adding Amazon EC2 images to Satellite Server
    • 14.6. Adding Amazon EC2 details to a compute profile
    • 14.7. Creating image-based hosts on Amazon EC2
    • 14.8. Connecting to an Amazon EC2 instance using SSH
    • 14.9. Configuring a finish template for an Amazon Web Service EC2 environment
    • 14.10. Deleting a virtual machine on Amazon EC2
    • 14.11. More information about Amazon Web Services and Satellite
  • 15. Provisioning cloud instances on Google Compute Engine
    • 15.1. Adding a Google GCE connection to Satellite Server
    • 15.2. Adding Google Compute Engine images to Satellite Server
    • 15.3. Adding Google GCE details to a compute profile
    • 15.4. Creating image-based hosts on Google Compute Engine
    • 15.5. Deleting a VM on Google GCE
  • 16. Provisioning cloud instances on Microsoft Azure Resource Manager
    • 16.1. Adding a Microsoft Azure Resource Manager connection to Satellite Server
    • 16.2. Adding Microsoft Azure Resource Manager images to Satellite Server
    • 16.3. Adding Microsoft Azure Resource Manager details to a compute profile
    • 16.4. Creating image-based hosts on Microsoft Azure Resource Manager
    • 16.5. Deleting a VM on Microsoft Azure
  • A. Initialization script for provisioning examples
  • B. Provisioning FIPS-compliant hosts
    • B.1. Changing the provisioning password hashing algorithm
    • B.2. Setting the FIPS-enabled parameter
    • B.3. Verifying FIPS mode is enabled
  • C. Building cloud images for Red Hat Satellite
    • C.1. Creating custom Red Hat Enterprise Linux images
    • C.2. Supported clients in registration
    • C.3. Configuring a host for registration
    • C.4. Registering a host
    • C.5. Installing and configuring Puppet agent manually
    • C.6. Completing the Red Hat Enterprise Linux 7 image
    • C.7. Completing the Red Hat Enterprise Linux 6 image
      • C.7.1. Next steps
    • C.8. Next steps
  • D. Host parameter hierarchy
  • E. Permissions required to provision hosts
  • Legal Notice

AfterRed Hat Satellite 6.19

  • Providing feedback on Red Hat documentation
  • 1. Introduction to provisioning
    • 1.1. Provisioning methods in Satellite
    • 1.2. Provisioning hardware types
    • 1.3. Supported client platforms in provisioning
    • 1.4. Supported cloud providers
    • 1.5. Supported virtualization infrastructures
  • 2. Preparing networking for host management
    • 2.1. Facts and NIC filtering
    • 2.2. Optimizing performance by removing NICs from database
    • 2.3. Resources for network-based provisioning
      • 2.3.1. Options in managed DHCPv4
      • 2.3.2. Options in unmanaged DHCPv6
    • 2.4. Prerequisites for image-based provisioning
      • 2.4.1. Multiple subnets or domains using installer
      • 2.4.2. DNS options for network configuration
      • 2.4.3. TFTP options for network configuration
    • 2.5. Adding a domain to Satellite Server by using Satellite web UI
    • 2.6. Adding a domain to Satellite Server by using Hammer CLI
    • 2.7. Adding a subnet to Satellite Server by using Satellite web UI
    • 2.8. Adding a subnet to Satellite Server by using Hammer CLI
    • 2.9. Troubleshooting DNS problems
  • 3. Preparing provisioning content
    • 3.1. Preparing a synchronized Kickstart repository
    • 3.2. Adding installation media to Satellite by using Satellite web UI
    • 3.3. Adding installation media to Satellite by using Hammer CLI
    • 3.4. Configuring Satellite to provision from a Red Hat Image Builder image
      • 3.4.1. Provisioning from a Red Hat Image Builder image on Capsule
      • 3.4.2. Provisioning from a Red Hat Image Builder image on an HTTP server
      • 3.4.3. Packages required in a Red Hat Image Builder image
  • 4. Preparing client platforms
    • 4.1. Compute profiles in Satellite
    • 4.2. Creating operating systems by using Satellite web UI
    • 4.3. Creating operating systems by using Hammer CLI
    • 4.4. Updating the details of multiple operating systems
    • 4.5. Creating architectures by using Satellite web UI
    • 4.6. Creating architectures by using Hammer CLI
    • 4.7. Creating hardware models by using Satellite web UI
    • 4.8. Creating hardware models by using Hammer CLI
    • 4.9. Creating compute profiles by using Satellite web UI
    • 4.10. Creating compute profiles by using Hammer CLI
  • 5. Preparing templates for provisioning
    • 5.1. Provisioning templates
    • 5.2. Kinds of provisioning templates
    • 5.3. Creating provisioning templates by using Satellite web UI
    • 5.4. Creating provisioning templates by using Hammer CLI
    • 5.5. Cloning provisioning templates
    • 5.6. Running custom code during host provisioning by using Satellite web UI
    • 5.7. Running custom code during host provisioning by using Hammer CLI
    • 5.8. Custom provisioning snippet example for Red Hat Enterprise Linux
    • 5.9. Deploying SSH keys during provisioning
    • 5.10. Associating templates with operating systems by using Satellite web UI
    • 5.11. Associating templates with operating systems by using Hammer CLI
    • 5.12. Creating partition tables by using Satellite web UI
    • 5.13. Creating partition tables by using Hammer CLI
    • 5.14. Associating partition tables with disk encryption
    • 5.15. Dynamic partition example
  • 6. Security settings for provisioning
    • 6.1. Configuring the security token validity duration
    • 6.2. Setting a default encrypted root password for hosts
    • 6.3. Provisioning FIPS-compliant hosts
      • 6.3.1. Changing the provisioning password hashing algorithm
      • 6.3.2. Setting the FIPS-enabled parameter
      • 6.3.3. Verifying FIPS mode is enabled
  • 7. Provisioning contexts for Satellite resources
    • 7.1. Setting the provisioning context by using Satellite web UI
    • 7.2. Setting the provisioning context by using Hammer CLI
  • 8. Using network boot to provision hosts
    • 8.1. Network boot provisioning workflow
    • 8.2. Prerequisites for network-boot provisioning
    • 8.3. Required boot order for network boot
    • 8.4. Configuring Capsule to provision Red Hat Enterprise Linux by using UEFI
    • 8.5. Creating hosts with PXE boot provisioning by using Satellite web UI
    • 8.6. Creating hosts with PXE boot provisioning by using Hammer CLI
    • 8.7. Configuring Capsule for UEFI HTTP booting
    • 8.8. Creating hosts with UEFI HTTP boot provisioning by using Satellite web UI
    • 8.9. Creating hosts with UEFI HTTP boot provisioning by using Hammer CLI
    • 8.10. Using iPXE to reduce provisioning times
      • 8.10.1. Prerequisites for using iPXE
      • 8.10.2. Configuring iPXE environment
      • 8.10.3. Booting virtual machines
      • 8.10.4. Chainbooting iPXE from PXELinux
    • 8.11. PXE loaders in Satellite
  • 9. Using boot disks to provision hosts
    • 9.1. Boot disk workflow
    • 9.2. Boot disk types
    • 9.3. Generating a full host boot disk by using Satellite web UI
    • 9.4. Generating a full host boot disk by using Hammer CLI
    • 9.5. Generating a subnet boot disk by using Satellite web UI
    • 9.6. Generating a subnet boot disk by using Hammer CLI
  • 10. Discovering hosts on a network
    • 10.1. Prerequisites for using Discovery
    • 10.2. Installing the Discovery service
    • 10.3. Discovery in PXE mode
      • 10.3.1. Setting Discovery as the default PXE boot option
      • 10.3.2. Performing Discovery in PXE mode
      • 10.3.3. Customizing the Discovery PXE boot
      • 10.3.4. Host Discovery from multiple Capsule Servers
    • 10.4. Discovery in PXE-less mode
      • 10.4.1. Performing Discovery in PXE-less mode
      • 10.4.2. Customizing the Discovery ISO
    • 10.5. Automatic contexts for discovered hosts
    • 10.6. Creating hosts from discovered hosts by using Satellite web UI
    • 10.7. Creating hosts from discovered hosts by using Hammer CLI
    • 10.8. Creating Discovery rules by using Satellite web UI
    • 10.9. Creating Discovery rules by using Hammer CLI
    • 10.10. Extending the Discovery image
    • 10.11. Kernel parameters for Discovery customization
    • 10.12. Troubleshooting Discovery failures
  • 11. Provisioning virtual machines on KVM
    • 11.1. Configuring Satellite Server for KVM connections
    • 11.2. Adding a KVM connection to Satellite Server by using Satellite web UI
    • 11.3. Adding a KVM connection to Satellite Server by using Hammer CLI
    • 11.4. Adding KVM images to Satellite by using Satellite web UI
    • 11.5. Adding KVM images to Satellite by using Hammer CLI
    • 11.6. Adding KVM details to a compute profile by using Satellite web UI
    • 11.7. Adding KVM details to a compute profile by using Hammer CLI
    • 11.8. Creating hosts on KVM by using Satellite web UI
    • 11.9. Creating hosts on KVM by using Hammer CLI
    • 11.10. Deleting a virtual machine on KVM
  • 12. Provisioning virtual machines in VMware
    • 12.1. Prerequisites for VMware provisioning
    • 12.2. VMware user privileges
    • 12.3. Adding a VMware connection to Satellite Server by using Satellite web UI
    • 12.4. Adding a VMware connection to Satellite Server by using Hammer CLI
    • 12.5. Adding VMware images to Satellite Server by using Satellite web UI
    • 12.6. Adding VMware images to Satellite Server by using Hammer CLI
    • 12.7. Adding VMware details to a compute profile by using Satellite web UI
    • 12.8. Adding VMware details to a compute profile by using Hammer CLI
    • 12.9. Creating hosts on VMware by using Satellite web UI
    • 12.10. Creating hosts on VMware by using Hammer CLI
    • 12.11. VMware cloud-init provisioning overview
    • 12.12. Associating the userdata and cloud-init templates with the operating system
    • 12.13. Preparing an image to use the cloud-init template
    • 12.14. Using VMware cloud-init and userdata templates for provisioning
    • 12.15. Deleting a virtual machine on VMware
    • 12.16. Importing a virtual machine from VMware into Satellite
    • 12.17. Caching of compute resources
      • 12.17.1. Enabling caching of compute resources
      • 12.17.2. Refreshing the compute resources cache by using Satellite web UI
      • 12.17.3. Refreshing the compute resources cache by using Hammer CLI
  • 13. Provisioning virtual machines on OpenShift Virtualization
    • 13.1. Adding an OpenShift Virtualization connection to Satellite Server
  • 14. Provisioning cloud instances on Red Hat OpenStack Services on OpenShift
    • 14.1. Prerequisites for Red Hat OpenStack Services on OpenShift provisioning
    • 14.2. Adding a Red Hat OpenStack Services on OpenShift connection to Satellite Server by using Satellite web UI
    • 14.3. Adding a Red Hat OpenStack Services on OpenShift connection to Satellite Server by using Hammer CLI
    • 14.4. Adding Red Hat OpenStack Services on OpenShift images to Satellite by using Satellite web UI
    • 14.5. Adding Red Hat OpenStack Services on OpenShift images to Satellite by using Hammer CLI
    • 14.6. Adding Red Hat OpenStack Services on OpenShift details to a compute profile by using Satellite web UI
    • 14.7. Adding Red Hat OpenStack Services on OpenShift details to a compute profile by using Hammer CLI
    • 14.8. Creating image-based hosts on Red Hat OpenStack Services on OpenShift by using Satellite web UI
    • 14.9. Creating image-based hosts on Red Hat OpenStack Services on OpenShift by using Hammer CLI
  • 15. Provisioning cloud instances on Amazon EC2
    • 15.1. HTTP proxy for communication with Amazon EC2
    • 15.2. Adding an Amazon EC2 connection to Satellite Server by using Satellite web UI
    • 15.3. Adding an Amazon EC2 connection to Satellite Server by using Hammer CLI
    • 15.4. Creating an image for Amazon EC2
    • 15.5. Adding Amazon EC2 images to Satellite Server by using Satellite web UI
    • 15.6. Adding Amazon EC2 images to Satellite Server by using Hammer CLI
    • 15.7. Adding Amazon EC2 details to a compute profile by using Satellite web UI
    • 15.8. Adding Amazon EC2 details to a compute profile by using Hammer CLI
    • 15.9. Creating image-based hosts on Amazon EC2 by using Satellite web UI
    • 15.10. Creating image-based hosts on Amazon EC2 by using Hammer CLI
    • 15.11. Connecting to an Amazon EC2 instance by using SSH
    • 15.12. Configuring a finish template for an Amazon Web Service EC2 environment
    • 15.13. Deleting a virtual machine on Amazon EC2
    • 15.14. More information about Amazon Web Services and Satellite
  • 16. Provisioning cloud instances on Google Compute Engine
    • 16.1. Prerequisites for Google Compute Engine provisioning
    • 16.2. Adding a GCE connection to Satellite Server by using Satellite web UI
    • 16.3. Adding a GCE connection to Satellite Server by using Hammer CLI
    • 16.4. Adding Google Compute Engine images to Satellite by using Satellite web UI
    • 16.5. Adding Google Compute Engine images to Satellite by using Hammer CLI
    • 16.6. Adding GCE details to a compute profile by using Satellite web UI
    • 16.7. Adding GCE details to a compute profile by using Hammer CLI
    • 16.8. Creating image-based hosts on Google Compute Engine by using Satellite web UI
    • 16.9. Creating image-based hosts on Google Compute Engine by using Hammer CLI
    • 16.10. Deleting a virtual machine on Google Compute Engine
  • 17. Provisioning cloud instances on Microsoft Azure
    • 17.1. Prerequisites for Microsoft Azure provisioning
    • 17.2. Adding a Microsoft Azure connection by using Satellite web UI
    • 17.3. Adding a Microsoft Azure connection to Satellite Server by using Hammer CLI
    • 17.4. Adding Microsoft Azure images to Satellite by using Satellite web UI
    • 17.5. Adding Microsoft Azure images to Satellite by using Hammer CLI
    • 17.6. Adding Microsoft Azure details to a compute profile by using Satellite web UI
    • 17.7. Adding Microsoft Azure details to a compute profile by using Hammer CLI
    • 17.8. Creating image-based hosts on Microsoft Azure by using Satellite web UI
    • 17.9. Creating image-based hosts on Microsoft Azure by using Hammer CLI
    • 17.10. Deleting a virtual machine on Microsoft Azure
  • A. Using noVNC to access virtual machines
  • B. Building cloud images for Satellite
    • B.1. Preconfigured Red Hat Enterprise Linux KVM guest images
    • B.2. Host requirements for custom Red Hat Enterprise Linux images
    • B.3. Supported clients in registration
    • B.4. Configuring a host for registration
    • B.5. Registering a host by using Satellite web UI
    • B.6. Registering a host by using Hammer CLI
    • B.7. Registering a host by using Satellite API
    • B.8. Registering a host by using Ansible
    • B.9. Configuring OpenVox agent on a host manually
    • B.10. Completing the Red Hat Enterprise Linux 7 image
  • C. Host parameter hierarchy
  • D. Permissions required to provision hosts
  • E. Boot loader management and file structure
    • E.1. Boot loader types in Satellite
    • E.2. PXELinux boot loaders
    • E.3. Grub2 UEFI boot loader and the bootloader-universe structure
    • E.4. HTTP-capable boot loaders
  • Legal Notice