このコンテンツは選択した言語では利用できません。

Chapter 4. Preparing client platforms


You have to configure the platforms that you will provision. That entails creating a hardware model, CPU architecture, and operating system.

Note

The records for Red Hat supported platforms are created automatically when you enable a Red Hat repository.

4.1. Creating operating systems

An operating system is a collection of resources that define how Satellite Server installs a base operating system on a host. Operating system entries combine previously defined resources, such as installation media, partition tables, provisioning templates, and others.

Importing operating systems from Red Hat’s CDN creates new entries on the Hosts > Provisioning Setup > Operating Systems page. To import operating systems from Red Hat’s CDN, enable the Red Hat repositories of the operating systems and synchronize the repositories to Satellite. For more information, see Enabling Red Hat Repositories and Synchronizing Repositories in Managing content.

You can also add custom operating systems using the following procedure. To use the CLI instead of the Satellite web UI, see the CLI procedure.

Procedure

  1. In the Satellite web UI, navigate to Hosts > Operating systems and click New Operating system.
  2. In the Name field, enter a name to represent the operating system entry.
  3. In the Major field, enter the number that corresponds to the major version of the operating system.
  4. In the Minor field, enter the number that corresponds to the minor version of the operating system.
  5. In the Description field, enter a description of the operating system.
  6. From the Family list, select the operating system’s family.
  7. From the Root Password Hash list, select the encoding method for the root password.
  8. From the Architectures list, select the architectures that the operating system uses.
  9. Click the Partition table tab and select the possible partition tables that apply to this operating system.
  10. Optional: If you use non-Red Hat content, click the Installation Media tab and select the installation media that apply to this operating system. For more information, see Adding Installation Media to Satellite.
  11. Click the Templates tab and select a PXELinux template, a Provisioning template, and a Finish template for your operating system to use. You can select other templates, for example an iPXE template, if you plan to use iPXE for provisioning.
  12. Click Submit to save your provisioning template.

CLI procedure

  • Create the operating system using the hammer os create command:

    $ hammer os create \
    --architectures "x86_64" \
    --description "Red Hat Enterprise Linux 9" \
    --family "Redhat" \
    --major 9 \
    --media "Red Hat" \
    --minor 5 \
    --name "Red Hat Enterprise Linux" \
    --partition-tables "My_Partition_Table" \
    --provisioning-templates "My_Provisioning_Template"
    Copy to Clipboard Toggle word wrap

4.2. Updating the details of multiple operating systems

Use this procedure to update the details of multiple operating systems. This example shows you how to assign each operating system a partition table called Kickstart default, a configuration template called Kickstart default PXELinux, and a provisioning template called Kickstart Default.

Procedure

  1. On Satellite Server, run the following Bash script:

    PARTID=$(hammer --csv partition-table list | grep "Kickstart default," | cut -d, -f1)
    PXEID=$(hammer --csv template list --per-page=1000 | grep "Kickstart default PXELinux" | cut -d, -f1)
    SATELLITE_ID=$(hammer --csv template list --per-page=1000 | grep "provision" | grep ",Kickstart default" | cut -d, -f1)
    
    for i in $(hammer --no-headers --csv os list | awk -F, {'print $1'})
    do
       hammer partition-table add-operatingsystem --id="${PARTID}" --operatingsystem-id="${i}"
       hammer template add-operatingsystem --id="${PXEID}" --operatingsystem-id="${i}"
       hammer os set-default-template --id="${i}" --config-template-id=${PXEID}
       hammer os add-config-template --id="${i}" --config-template-id=${SATELLITE_ID}
       hammer os set-default-template --id="${i}" --config-template-id=${SATELLITE_ID}
    done
    Copy to Clipboard Toggle word wrap
  2. Display information about the updated operating system to verify that the operating system is updated correctly:

    $ hammer os info --id 1
    Copy to Clipboard Toggle word wrap

4.3. Creating architectures

An architecture in Satellite represents a logical grouping of hosts and operating systems. Architectures are created by Satellite automatically when hosts check in with Puppet. The x86_64 architecture is already preset in Satellite.

Use this procedure to create an architecture in Satellite.

Supported architectures

Only Intel x86_64 architecture is supported for provisioning using PXE, Discovery, and boot disk. For more information, see the Red Hat Knowledgebase solution Supported architectures and provisioning scenarios in Satellite 6.

Procedure

  1. In the Satellite web UI, navigate to Hosts > Provisioning Setup > Architectures.
  2. Click Create Architecture.
  3. In the Name field, enter a name for the architecture.
  4. From the Operating Systems list, select an operating system. If none are available, you can create and assign them under Hosts > Provisioning Setup > Operating Systems.
  5. Click Submit.

CLI procedure

  • Enter the hammer architecture create command to create an architecture. Specify its name and operating systems that include this architecture:

    $ hammer architecture create \
    --name "My_Architecture" \
    --operatingsystems "My_Operating_System"
    Copy to Clipboard Toggle word wrap

4.4. Creating hardware models

Use this procedure to create a hardware model in Satellite so that you can specify which hardware model a host uses.

Procedure

  1. In the Satellite web UI, navigate to Hosts > Provisioning Setup > Hardware Models.
  2. Click Create Model.
  3. In the Name field, enter a name for the hardware model.
  4. Optionally, in the Hardware Model and Vendor Class fields, you can enter corresponding information for your system.
  5. In the Info field, enter a description of the hardware model.
  6. Click Submit to save your hardware model.

CLI procedure

  • Create a hardware model using the hammer model create command. The only required parameter is --name. Optionally, enter the hardware model with the --hardware-model option, a vendor class with the --vendor-class option, and a description with the --info option:

    $ hammer model create \
    --hardware-model "My_Hardware_Model" \
    --info "My_Description" \
    --name "My_Hardware_Model_Name" \
    --vendor-class "My_Vendor_Class"
    Copy to Clipboard Toggle word wrap

4.5. Creating compute profiles

You can use compute profiles to predefine virtual machine hardware details such as CPUs, memory, and storage.

To use the CLI instead of the Satellite web UI, see the CLI procedure.

A default installation of Red Hat Satellite contains three predefined profiles:

  • 1-Small
  • 2-Medium
  • 3-Large

You can apply compute profiles to all supported compute resources:

Procedure

  1. In the Satellite web UI, navigate to Infrastructure > Compute Profiles and click Create Compute Profile.
  2. In the Name field, enter a name for the profile.
  3. Click Submit. A new window opens with the name of the compute profile.
  4. In the new window, click the name of each compute resource and edit the attributes you want to set for this compute profile.

CLI procedure

  1. Create a new compute profile:

    $ hammer compute-profile create --name "My_Compute_Profile"
    Copy to Clipboard Toggle word wrap
  2. Set attributes for the compute profile:

    $ hammer compute-profile values create \
    --compute-attributes "flavor=m1.small,cpus=2,memory=4GB,cpu_mode=default \
    --compute-resource "My_Compute_Resource" \
    --compute-profile "My_Compute_Profile" \
    --volume size=40GB
    Copy to Clipboard Toggle word wrap
  3. Optional: To update the attributes of a compute profile, specify the attributes you want to change. For example, to change the number of CPUs and memory size:

    $ hammer compute-profile values update \
    --compute-resource "My_Compute_Resource" \
    --compute-profile "My_Compute_Profile" \
    --attributes "cpus=2,memory=4GB" \
    --interface "type=network,bridge=br1,index=1" \
    --volume "size=40GB"
    Copy to Clipboard Toggle word wrap
  4. Optional: To change the name of the compute profile, use the --new-name attribute:

    $ hammer compute-profile update \
    --name "My_Compute_Profile" \
    --new-name "My_New_Compute_Profile"
    Copy to Clipboard Toggle word wrap

Additional resources

  • For more information about creating compute profiles by using Hammer, enter hammer compute-profile --help.
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat