채널 제거

이 장에서는 수명이 종료된 제품을 정리하거나 공간을 확보하거나 기타 목적으로 SUSE Multi-Linux Manager에서 SUSE 제공 채널을 수동으로 제거하는 방법을 설명합니다.

1. 채널 제거 준비

채널을 제거하기 전에 제거할 채널의 레이블을 파악해야 합니다. 이 작업은 Web UI을(를) 사용하거나 명령줄에서 수행할 수 있습니다.

  • 시스템이 현재 구독 중이거나 시스템을 구독할 예정인 채널을 제거하지 않도록 주의하십시오.

  • 삭제할 채널에 현재 구독 중인 시스템이 있는 경우 해당 시스템을 업그레이드하거나 구독을 취소할 때까지 채널을 제거하지 않아야 합니다.

1.1. 채널 레이블 식별

절차: Web UI를 사용하여 채널 레이블 식별
  1. SUSE Multi-Linux Manager Web UI에서 소프트웨어  채널 목록  전체로 이동합니다.

  2. This page displays the Channel Name. If you select the link for a channel name, you will see the field for Channel Label.

  3. 제거할 채널과 하위 채널을 식별합니다.

절차: 명령줄을 사용하여 채널 레이블 식별
  1. SUSE Multi-Linux Manager 컨테이너 호스트에세 다음 명령을 실행하여 채널 목록을 확인할 수 있습니다.

    mgrctl exec -ti -- spacewalk-remove-channel -l

1.2. 채널 시스템 구독 확인

절차: Web UI를 사용하여 채널 시스템 구독 확인
  1. SUSE Multi-Linux Manager Web UI에서 소프트웨어  채널 목록  전체로 이동합니다.

  2. Locate Systems column on the right.

  3. Check the Systems column for the channel, or any child channels, that you want to remove.

절차: 명령줄을 사용하여 채널 시스템 구독 확인
  1. SUSE Multi-Linux Manager 컨테이너 호스트에서 다음 명령 실행:

    mgrctl exec -ti -- 'spacecmd -- softwarechannel_listsystems <Channel Label>'

2. 채널 제거

A channel, with its metadata, can be removed with command line tools only. The spacewalk-remove-channel command automatically removes the software packages, if they are not referenced anymore by other channels. Thus it removes the metadata from the database and the files from the storage medium.

2.1. 하위 채널 제거

절차: 명령 줄을 사용한 하위 채널 제거
  1. 개별 채널을 제거하려면 SUSE Multi-Linux Manager 컨테이너 호스트에서 다음 명령을 실행합니다.

    mgrctl exec -ti -- spacewalk-remove-channel -c channel-label
  2. To remove multiple channels at the same time, use -c flag for each channel, followed by the channel-label. For example:

    mgrctl exec -ti -- spacewalk-remove-channel -c channel-label1 -c channel-label2

2.2. 상위 및 모든 하위 채널 제거

절차: 상위 및 모든 하위 채널 제거
  1. To remove a parent channel with all of the child channels run spacewalk-remove-channel with the -a option and replace parent-channel-label with a channel label such as sles12-sp5-pool-x86_64:

    mgrctl exec -ti -- spacewalk-remove-channel -a parent-channel-label