Bookmark this page

Guided Exercise: Configure Satellite Capsule Server Services

Verify that your Capsule Server is installed correctly, and configure an additional service in the Capsule Server.

Outcomes

  • Verify the current status for the Capsule Server.

  • Install and enable the Ansible service in the Capsule Server.

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 capsule-enable

Instructions

  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 Operations. Set the location to Boston.

  3. View the current status of the recently installed Capsule Server.

    1. Verify that the Capsule Server contains no synced content. Click InfrastructureCapsules, and then click capsule.lab.example.com. Click the Content tab, and notice that no content is synced to the Capsule Server from the Satellite Server.

    2. View the current status of the Capsule Server services. Click the Services tab, and notice that the capsule is running the following services: Container_Gateway, Dynflow, Content, Registration, SSH, and Templates.

    3. Click the Logs tab, and notice the most recent log messages about initialization of Capsule Server services.

  4. Install and enable the Ansible service in the Capsule Server.

    1. Log in to the capsule system as the student user and switch to the root user.

      [student@workstation ~]$ ssh student@capsule
      [student@capsule ~]$ sudo -i
      [sudo] password for student: student
      [root@capsule ~]#
    2. Review the Capsule Server options for the Foreman proxy services. Look for the --enable-foreman-proxy-plugin-ansible option and read the description for the service to be installed.

      [root@capsule ~]# satellite-installer --scenario capsule --help
      Usage:
          satellite-installer [OPTIONS]
      
      Options:
      
      = Generic:
      ...output omitted...
          --[no-]enable-foreman-proxy   Enable 'foreman_proxy' puppet module (default: true)
          --[no-]enable-foreman-proxy-content Enable 'foreman_proxy_content' puppet module (default: true)
          --[no-]enable-foreman-proxy-plugin-ansible Enable 'foreman_proxy_plugin_ansible' puppet module (default: false)
          --[no-]enable-foreman-proxy-plugin-dhcp-infoblox Enable 'foreman_proxy_plugin_dhcp_infoblox' puppet module (default: false)
          --[no-]enable-foreman-proxy-plugin-dhcp-remote-isc Enable 'foreman_proxy_plugin_dhcp_remote_isc' puppet module (default: false)
          --[no-]enable-foreman-proxy-plugin-discovery Enable 'foreman_proxy_plugin_discovery' puppet module (default: false)
          --[no-]enable-foreman-proxy-plugin-dns-infoblox Enable 'foreman_proxy_plugin_dns_infoblox' puppet module (default: false)
      ...output omitted...
    3. Install the Ansible service.

      [root@capsule ~]# satellite-installer --scenario capsule \
      --enable-foreman-proxy-plugin-ansible
      ...output omitted...
        Success!
        * Capsule is running at https://capsule.lab.example.com:9090
        The full log is at /var/log/foreman-installer/capsule.log
    4. Verify that the Ansible service is enabled in the Capsule Server. In the Satellite web UI, click InfrastructureCapsules and then click capsule.lab.example.com. Click the Services tab and notice that the Ansible service is now listed.

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 capsule-enable

Revision: rh403-6.11-3ad886e