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:
  1. Log in to the Satellite Server CLI as root.
  2. Choose the desired Red Hat Satellite Capsule Server from the list and take note of its id:
    # hammer capsule list
    
    Copy to Clipboard Toggle word wrap
    The Satellite Capsule Server's details can be verified using the command:
    # hammer capsule info --id capsule_id_number
    
    Copy to Clipboard Toggle word wrap
  3. 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
    
    Copy to Clipboard Toggle word wrap
    Where:
    • available-lifecycle-environments are lifecycle environments that are available to the Satellite Capsule but are currently not attached to the Satellite Capsule.
  4. 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
    
    Copy to Clipboard Toggle word wrap
    Where:
    • --id is the Satellite Capsule Server's identification number.
    • --lifecycle-environment-id is the lifecycle environment's identification number.
    Repeat this step for every lifecycle environment to be added to the Capsule Server.
  5. Synchronize the content from the Satellite Server's environment to the Satellite Capsule Server:
    # hammer capsule content synchronize --id capsule_id_number
    
    Copy to Clipboard Toggle word wrap
    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
    
    Copy to Clipboard Toggle word wrap
Result:

The chosen environments now consume packages from repositories on the desired Satellite Capsule Server.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat