Bookmark this page

Guided Exercise: Configure Organizations and Content Manifests

Install a content manifest for an organization in Satellite Server.

Outcomes

  • Add an organization and a location and install a content manifest for an organization.

As the student user on the workstation machine, use the lab command to prepare your system for this exercise.

This command ensures that the satellite host is reachable on the network and prepares it for this exercise.

[student@workstation ~]$ lab start deploy-manifest

Instructions

Important

To reduce exercise wait time, the initial Satellite classroom environment contains the preconfigured Operations and Finance organizations, each with an imported subscription manifest and presynchronized RHEL 9 BaseOS and AppStream repositories. This exercise uses the Marketing organization to practice creating an organization and loading a subscription manifest.

  1. Log in to the Satellite Server web UI, https://satellite.lab.example.com, by using the admin account and the redhat password.

  2. Create the Marketing organization.

    1. Click AdministerOrganizations.

    2. On the Organizations page, click New Organization.

    3. Enter Marketing in the Name and Label fields.

    4. Enter Marketing Department in the Description field, and then click Submit.

  3. Configure the Marketing organization to use the http://cdn.lab.example.com local classroom location for Red Hat content. Configure the Marketing organization's subscriptions by loading the manifest_marketing.zip manifest from the /home/student directory on the workstation system.

    1. Verify that the Marketing organization is selected in the top navigation bar.

    2. Navigate to ContentSubscriptions and then click Import a Manifest.

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

      Important

      A correct CDN URL value is necessary for successful course operation. If the URL is incorrect, then return to ContentSubscriptions and click Manage Manifest. On the Manage Manifest dialog, click the CDN Configuration tab and update the URL field to http://cdn.lab.example.com.

    4. Click the manifest tab. Click Browse, select the manifest_marketing.zip file from the /home/student directory, and click Open.

    5. Verify that the manifest's subscriptions are now listed under ContentSubscriptions.

  4. Create the Boston location and associate the Operations organization with that location.

    1. Click AdministerLocations, and then click New Location on the Locations page.

    2. Enter Boston in the Name field, and then click Submit.

    3. Click the Organizations link to open the Select organizations dual-list selector.

    4. Move the Operations item from the All Items column to the Selected Items column, to associate the Operations organization with the Boston location.

    5. Click Submit.

  5. From the command line, verify that the Operations organization and the Boston location exist and are associated with each other.

    1. On workstation, log in to the satellite system as the student user and switch to the root user.

      [student@workstation ~]$ ssh student@satellite
      [student@satellite ~]$ sudo -i
      [sudo] password for student: student
      [root@satellite ~]#
    2. Verify that the Operations organization exists. The ID of the organizations and locations might differ in your classroom.

      [root@satellite ~]# hammer --output base organization list
      Id:          1
      Title:       Default Organization
      Name:        Default Organization
      Description:
      
      Label:       Default_Organization
      
      Id:          7
      Title:       Finance
      Name:        Finance
      Description:
      
      Label:       Finance
      
      Id:          6
      Title:       Operations
      Name:        Operations
      Description:
      
      Label:       Operations
    3. Verify that the Boston location exists.

      [root@satellite ~]# hammer --output base location list
      Id:          10
      Title:       Boston
      Name:        Boston
      Description:
      
      Id:          2
      Title:       Default Location
      Name:        Default Location
      Description:
    4. Verify that currently only the Boston location is associated with the Operations organization.

      [root@satellite ~]# hammer --output base location list --organization Operations
      Id:          10
      Title:       Boston
      Name:        Boston
      Description:
    5. Verify that currently only the Operations organization is associated with the Boston location.

      [root@satellite ~]# hammer --output base organization list --location Boston
      Id:          6
      Title:       Operations
      Name:        Operations
      Description:
      
      Label:       Operations
    6. Return to the workstation system as the student user.

      [root@satellite ~]# exit
      logout
      [student@satellite ~]$ exit
      logout
      Connection to satellite closed.
      [student@workstation ~]$

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 deploy-manifest

Revision: rh403-6.11-3ad886e