컨텐트 스테이징

스테이징은 클라이언트가 패키지를 설치하기 전 미리 다운로드하기 위한 용도로 사용됩니다. 그러면 예약 즉시 패키지를 설치할 수 있으므로 유지 관리 기간에 드는 시간을 줄일 수 있습니다.

1. 컨텐트 스테이징 활성화

You can manage content staging across your entire organization. In the SUSE Multi-Linux Manager Web UI, navigate to Admin  Organizations to see a list of available organizations. Click the name of an organization, and check the Enable Staging Contents box to allow clients in this organization to stage package data.

조직을 만들고 관리하려면 SUSE Multi-Linux Manager 관리자로 로그인해야 합니다.

You can also enable staging at the command prompt by editing /etc/sysconfig/rhn/up2date, and adding or editing these lines:

stagingContent=1
stagingContentWindow=24

The stagingContentWindow parameter is a time value expressed in hours and determines when downloading starts. It is the number of hours before the scheduled installation or update time. In this example, content is downloaded 24 hours before the installation time. The start time for download depends on the selected contact method for a system.

다음에 작업이 예약되면 패키지가 자동으로 다운로드되지만 설치되지는 않습니다. 예약된 시간에 준비된 패키지가 설치됩니다.

2. 컨텐트 스테이징 구성

컨텐트 스테이징을 구성하는 데 사용되는 파라미터 두 개:

  • salt_content_staging_advance is the advance time for the content staging window to open, in hours. 패키지를 다운로드할 수 있는 설치 시작 전 시간입니다.

  • salt_content_staging_window is the duration of the content staging window, in hours. 클라이언트가 설치를 시작하기 전에 패키지를 준비하는 데 드는 시간입니다.

For example, if salt_content_staging_advance is set to six hours, and salt_content_staging_window is set to two hours, the staging window opens six hours before the installation time, and remain open for two hours. No packages are downloaded in the four remaining hours until installation starts.

If you set the same value for both salt_content_staging_advance and salt_content_staging_window packages are able to be downloaded until installation begins.

Configure the content staging parameters in /usr/share/rhn/config-defaults/rhn_java.conf.

다음은 기본값입니다.

  • salt_content_staging_advance: 8 hours

  • salt_content_staging_window: 8 hours

이러한 파라미터가 올바르게 작동하려면 컨텐트 스테이징을 활성화해야 합니다.