SUSE Multi-Linux Manager 5.1 Server Deployment
This guide shows you how to install and configure a SUSE Multi-Linux Manager 5.1 container on SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7.
1. SUSE Multi-Linux Manager의 하드웨어 요구사항
이 테이블은 베어 메탈 머신에 SUSE Multi-Linux Manager 서버를 배포하기 위한 소프트웨어 및 하드웨어 요구 사항을 보여줍니다. 이 가이드의 목적에 따라 컴퓨터에는 16GB의 RAM과 최소 200GB의 디스크 공간이 있어야 합니다. 디스크 공간에 대한 배경 정보는 하드웨어 요구사항에서 확인할 수 있습니다.
Software and Hardware | Recommended |
---|---|
Operating System |
SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7 |
Architecture |
x86-64, ARM, s390x, ppc64le |
Processor (CPU) |
Minimum of four (4) 64-bit CPU cores |
RAM |
16 GB |
Disk Space |
200 GB |
Channel Requirements |
50 GB per SUSE or openSUSE product 360 GB per Red Hat product |
Swap space: |
3 GB |
서버 컨테이너 호스트에 지원되는 운영 체제
The supported operating system for the container host is SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7.
|
서버를 배포하려면 FQDN(정규화된 도메인 이름)을 사용해야 합니다. 라우터 또는 네트워크에서 FQDN을 자동으로 DNS 프로비저닝하지 않으면 배포 프로세스가 성공적으로 진행되지 않습니다. FQDN은 일반적으로 <호스트>.<도메인>.com 형식을 따릅니다. 예:
자세한 내용은 네트워크 요구사항의 네트워크 요구사항 섹션을 참조하십시오. |
2. 영구 볼륨
SUSE Multi-Linux Manager 5.1은(는) 기본적으로 필요한 영구 스토리지 볼륨을 정의합니다. 이러한 볼륨이 아직 없다면 설치 중에 mgradm
도구에 의해 볼륨이 생성됩니다.
이러한 볼륨은 /var/lib/containers/storage/volumes/
에 생성되며, Podman
은 기본적으로 해당 볼륨을 저장합니다.
권장
이 디렉토리에 외부 스토리지 장치를 마운트하여 간소화된 스토리지를 활용할 수 있습니다. 여기에는 PostgreSQL 데이터베이스, 리포지토리용 이진 패키지, 캐시, 운영 체제 이미지, 자동 설치 배포 및 구성 파일이 저장되므로 다음과 같은 3가지 권장 사항이 있습니다.
|
컨테이너의 모든 영구 볼륨 목록은 Persistent Container Volumes에서 확인할 수 있습니다.
3. Prepare SUSE Multi-Linux Manager Server Host
You can deploy SUSE Multi-Linux Manager on SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7. SL Micro is a transactional system, while SUSE Linux Enterprise Server is a full server operating system.
Depending on your decision, either continue with Install SL Micro 6.1 and Deploy Server or with Install SUSE Linux Enterprise Server 15 SP7 and Deploy Server and skip the not selected section.
3.1. Install SL Micro 6.1 and Deploy Server
3.1.1. Download the Installation Media
-
Locate the SL Micro 6.1 installation media at https://www.suse.com/download/sle-micro/.
-
Download
SL-Micro-6.1-DVD-x86_64-GM-Media1.iso
. -
설치하기 위해 다운로드한
.iso
이미지가 들어 있는 DVD 또는 USB 플래시 드라이브를 준비합니다. -
Insert the DVD or USB flash drive (USB disk or key) containing the installation image for SL Micro 6.1.
-
시스템을 부팅하거나 재부팅합니다.
For more information about preparing your machines (virtual or physical), see Introduction to SL Micro 6.1 Deployment.
3.1.2. Install SL Micro
-
화살표 키를 사용하여
설치
를 선택합니다. -
키보드 및 언어를 조정합니다.
-
확인란
을 클릭하여 라이선스 계약에 동의합니다. -
다음
을 클릭하여 계속합니다. -
Select the registration method. For this example, we will register the server with SUSE Customer Center.
설치 중 SUSE Multi-Linux Manager을(를) 확장으로 등록The SUSE Multi-Linux Manager 5.1 containers are installed as extensions. Depending on the specific extension needed from the list below, additional SUSE Customer Center registration codes will be required for each.
-
SUSE Multi-Linux Manager 5.1 서버
-
SUSE Multi-Linux Manager 5.1 프록시
-
리테일 분기 서버
The SL Micro 6.1 entitlement is included within the SUSE Multi-Linux Manager entitlement, so it does not require a separate registration code.
-
-
Enter your SUSE Customer Center email address.
-
Enter your registration code for SL Micro 6.1.
-
다음
을 클릭하여 계속합니다. -
SUSE Multi-Linux Manager 5.1 서버 확장
확인란
을 선택합니다. -
다음
을 클릭하여 계속합니다. -
SUSE Multi-Linux Manager 5.1 서버 확장 등록 코드를 입력합니다.
-
다음을 클릭하여 계속합니다.
-
NTP 구성
페이지에서 다음을 클릭합니다. -
시스템 인증
페이지에서 루트 사용자의 비밀번호를 입력합니다. 다음을 클릭합니다. -
설치 설정
페이지에서 설치를 클릭합니다.
This concludes installation of SL Micro 6.1 and SUSE Multi-Linux Manager 5.1 as an extension.
3.1.3. 명령줄에서 등록(선택 사항)
If you added SUSE Multi-Linux Manager 5.1 as an extension during SL Micro 6.1 installation then you can skip this step. However, optionally you may skip registration during SL Micro 6.1 installation by selecting the Skip Registration button. This section provides steps on registering your products after SL Micro 6.1 installation.
-
Register SL Micro 6.1 to SUSE Customer Center from the command line run the following commands on the container host:
transactional-update register -r <reg_code> -e <your_email>
-
Use the registration code you obtained from your SUSE Customer Center account for SL Micro 6.1.
다음 단계에서는 x86-64 아키텍처로 서버를 등록하므로 x86-64 아키텍처에 대한 등록 코드가 필요합니다. ARM 또는 s390x 아키텍처를 등록하려면 올바른 등록 코드를 사용하십시오.
-
Next add the SUSE Multi-Linux Manager Server Extension 5.1 x86_64 Extension. List available extensions with the following command:
transactional-update --quiet register --list-extensions
-
Use your SUSE Multi-Linux Manager Server Extension 5.1 x86_64 registration code with the following command:
transactional-update register -p SUSE-Manager-Server/5.1/x86_64 -r <reg_code>
-
재부팅합니다.
3.1.4. 시스템 업데이트
-
root로 로그인합니다.
-
transactional-update 실행:
transactional-update
-
재부팅합니다.
SL Micro is designed to update itself automatically by default and will reboot after applying updates. However, this behavior is not desirable for the SUSE Multi-Linux Manager environment. To prevent automatic updates on your server, SUSE Multi-Linux Manager disables the transactional-update timer during the bootstrap process. If you prefer the SL Micro default behavior, enable the timer by running the following command:
|
To continue with deployment, see 사용자 정의 영구 스토리지 구성.
3.2. Install SUSE Linux Enterprise Server 15 SP7 and Deploy Server
Alternatively, you can deploy SUSE Multi-Linux Manager on SUSE Linux Enterprise Server 15 SP7.
The following procedure describes the main steps of the installation process.
-
Locate and download SUSE Linux Enterprise Server 15 SP7
.iso
at https://www.suse.com/download/sles/. -
Make sure that the SCC code you plan to use has the Extensions enabled.
-
Start the installation of SUSE Linux Enterprise Server 15 SP7.
-
On the
Language, keyboard and product selection
select the product to install. -
라이선스 계약
에서 계약서를 읽고라이선스 약관에 동의합니다
에 체크 표시합니다.
-
-
Select the registration method.
For SUSE Linux Enterprise Server 15 SP7, you are required to have a valid SUSE Linux Enterprise Server subscription and corresponding regcode, which you must provide on this screen. You will be required to enter the SUSE Multi-Linux Manager Extension regcode below.
-
In the screen
Extensions and Modules Selection
check the following:-
SUSE Multi-Linux Manager Server Extension
-
Basesystem Module
-
Containers Module
-
-
설치를 완료합니다.
Enter the SUSE Multi-Linux Manager Extension regcode.
-
When the installation completes, log in to the newly installed server as root.
-
Update the System (optional, if the system was not set to download updates during install):
zypper up
-
재부팅합니다.
-
Log in as root and install
podman
plusmgradm
andmgradm-bash-completion
(if not already automatically installed):zypper install podman mgradm mgradm-bash-completion
-
Start the Podman service by rebooting the system, or running a command:
systemctl enable --now podman.service
To continue with deployment, see 사용자 정의 영구 스토리지 구성.
4. 사용자 정의 영구 스토리지 구성
영구 스토리지 구성은 선택 사항이지만, 컨테이너 디스크가 가득 찬 상황에 심각한 문제를 방지할 수 있는 유일한 방법입니다. mgr-storage-server
도구를 사용하여 사용자 지정 영구 스토리지를 구성하는 것이 적극 권장됩니다.
-
자세한 내용은
mgr-storage-server --help
를 참조하십시오. 이 도구는 컨테이너 스토리지 및 데이터베이스 볼륨 생성을 간소화합니다.다음 방법으로 명령 사용:
mgr-storage-server <storage-disk-device> [<database-disk-device>]
예:
mgr-storage-server /dev/nvme1n1 /dev/nvme2n1
이 명령은
/var/lib/containers/storage/volumes
에 영구 스토리지 볼륨을 생성합니다.For more information, see
5. Deploy SUSE Multi-Linux Manager with mgradm
mgradm
-
루트로 로그인합니다.
-
Execute the following command, replacing
<multi-linux-manager.example.com>
with your fully qualified domain name:mgradm install podman <multi-linux-manager.example.com>
위의 명령이 실패하면 SUSE Multi-Linux Manager 5.1을(를) 등록했는지 확인합니다. 설치 중에 등록을 건너뛰고 이제 명령줄에서 등록해야 하는 경우 아래 단계에 따라 레지스트리에 로그인합니다.
podman login -u <EMAIL> -p <REGISTRATION-CODE> registry.suse.com
메시지가 표시되면 SUSE Multi-Linux Manager 5.1 등록 키를 사용합니다.
-
메시지가 표시되면 인증서와 관리자 계정 비밀번호를 입력합니다.
관리자 계정 비밀번호는 5자 이상 48자 미만이어야 합니다.
-
Enter를 누릅니다.
-
관리 계정의 이메일 주소를 입력합니다. Enter를 누릅니다.
-
배포가 완료될 때까지 기다립니다.
-
브라우저를 열고 서버 FQDN으로 이동합니다.
-
사용자 이름(기본값은
admin
)과 배포 프로세스 중에 설정한 비밀번호를 입력합니다.
In this guide you deployed SUSE Multi-Linux Manager 5.1 Server as a container. Proceed to the next section to add your organization credentials for syncing with SUSE Customer Center.
6. Connect SUSE Multi-Linux Manager 5.1 to SUSE Customer Center
This section covers synchronizing with SCC from the Web UI and adding your first client channel.
-
브라우저를 열고 서버 FQDN으로 이동합니다.
-
사용자 이름(기본값은
admin
)과 배포 프로세스 중에 설정한 비밀번호를 입력합니다. -
SUSE Multi-Linux Manager Web UI에서
를 선택합니다. -
설정 마법사
페이지에서 조직 인증서 탭을 선택합니다. -
새 인증서 추가를 클릭합니다.
-
Point your browser to the SUSE Customer Center.
-
왼쪽 탐색에서 조직을 선택합니다.
-
페이지 상단에서 사용자 탭을 선택한 다음 조직 자격 증명을 선택합니다.
-
미러링 자격 증명을 기록해 둡니다.
-
SUSE Multi-Linux Manager Web UI에
사용자 이름
및비밀번호
를 다시 입력한 다음 저장을 눌러 확인합니다.
체크 표시 아이콘으로 인증서가 확인되면 Procedure: Synchronizing with SUSE Customer Center를 진행합니다.
-
Web UI에서
로 이동합니다. -
From the
Setup Wizard
page select theSUSE Products
tab. If you recently registered with SUSE Customer Center a list of products will begin populating the table. This operation could take up to a few minutes. You can monitor the progress of the operation in section on the rightRefresh the product catalog from SUSE Customer Center
. The table of products lists architecture, channels, and status information. For more information, see Wizard. -
제품 설명으로 필터링
및아키텍처로 필터링
을 사용하여 표시되는 제품 목록을 필터링할 수 있습니다. 제품 페이지에 나열된 채널은 클라이언트를 위한 리포지토리를 제공합니다.-
각 채널 왼쪽의 확인란을 선택하여 SUSE Multi-Linux Manager에 채널을 추가합니다. 설명 왼쪽의 화살표 기호를 클릭하면 제품이 펼쳐지고 사용 가능한 모듈이 나열됩니다.
-
페이지 상단의 제품 추가를 클릭하여 제품 동기화를 시작합니다.
-
After adding the channel, SUSE Multi-Linux Manager will schedule the channel to be synchronized. This can take a long time as SUSE Multi-Linux Manager will copy channel software sources from the SUSE repositories located at SUSE Customer Center to the local /var/lib/containers/storage/volumes/var-spacewalk/
directory of your server.
채널이 완전히 동기화되면 채널에 대한 부트스트랩 리포지토리가 자동으로 생성됩니다. 이 단계는 클라이언트를 성공적으로 부트스트랩하기 위해 매우 중요한 단계로, 클라이언트 측에서 채널 동기화 및 배포가 작동하는지 확인합니다. 이를 통해 SUSE Multi-Linux Manager의 설치 및 구성이 완료되고 클라이언트 부트스트랩에 필요한 채널이 준비됩니다.
채널 동기화 프로세스가 완료되면 클라이언트를 등록할 수 있습니다. 자세한 지침은 클라이언트 등록을 참조하십시오.
자세한 지침은 클라이언트 등록에서 확인할 수 있습니다.
7. Entering the Container for Management
컨테이너 내부의 셸로 이동하려면 컨테이너 호스트에서 실행합니다.
mgrctl term