Bookmark this page

Lab: Configure a Satellite Server

Create an organization with a location, a lifecycle environment path, and a content view on an existing Satellite Server.

Outcomes

  • Create an organization and add subscription entitlements from a downloaded manifest file.

  • Add a location to the organization.

  • Create a lifecycle environment path with multiple lifecycle environments.

  • Create, publish, and promote a content view with repository software.

Important

The comprehensive review labs are related exercises, and you can start with any lab in the sequence. You must reset your lab environment before starting your first comprehensive review lab, to remove objects that were created during previous course chapters that can conflict with your lab tasks.

As the student user on the workstation machine, use the lab command to prepare your system for this exercise. This command prepares your environment and ensures that all required resources are available.

[student@workstation ~]$ lab start compreview-configure

Specifications

  • Create a Marketing organization with a San Francisco location.

  • Configure the Marketing organization entitlements and set the source to the local classroom CDN.

  • Create a lifecycle environment path to contain three lifecycle environments, in this order: Development, QA, and Production.

  • Create a content view called MarketingServerBase with the RHEL 9 BaseOS repository.

  • Publish and promote the MarketingServerBase content view to the Development lifecycle environment in the Marketing organization.

  1. Log in to the Satellite Server web UI, https://satellite.lab.example.com, as the admin user with redhat as the password.

  2. In the upper-left corner of the web page, set the organization to Default Organization. Set the location to Any Location.

  3. Create the Marketing organization and configure its source CDN and entitlements.

    1. Click AdministerOrganizations, and then click New Organization. Enter Marketing in the Name and Label fields. Click Submit. On the Edit Marketing page, again click Submit.

    2. In the upper-left corner of the web page, set the organization to Marketing.

    3. Click ContentSubscriptions, and then click Import a Manifest. Click the CDN Configuration tab. Replace the URL field's default value with http://cdn.lab.example.com, and then click Update.

    4. Click the manifest tab. Click Browse, select the manifest_marketing.zip file from the /home/student directory, and click Open. Verify that the manifest's subscriptions are now listed under ContentSubscriptions.

  4. Enable and synchronize the RHEL 9 BaseOS repository.

    1. Click ContentRed Hat Repositories. Enter RHEL 9 x86_64 in the Search field, and then click Search.

    2. In the Available Repositories list, click the greater-than symbol (>) to the left of the Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) repository to expand the version information. Click the plus sign (+) to the right of x86_64 9 to enable that repository and version.

    3. Click AdministerSettings and then click the Content tab. In the Name column, locate the Default Red Hat Repository download policy entry, and verify that this policy is set to on_demand.

    4. Click ContentProducts and then click the Red Hat Enterprise Linux for x86_64 link. Select the checkbox for the Red Hat Enterprise Linux 9 for x86_64 - BaseOS RPMs 9 repository. Click Select ActionSync Now. Wait until the process completes.

  5. Add the San Francisco location to the Marketing organization.

    1. Click AdministerLocations, and then Click New Location. Enter San Francisco in the Name field. Click Submit.

    2. On the Edit San Francisco page, click the Organizations tab. In the All items list, select the Marketing organization to move it to the Selected items list. Click Submit.

  6. Create a lifecycle environment path to contain three lifecycle environments in this order: Development, QA, and Production.

    1. In the upper-left corner of the web page, set the organization to Marketing. Set the location to Any Location.

    2. Click ContentLifecycle Environments, and then click Create Environment Path. Enter Development in the Name field. Click Save.

    3. Click Add New Environment. Enter QA in the Name field. Select Development in the Prior Environment field. Click Save.

    4. Click Add New Environment. Enter Production in the Name field. Select QA in the Prior Environment field. Click Save.

  7. Create the MarketingServerBase content view to contain the RHEL 9 BaseOS repository. Publish and promote the content view to the Development lifecycle environment in the Marketing organization.

    1. Click ContentContent Views, and then click Create content view. Enter MarketingServerBase in the Name field. Click Create content view.

    2. In the Repositories tab, select the checkbox for the Red Hat Enterprise Linux 9 for x86_64 - BaseOS RPMs 9 repository. Click Add Repositories.

    3. Click Publish new version. Enter Add BaseOS repository in the Description field. Click the Promote switch. Select the checkbox for the Development lifecycle environment. Click Next.

    4. Review the details, and then click Finish. Wait for the process to complete.

Evaluation

As the student user on the workstation machine, use the lab command to grade your work. Correct any reported failures and rerun the command until successful.

[student@workstation ~]$ lab grade compreview-configure

Finish

On the workstation machine, change to the student user home directory and use the lab command to complete this exercise. This step is important to ensure that resources from previous exercises do not impact upcoming exercises.

[student@workstation ~]$ lab finish compreview-configure

Revision: rh403-6.11-3ad886e