Red Hat Training
A Red Hat training course is available for Red Hat Satellite
6.5. 使用 Inter-Satellite Sync
當 Inter-Satellite Sync 經過配置之後,您便可使用它來同步化來自於 master 衛星伺服器的頻道和 slave 伺服器的頻道。
請在 slave 伺服器上,設定
/etc/rhn/rhn.conf
檔案中配置您的 Master 伺服器主機名稱和 SSL 憑證檔案路徑:
iss_parent = master.satellite.domain.com iss_ca_chain = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
接著透過輸入下列來執行
satellite-sync
指令:
satellite-sync -c your-channel
注意
任何
satellite-sync
指令的指令列選項都會置換 /etc/rhn/rhn.conf
檔案中所有的預設或自訂化設定
6.5.1. 同步化 Development Staging Server 和 Production Satellite
系統管理員可能會需要在 production 衛星伺服器和含有已準備使用於生產環境的自訂頻道的 staging 伺服器之間同步化資料。
比方說,production 衛星伺服器通常會直接和 RHN Hosted 伺服器同步化內容更新,不過有時也會和 RHN Satellite development 伺服器進行 production-ready 資訊上的同步。
圖形 6.4. 由 RHN Hosted 和 Satellite Staging 伺服器進行同步
通常,管理員會執行:
satellite-sync -c your-channel
這項指令會由來自於 rhn_parent 的資料直接進行下載(一般會是 RHN Hosted、rhn.redhat.com)。接著,若要由 staging 衛星伺服器位址進行同步,系統管理員需執行:
satellite-sync --iss-parent=staging-satellite.example.com -c custom-channel