클라이언트 삭제

SUSE Multi-Linux Manager 서버에서 클라이언트를 제거해야 하는 경우 다음을 수행할 수 있습니다.

  • Web UI을(를) 사용하여 삭제

  • 명령 줄에서 클라이언트를 제거합니다.

1. Web UI를 사용한 클라이언트 삭제

Procedure: Deleting a client
  1. SUSE Multi-Linux Manager Web UI에서 시스템  시스템 목록으로 이동하여 삭제하려는 클라이언트를 선택합니다.

  2. 시스템 삭제를 클릭합니다.

  3. 상세 정보를 확인하고 프로파일 삭제를 클릭하여 확인합니다.

  4. For Salt clients, SUSE Multi-Linux Manager attempts to clean up additional configuration. If the client cannot be contacted, you are given the option to cancel the deletion, or delete the client without cleaning up the configuration files.

시스템 세트 관리자를 사용하여 여러 클라이언트를 삭제할 수도 있습니다. 시스템 세트 관리자에 대한 자세한 내용은 시스템 세트 관리자에서 확인할 수 있습니다.

클라이언트를 정리하면 Salt만 비활성화하고 가능한 경우 서비스를 중지합니다. 패키지는 설치 해제되지 않습니다.

2. Delete a client on the command line (with API call)

Procedure: Deleting a client from the server
  1. FQDN(정규화된 도메인 이름)이 있는 클라이언트를 삭제합니다.

    spacecmd system_delete FQDN

spacecmd system_delete는 Salt 키도 삭제합니다.

system_delete에서 제공되는 옵션은 다음과 같습니다.

usage: system_delete [options] <SYSTEMS>

    옵션:
          -c TYPE - 사용할 수 있는 값:
             *  'FAIL_ON_CLEANUP_ERR' - 정리 오류 발생 시 실패,
             *  'NO_CLEANUP' - 삭제만 수행하고 정리하지 않음,
             *  'FORCE_DELETE' - 우선 정리를 시도하지만, 오류 발생 시
	        서버 삭제

3. Delete client from the command line

이 프로세스는 SUSE Multi-Linux Manager 클라이언트에만 적용됩니다. SUSE Multi-Linux Manager 서버 자체에서는 실행하지 마십시오.

Red Hat Enterprise Linux, Debian 또는 클론을 실행하는 클라이언트에서 다음 절차를 실행해서는 안 됩니다. zypper 대신, yum, dnf 또는 apt와 같은 패키지 작성 도구 명령을 사용하십시오.

Procedure: Deleting SLES 12 and 15 clients
  1. 다음과 같이 salt-minion 서비스를 중지합니다.

    systemctl stop salt-minion
  2. 리포지토리 및 구성 파일 제거:

    rm -f /etc/zypp/repos.d/susemanager\:bootstrap.repo
    rm -f /etc/zypp/repos.d/susemanager\:channels.repo
    rm -r /etc/sysconfig/rhn/
    rm -r /etc/salt/
  3. 클라이언트 패키지 제거:

    zypper rm salt salt-minion python*-salt sle-manager-tools-release
Procedure: Salt bundle client - manual registration cleanup
  1. 등록을 취소하려면 다음을 실행합니다.

    systemctl stop venv-salt-minion
    zypper rm -y venv-salt-minion sle-manager-tools-release
    rm -f /etc/zypp/repos.d/susemanager\:bootstrap.repo
    rm -f /etc/zypp/repos.d/susemanager\:channels.repo
    rm -r /etc/venv-salt-minion/*
  2. Remove client machine ID:

    rm /etc/sysconfig/rhn/systemid

Salt 번들에 대한 내용은 Salt Bundle에서 확인할 수 있습니다.