Ce contenu n'est pas disponible dans la langue sélectionnée.
3.3. Life Cycle Environments
Figure 3.2. An Environment Path Containing Four Environments
3.3.1. Creating Life Cycle Environments Copier lienLien copié sur presse-papiers!
Procedure 3.10. To Create a Life Cycle Environment:
- Select an organization from the menu in the top left hand corner.
- Click
and then click New Environment Path. - Insert a name and a label (automatically fills in the Name field input) for the life cycle environment. The Description field is optional.
- Click Save to create the environment.
3.3.2. Adding Life Cycle Environments to a Red Hat Satellite Capsule Server Copier lienLien copié sur presse-papiers!
Important
hammer commands on the Satellite Server.
Procedure 3.11. To Add Environments to the 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 listThe Satellite Capsule Server's details can be verified using the command:# hammer capsule info --id capsule_id_number - Verify the list of life cycle environments available for the Red Hat Capsule Server and note down the
environment id:# hammer capsule content available-lifecycle-environments --id capsule_id_numberWhere:available-lifecycle-environmentsare life cycle environments that are available to the Satellite Capsule but are currently not attached to the Satellite Capsule.
- Add the life cycle environment to the Satellite Capsule Server:
# hammer capsule content add-lifecycle-environment --id capsule_id_number --environment-id environment_id_numberWhere:- capsule_id_number stands for the Satellite Capsule Server's identification number.
- environment_id_number stands for the life cycle environment's identification number.
Repeat this step for every life cycle 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_numberWhen an external Satellite Capsule Server has various life cycle environments, and only one life cycle environment needs to be synchronized, it is possible to target a specific environment by specifying the environment identification number:# hammer capsule content synchronize --id external_capsule_id_number --environment-id environment_id_number
3.3.3. Promoting Content Views Copier lienLien copié sur presse-papiers!
Procedure 3.12. To Promote a Content View:
- On the main menu, click
. - In the Name column, click the name of the Content View that you want to promote.
- On the Versions tab, identify the latest version, and click .
- Identify the promotion path where you want to promote the Content View, select the appropriate life cycle environment, and click .
- After the promotion has completed, the Versions tab updates to display the new status of your Content Views.
3.3.4. Removing Life Cycle Environments From Satellite Server Copier lienLien copié sur presse-papiers!
Procedure 3.13. To Remove a Life Cycle Environment:
- On the main menu, click
. - Click the name of the life cycle environment that you want to remove, and then click .
- In the confirmation dialog box, click to remove the environment.
Note
3.3.5. Removing Life Cycle Environments from Capsule Server Copier lienLien copié sur presse-papiers!
- When life cycle environments are no longer relevant to the host systems
- When life cycle environments have been incorrectly added to Capsule Server
Procedure 3.14. To remove a life cycle environment from Capsule Server:
- Log in to the Satellite Server CLI as the root user.
- Choose the desired Capsule Server from the list and take note of its
id:# hammer capsule listThe Capsule Server's details can be verified using the command:# hammer capsule info --id capsule_id_number - Verify the list of life cycle environments currently attached to the Capsule Server and take note of the
environment id:# hammer capsule content lifecycle-environments --id capsule_id_number - Remove the life cycle environment from Capsule Server:
# hammer capsule content remove-lifecycle-environment --id capsule_id_number --environment-id environment_idWhere:- capsule_id_number is Capsule Server's identification number.
- environment_id is the life cycle environment's identification number.
Repeat this step for every life cycle environment to be removed from the Capsule Server. - Synchronize the content from the Satellite Server's environment to Capsule Server:
# hammer capsule content synchronize --id capsule_id_number