자동 설치 가능한 배포판

자동 설치 프로세스에서는 여러 파일을 사용하여 설치를 시작합니다. 이러한 파일에는 Linux 커널, 초기 RAM 디스크 및 설치 모드에서 운영 체제를 부팅하기 위해 필요한 기타 파일이 포함됩니다.

SUSE Multi-Linux Manager uses the mgradm tool to copy the installation file from the source to the server container.

필요한 파일을 DVD 이미지에서 추출할 수 있습니다. 관련 정보는 ISO 이미지 기반 배포를 참조하십시오.

Alternatively, you can install the tftpboot-installation package. For information, see Distribution Based on a RPM Package.

또한 해당 파일과 운영 체제 버전이 동일한 SUSE Multi-Linux Manager 서버에서 동기화된 기본 채널이 있어야 합니다.

파일이 준비되고 기본 채널이 동기화되면 배포를 선언해야 합니다. 이 작업은 기본 채널에 설치 파일을 연결합니다. 배포는 1개 이상의 설치 프로파일에 의해 참조될 수 있습니다. 관련 정보는 자동 설치 가능 배포판 선언을 참조하십시오.

1. ISO 이미지 기반 배포

This method assumes you have installation media for the operating system you want to install on the clients. This is usually a DVD .iso image that contains the Linux kernel, an initrd file, and other files required to boot the operating system in installation mode.

절차: 설치 미디어에서 파일 임포트
  1. Use mgradm to import installation data from the ISO image:

    # mgradm distribution copy <image_name>.iso <image_name>
  2. Take a note of the distribution path reported by mgradm. You will need it when you declare the distribution to SUSE Multi-Linux Manager.

1.1. 배포 자동 감지 및 등록

mgradm is able to automatically detect distribution name and register it to the server. Provided ISO image needs to contain a .treeinfo file.

절차: 자동 감지 및 등록을 사용한 배포 파일 가져오기
  1. Use mgradm:

    # mgradm distribution copy --api-user <username> --api-password <password> <image_name>.iso

2. RPM 패키지 기반 배포

이 방법은 SUSE 시스템에 적용됩니다. 설치 시스템에서 미리 패키지화된 파일을 사용하므로 설치 미디어에서 컨텐트를 임포트하는 것보다 단순합니다.

절차: 설치 패키지에서 파일 추출
  1. On the SUSE Multi-Linux Manager Server, install the package whose name starts with tftpboot-installation. You can determine its exact name with the command zypper se tftpboot-installation

  2. 다음 명령을 사용하여 패키지를 다른 루트에 설치하여 다시 시작할 필요가 없도록 할 수 있습니다.

    # mkdir /opt/tftpinstall
    # zypper --installroot /opt/tftpinstall install tftpboot-installation-SLE-Micro-5.5-x86_64
  3. Find the installation files with the command ls -d /opt/tftpinstall/usr/share/tftpboot-installation/*.

  4. Copy installation files using mgradm:

    # mgradm distribution copy /opt/tftpinstall/usr/share/tftpboot-installation/SLE-Micro-5.5-x86_64 SLE-Micro-5.5-x86_64
  5. Take a note of the distribution path reported by mgradm tool. You will need it when you declare the distribution to SUSE Multi-Linux Manager.

  6. After mgradm tool finishes, you can remove /opt/tftpinstall directory.

This procedure prepares the installation of the same operating system version as the one that powers your SUSE Multi-Linux Manager Server. If you want to install a different operating system or version on the client, you need to manually get the package tftpboot-installation-* from the distribution it belongs to. In the Package Search input box SUSE Multi-Linux Manager, search the packages whose names start with tftpboot-installation, then look at the package’s details. They show the local path below /var/spacewalk/.

3. 자동 설치 가능한 배포판 선언

자동 설치 파일을 추출한 후의 단계는 자동 설치 가능한 배포판을 선언하는 것입니다.

절차: 자동 설치 가능한 배포판 선언
  1. SUSE Multi-Linux Manager Web UI에서 시스템  자동 설치  배포로 이동합니다.

  2. Click Create Distribution, and complete these fields:

    • In the Distribution Label field, enter a name to identify your autoinstallable distribution.

    • In the Tree Path field, enter the path to the installation media saved on your SUSE Multi-Linux Manager Server.

    • Select the matching Base Channel. This must match the installation media.

    • Select the Installer Generation. This must match the installation media.

    • 선택 사항: 이 배포를 부팅할 때 사용할 커널 옵션을 지정하십시오. 여러 가지 방식으로 커널 옵션을 제공할 수 있습니다. 배포에 일반적으로 사용되는 옵션만 여기에 추가하십시오.

  3. 자동 설치 가능한 배포판 생성을 클릭합니다.

The installation files that you prepared might not contain the packages you need to install. If they are not included, add useonlinerepo=1 to the Kernel Options field.

The package repositories contain metadata that can be unsigned. If the metadata is unsigned, add insecure=1 to the Kernel Options field, or use your own GPG key as explained in Use Your Own GPG Key.

These kernel options are needed for example when you use the "online installer" ISO images instead of the full DVD, or when you use the tpboot-installation package.

시스템  자동 설치  배포판으로 이동하여 자동 설치 가능한 배포판을 관리합니다.

You can autoinstall SUSE Multi-Linux Manager Proxy 4.3 in the same way as SUSE Linux Enterprise clients. Make sure you use the SUSE Linux Enterprise installation media, and choose the SLE-Product-SUSE-Manager-Proxy-4.3-Pool for x86_64 base channel.

4. 배포판 및 프로파일의 커널 옵션 처리

SUSE Multi-Linux Manager은(는) 사용자가 지정한 커널 옵션을 결합할 수 있습니다. 이 작업은 특별한 상속 논리를 사용하여 수행됩니다. 이와 관련된 세 가지 객체 유형이 있습니다.

  1. 배포판(또는 줄임말 "Distros")

  2. 프로파일

  3. 시스템

As a fourth special point of influence on the final kernel options is the Cobbler settings file /etc/cobbler/settings.yaml. The Cobbler settings file defines default kernel options for all distributions. This is not supported in the context of SUSE Multi-Linux Manager.

커널 옵션을 효과적으로 관리하기 위해서는 원시 값과 확인된 값을 이해하는 것이 중요합니다.

  1. 원시 값: 이러한 값은 특정 Cobbler 항목에 직접 연결되어 Cobbler의 내부 데이터베이스에 있는 그대로 저장된 값을 의미합니다.

  2. 확인된 값: 이러한 값은 Cobbler 항목의 상속 계층 구조를 고려하여 런타임에 동적으로 생성됩니다.

If you prefix an option with ! then the option will be removed from the final kernel command line.

프로파일과 시스템의 커널 옵션은 둘 다 SUSE Multi-Linux Manager에서 관리됩니다. 따라서 배포판의 커널 옵션만 편집 가능할 수 있습니다.

4.1. 예제

4.1.1. 기본 상속 예제

배포판 원시 값

install=http://uyuni.server/ks/dist/SLES15SP4 self_update=0

프로파일 원시 값

console=tty1

시스템 원시 값

console=ttyS0

이 프로파일을 상속하는 시스템의 확인된

install=http://uyuni.server/ks/dist/SLES15SP4 self_update=0 console=ttyS0

4.1.2. 옵션 제거 예제

배포판 원시 값

install=http://uyuni.server/ks/dist/SLES15SP4 self_update=0

프로파일 원시 값

console=tty1

시스템 원시 값

!self_update

이 프로파일을 상속하는 시스템의 확인된

install=http://uyuni.server/ks/dist/SLES15SP4 console=ttyS0