Show Table of Contents
5.5. Adding Lifecycle Environments to a Red Hat Satellite Capsule Server
If the newly created Red Hat Satellite Capsule Server has Content Node features enabled, the Satellite Capsule Server needs an environment added to the Satellite Capsule Server. Adding an environment to the Red Hat Satellite Capsule Server will allow the Satellite Capsule Server to synchronize content from the Satellite Server and provide content to host systems.
Important
The Satellite Capsule Server is configured through the Satellite Server's command line interface (CLI). Execute all
hammer commands on the Satellite Server.
To add environments to your Satellite Capsule Server:
- Log in to the Satellite Server CLI as root.
- Choose the desired Red Hat Satellite Capsule Server from the list and take note of its
id:# hammer capsule list
The Satellite Capsule Server's details can be verified using the command:# hammer capsule info --id capsule_id_number
- Verify the list of lifecycle environments available for the Red Hat Capsule Server and note down the
environment id:# hammer capsule content available-lifecycle-environments --id capsule_id_number
Where:available-lifecycle-environmentsare lifecycle environments that are available to the Satellite Capsule but are currently not attached to the Satellite Capsule.
- Add the lifecycle environment to the Satellite Capsule Server:
# hammer capsule content add-lifecycle-environment --id capsule_id_number --lifecycle-environment-id environment_id_number
Where:--idis the Satellite Capsule Server's identification number.--lifecycle-environment-idis the lifecycle environment's identification number.
Repeat this step for every lifecycle environment to be added to the Capsule Server. - Synchronize the content from the Satellite Server's environment to the Satellite Capsule Server:
# hammer capsule content synchronize --id capsule_id_number
When an external Satellite Capsule Server has various lifecycle environments, and only one lifecycle environment needs to be synchronized, it is possible to target a specific environment by specifying the environment identification:# hammer capsule content synchronize --id external_capsule_id_number --environment-id environment_id_number
Result:
The chosen environments now consume packages from repositories on the desired Satellite Capsule Server.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.