Red Hat Training
A Red Hat training course is available for Red Hat Satellite
12.5. 從 Red Hat Satellite Capsule Server 移除生命週期環境
要從 Red Hat Satellite Capsule Server 上移除生命週期環境有幾個原因。例如:
- 生命週期環境與主機系統不再有所關連
- 誤加生命週期環境至 Satellite Capsule Server
要從 Satellite Capsule Server 上移除生命環境週期:
- 以
root
身份登入 Satellite Server 的文字介面。 - 從清單中選擇 Red Hat Satellite Capsule Server,並記下其
id
:# hammer capsule list
您可以使用以下指令,驗證 Satellite Capsule Server 的詳細資料:# hammer capsule info --id capsule_id_number
- 檢查清單,找出目前與 Red Hat Capsule Server 相關連的生命週期環境,並記下其
environment id
:hammer capsule content lifecycle-environments --id capsule_id_number
- 從 Satellite Capsule Server 上移除生命週期環境:
# hammer capsule content remove-lifecycle-environment --id capsule_id_number --environment-id environment_id
其中:--id
是 Satellite Capsule Server 的 ID 編號。--environment-id
是生命週期環境的 ID 編號。
重複這項步驟,直到每個生命週期環境都從 Capsule Server 上移除為止。 - 將內容從 Satellite Server 的環境同步至 Satellite Capsule Server 上:
# hammer capsule content synchronize --id capsule_id_number
結果:
所選擇的環境會從 Satellite Capsule Server 上移除。
22921%2C+User+Guide-6.008-10-2014+13%3A34%3A52Red+Hat+Satellite+6Docs+User+Guide回報錯誤