6.5. Inter-Satellite Sync 사용
Inter-Satellite Sync가 설정되어 있으므로, 이를 사용하여 master Satellite에서 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
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 -c your-channel
참고
satellite-sync
명령의 명령행 옵션은 /etc/rhn/rhn.conf
파일의 기본값 또는 사용자 정의된 설정을 덮어쓰기하게 됩니다.
6.5.1. Development Staging 서버와 Production Satellite 간의 동기화 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
관리자가 일반 제품 용도롤 사용 가능한 사용자 정의 채널이 있는 staging 서버에서 production Satellite 서버로 데이터를 동기화할 수 있는 인스턴스가 있습니다.
예를 들어, production Satellite 서버는 컨텐트 업데이트를 위해 RHN Hosted 서버에서 직접 동기화하지만 RHN Satellite 개발 서버에서 일반 제품으로 사용할 수 있는 정보를 자주 동기화하게 됩니다.
그림 6.4. RHN Hosted 및 Satellite Staging 서버에서 동기화
일반적으로 관리자는 다음 명령을 실행합니다:
satellite-sync -c your-channel
satellite-sync -c your-channel
이 명령을 실행하면 rhn_parent (일반적으로 RHN Hosted, rhn.redhat.com)에서 데이터를 직접 다운로드할 수 있습니다. 그 후, staging Satellite 서버 주소에서 동기화화기 위해 관리자는 다음과 같은 명령을 실행합니다.
satellite-sync --iss-parent=staging-satellite.example.com -c custom-channel
satellite-sync --iss-parent=staging-satellite.example.com -c custom-channel