VMware를 사용한 가상화
가상 호스트 관리자(VHM)를 설정하여 SUSE Multi-Linux Manager에서 ESXi 및 vCenter를 포함한 VMware vSphere 가상 머신을 사용할 수 있습니다.
먼저 SUSE Multi-Linux Manager 서버에서 VHM을 설정하고 사용 가능한 VM 호스트를 목록에 포함해야 합니다. 이렇게 하면 Taskomatic이 VM API를 사용해 데이터 수집을 시작할 수 있습니다.
1. VHM 설정
가상 호스트 관리자(VHM)는 SUSE Multi-Linux Manager 서버에서 실행됩니다.
VHM을 실행하려면 SUSE Multi-Linux Manager 서버가 포트 443을 열어 VMware API에 액세스해야 합니다.
VMware hosts use access roles and permissions to control access to hosts and guests. Ensure that any VMware objects or resources that you want to be inventoried by the VHM have at least read-only permissions. If you want to exclude any objects or resources, mark them with no-access.
새 호스트를 SUSE Multi-Linux Manager에 추가하려면 사용자 및 객체에 할당된 역할 및 권한을 SUSE Multi-Linux Manager가 목록에 포함해야 할지 여부를 고려해야 합니다.
사용자, 역할 및 권한에 대한 자세한 내용은 VMware vSphere 문서 https://techdocs.broadcom.com/us/en/vmware-cis/vsphere.html에서 확인할 수 있습니다.
-
SUSE Multi-Linux Manager Web UI에서 로 이동합니다.
-
Click Create and select
VMware-based. -
In the
Add a VMware-based Virtual Host Managersection, use these parameters:-
In the
Labelfield, type a custom name for your VHM. -
In the
Hostnamefield, type the fully qualified domain name (FQDN) or host IP address. -
In the
Portfield, type the ESXi API port to use (for example,443). -
In the
Usernamefield, type the username associated with the VM host. -
In the
Passwordfield, type the password associated with the VM host user.
-
-
생성을 클릭하여 변경 사항을 저장하고 VHM을 생성합니다.
-
On the
Virtual Host Managerspage select the new VHM. -
On the
Propertiespage, click Refresh Data to inventory the new VHM.
어떤 객체 및 리소스가 목록에 포함되었는지 확인하려면 으로 이동하십시오.
|
Connecting to the ESXi server from a browser using HTTPS can sometimes log an |
taskomatic은 VHM을 생성하여 구성한 후 데이터 수집을 자동으로 실행합니다. 데이터 수집을 수동으로 수행하려면 로 이동하여 적절한 VHM을 선택한 후 데이터 새로 고침을 클릭합니다.
SUSE Multi-Linux Manager ships with a tool called virtual-host-gatherer that can connect to VHMs using their API, and request information about virtual hosts. virtual-host-gatherer maintains the concept of optional modules, where each module enables a specific VHM. This tool is automatically invoked nightly by Taskomatic. Log files for the virtual-host-gatherer tool are located at /var/log/rhn/gatherer.log.
2. VMware에서 SSL 오류 문제 해결
VMware 설치를 구성하는 중에 SSL 오류가 발생한 경우 VMware에서 CA 인증서 파일을 다운로드하여 SUSE Multi-Linux Manager에서 신뢰해야 합니다.
-
VMware 설치에서 CA 인증서를 다운로드합니다. vCenter Web UI에 로그인해 신뢰할 수 있는 루트 CA 인증서 다운로드를 클릭하여 다운로드할 수 있습니다.
-
If the downloaded CA certificates file is in
.zipformat, extract the archive. The certificate files have a number as an extension. For example,certificate.0. -
Copy the certificate files to your SUSE Multi-Linux Manager Server, and save them to the
/etc/pki/trust/anchors/directory. -
Change the filename suffix on the copied certificate to either
.crtor.pem. -
SUSE Multi-Linux Manager 서버의 명령 프롬프트에서 다음과 같이 CA 인증서 레코드를 업데이트합니다.
update-ca-certificates