PAYG 인스턴스 연결
In the major public cloud providers (AWS, Azure), SUSE:
-
SLES, SLES for SAP 등을 위한 맞춤형 PAYG 제품 이미지를 제공합니다.
-
PAYG(으)로 제공되는 제품을 위한 영역별 RMT 서버 미러링 리포지토리를 운영합니다.
이 설명서에서는 기존 PAYG 인스턴스를 SUSE Multi-Linux Manager 서버에 연결하는 방법을 설명하고 인스턴스에서 인증서 모음과 관련한 기본적인 정보를 제공합니다. 연결은 SUSE Multi-Linux Manager 서버가 클라우드 RMT 호스트에 연결할 수 있도록 인증 데이터를 추출하기 위해 수행됩니다. 그런 다음 SUSE Multi-Linux Manager 서버는 SCC 조직 인증서로 아직 사용할 수 없는 RMT 호스트의 제품에 액세스할 수 있습니다.
PAYG 기능 사용 전 확인 사항:
-
원하는 리포지토리에 액세스할 수 있도록 올바른 SUSE 제품 이미지(예: SLES, SLES for SAP 또는 SLE HPC)에서 PAYG 인스턴스가 시작됩니다.
-
SUSE Multi-Linux Manager 서버는 직접 또는 배스천을 통해 PAYG 인스턴스(이상적으로는 동일한 영역에 위치)에 연결됩니다.
-
기본 SCC 계정이 필요합니다. 에 유효한 SCC 자격 증명을 입력하십시오. 이 계정은 PAYG 인스턴스에 관계없이 부스트래핑을 위한 SUSE Multi-Linux Manager 클라이언트 도구에 액세스하는 데 필요합니다.
-
If you bootstrap the PAYG instance to SUSE Multi-Linux Manager, it will disable its PAYG repositories then add repositories from where it mirrored the data from the RMT server. The final result will be PAYG instances acquiring the same repositories from the RMT servers but through the SUSE Multi-Linux Manager server itself. Of course repositories can still be setup primarily from SCC.
1. PAYG 인스턴스 연결 중
-
SUSE Multi-Linux Manager Web UI에서 으로 이동하고 PAYG 추가를 클릭합니다.
-
Start with the page section
PAYG connection Description. -
In the
Descriptionfield, add the description. -
Move to the page section
Instance SSH connection data. -
In the
Hostfield, enter the instance DNS or IP address to connect from SUSE Multi-Linux Manager. -
In the
SSH Portfield, enter the port number or use default value 22. -
In the
Userfield, enter the username as specified in the cloud. -
In the
Passwordfield, enter the password. -
In the
SSH Private Keyfield, enter the instance key. -
In the
SSH Private Key Passphrasefield, enter the key passphrase.
|
인증 키는 항상 PEM 형식이어야 합니다. |
인스턴스에 직접 연결하지 않고 SSH 배스천을 통해 연결하는 경우 절차: SSH 배스천 연결 데이터 추가를 진행합니다.
그 외의 경우, 절차: PAYG 연결 종료을 진행합니다.
-
Navigate to the page section
Bastion SSH connection data. -
In the
Hostfield, enter the bastion hostname. -
In the
SSH Portfield, enter the bastion port number. -
In the
Userfield, enter the bastion username. -
In the
Passwordfield, enter the bastion password. -
In the
SSH Private Keyfield, enter the bastion key. -
In the
SSH Private Key Passphrasefield, enter the bastion key passphrase.
Complete the setup process with 절차: PAYG 연결 종료.
-
새로운 PAYG 연결 데이터 추가를 완료하려면 만들기를 클릭하십시오.
-
Return to PAYG connection data
Detailspage. The updated connection status is displayed on the top section namedInformation. -
Connection status is shown in
Admin > Setup Wizard > Pay-as-you-goscreen too. -
If the authentication data for the instance are correct, the column
Statusshows "Credentials successfully updated."
|
If the invalid data are entered at any point, the newly created instance is shown in |
서버에서 인증 데이터를 사용할 수 있게 되면 사용 가능한 제품 목록이 업데이트됩니다.
Available products are all versions of the same product family and architecture as the one installed in the PAYG instance. For example, if the instance has the SUSE Linux Enterprise Server 15 SP1 product installed, SUSE Linux Enterprise Server 15 SP2, SUSE Linux Enterprise Server 15 SP3, SUSE Linux Enterprise Server 15 SP4 and SUSE Linux Enterprise Server 15 SP5 are automatically shown in Admin > Setup Wizard > Products.
제품이 사용 가능한 것으로 표시되면 사용자는 제품 이름 옆의 확인란을 선택하고 제품 추가를 클릭하여 SUSE Multi-Linux Manager에 제품을 추가할 수 있습니다.
After the success message you can verify the newly added channels in the Web UI, by navigating to Software > Channel List > All.
To monitor the syncing progress of each channel, check the log files in the /var/log/rhn/reposync directory on the SUSE Multi-Linux Manager Server.
|
제품이 PAYG 인스턴스와 SCC 구독 중 하나에서 모두 제공되는 경우 제품 목록에 한 번만 나타납니다. 해당 제품에 속한 채널이 동기화되면 데이터는 Pay-As-You-Go 인스턴스가 아닌 SCC 구독에서 계속 가져올 수 있습니다. |
2. 인스턴스 자격 증명 수집 상태
SUSE Multi-Linux Manager 서버는 인스턴스에서 수집한 자격 증명을 사용하여 RMT 서버에 연결하고 reposync를 사용하여 패키지를 다운로드합니다. 이러한 자격 증명은 정의된 SSH 연결 데이터를 사용하여 taskomatic에 의해 10분마다 새로 고쳐집니다. RMT 서버에 대한 연결은 PAYG 인스턴스에서 수집된 마지막으로 알려진 인증 자격 증명을 항상 사용합니다.
The status of the PAYG instance credentials collect is shown in the column Status or on the instance details page. When the instance is not reachable, the credential update process will fail.
인스턴스에 연결할 수 없는 경우 자격 증명 업데이트 프로세스가 실패하고 새로 고침이 두 번 실패하면 자격 증명이 무효화됩니다. 자격 증명이 유효하지 않은 경우 채널 동기화가 실패합니다. 이를 방지하려면 연결된 인스턴스를 계속 실행합니다.
SSH 연결 데이터가 명시적으로 삭제된 경우를 제외하고, PAYG 인스턴스는 SUSE Multi-Linux Manager 서버에 연결된 상태를 유지합니다. 인스턴스에 대한 SSH 연결 데이터를 삭제하려면 [proc-deleting-connection-data-to-instance] 명령을 사용하십시오.
항상 SUSE Multi-Linux Manager 서버에서 PAYG 인스턴스에 액세스할 수 있는 것은 아닙니다.
-
인스턴스가 존재하지만 중지된 경우에는 마지막으로 알려진 자격 증명을 사용하여 인스턴스에 연결을 시도합니다. 자격 증명 유효 기간은 클라우드 공급자에 따라 다릅니다.
-
인스턴스가 더 이상 존재하지 않지만 여전히 SUMA에 등록되어 있으면, 해당 자격 증명은 더 이상 유효하지 않으며 인증이 실패합니다. 오류 메시지는 상태 열에 표시됩니다.
오류 메시지는 인스턴스를 사용할 수 없다는 것만을 나타냅니다. 인스턴스 상태에 대한 자세한 진단은 클라우드 공급자에서 수행해야 합니다.
|
PAYG 인스턴스에서 다음 작업 또는 변경 사항이 발생하면 자격 증명이 작동하지 않게 됩니다.
* zypper 자격 증명 파일 제거
* 가져온 인증서 제거
* removing cloud-specific entries from |
3. PAYG 시스템을 클라이언트로 등록
자격 증명을 수집하는 PAYG 인스턴스를 Salt 클라이언트로 등록할 수 있습니다. 인스턴스에는 유효한 클라우드 연결이 등록되어 있어야 하며, 그렇지 않으면 채널에 액세스할 수 없습니다. 사용자가 클라우드 패키지를 제거하면 자격 증명 수집이 작동하지 않을 수 있습니다.
우선 PAYG 인스턴스를 설정하여 인증 데이터를 수집합니다. 그러면 채널을 동기화할 수 있습니다.
나머지 프로세스는 비퍼블릭 클라우드 클라이언트에서와 동일하며 채널 동기화, 자동 부트스트랩 스크립트 생성, 활성화 키 생성 및 등록 시작으로 구성됩니다.
클라이언트 등록에 대한 자세한 내용은 클라이언트 등록에서 확인할 수 있습니다.
4. 문제 해결
- 자격 증명 확인
-
-
스크립트가 자격 증명 수집에 실패하면 로그 및 Web UI에 적절한 오류 메시지가 표시되어야 합니다.
-
If the credentials are not working,
reposyncshould show the proper error.
-
- Using
registercloudguest -
-
Refreshing or changing the
registercloudguestconnection to the public cloud update infrastructure should not interfere with the credentials usage. -
Running
registercloudguest --cleanwill cause problems if no new cloud connection is registered with the cloud guest command.
-