가상화/VMware Esxi
[VMware ESXi] ovftool로 vm export 하기
ploz
2022. 5. 23. 14:50
반응형
ovftool 설치
- 별도의 설치는 필요없으며 압축 해제 후 사용 가능함.
사용방법
- 형식 : ovftool "vi://{esxi ssh id}:{esxi ssh password}@{esxi ip}/{export vm name}" {local path}
> ./ovftool "vi://root:{password}@987214@{esxi ip}/{vm name}" .
Opening VI source: vi://root@{esxi ip}:443/{vm name}
Opening OVF target: .
Writing OVF package: ./{vm name}/{vm name}.ovf
Disk progress: 1%
...
- VM power off 상태에서 export가 가능하며 power on 상태에서는 아래 메세지와 함께 export가 불가함.
...
The operation is not allowed in the current state.,
Fault cause: vim.fault.InvalidState
- UI 상에서도 export가 가능
- 각 VM - 작업 - 내보내기
반응형