- vCenter Converter의 Pre-Check 스크립트의 실행이 실패할 경우 이를 확인하는 스크립트를 수동으로 전송하여 실행해서 의존성 라이브러리 설치
1. vCenter Converter 디렉토리에 있는 vmware-sysinfo-lin32/64.tar.gz 추출
- migration 대상 Linux 서버로 전송되어 원격 실행되어야 하나 필요한 라이브러리가 설치되어 있지 않아 실행이 실패할 경우 수동으로 스크립트를 실행하면서 필요한 패키지들의 설치를 진행할 수 있음
- 대상 서버에 파일 전송 후 압축 해제 >> vmware-sysinfo.sh 실행하면 어떠한 의존성 라이브러리가 부족한지 확인 가능
# ./vmware-sysinfo.sh
./vmware-sysinfo: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
>> 이관 대상 서버에 libnsl.so.1 파일이 설치되어 있지 않음
# dnf install libnsl-2.28-189.1.el8.x86_64.rpm
>> 필요한 파일이 있는 rpm 설치
# ./vmware-sysinfo.sh
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
/dev/sr0p2
stat: No such file or directory
/sbin/grub2-install: /tmp/libuuid.so.1: no version information available (required by /lib64/libblkid.so.1)
<?xml version="1.0" encoding="UTF-8"?>
<sysinfo>
<storage>
<volume mountPoint="/" blockSize
2. vCenter Converter 관련 방화벽 포트 (firewall port)
- Windows
Source | Destination | TCP Ports | UDP Ports | Notes |
Converter server |
Source Server |
445, 139, 9089 or9090 | 137, 138 | If the source computer uses NetBIOS, port 445 is not required. If NetBIOS is not being used, ports 137, 138, and 139 are not required. If in doubt, ensure that none of the ports are blocked. Port 9089 is used for Converter Standalone versions,and 9090 isused for the Converter plugin. Note: Unless you have installed Converter server to the source computer, the account used for authentication to the source computer must have a password, the source computer must have network file sharing enabled, and it cannot be using Simple File Sharing. |
Converter server |
Virtual Center |
443 | Only required if the conversion target is VirtualCenter. | |
Converter client |
Converter server |
443 | Only required if a custom installation was performed and the Converter server and client portions are on different computers. | |
Source Server |
ESX/ESXi | 443, 902 | If the conversion destination is vCenter Server, only port 902 is required from the source to the ESX/ESXi host management IP. |
- Linux : DHCP 환경이 아닐 경우 Helper VM 포트도 열어야 함
Source | Destination | TCP Ports | Notes |
Converter server | Source Server | 22 | The Converter server must be able to establish an SSH connection with the source computer. |
Converter client | Converter server | 443 | Only required if a custom installation was performed and the Converter server and client portions are on different computers. |
Converter server | VirtualCenter | 443 | Only required if the conversion target is VirtualCenter. |
Converter server | ESX/ESXi | 443, 902, 903 | If the conversion destination is vCenter Server, only port 902 is required from the source to the ESX/ESXi host management IP. |
Converter server | Helper virtual machine | 443 | |
Helper virtual machine | Source Server | 22 | The helper virtual machine must be able to establish an SSH connection with the source computer. By default the helper virtual machine gets its IP address assigned by DHCP. If there is no DHCP server available on the network chosen for the target virtual machine you must manually assign it an IP address. |
3. Helper VM 설정 : DHCP가 환경이 아닐 경우 설정 필요 (작업용 임시 IP 필요)
'IT > VMWare' 카테고리의 다른 글
VMWare Converter : GrubInstaller Error (0) | 2023.06.20 |
---|---|
Migrate VMs : from CloudStack/OpenStack/KVM to VMWare (0) | 2023.06.15 |