VMware Cloud Community
pravi1986
Contributor
Contributor

how to deploy ovf file in vcenter esxi server using ovftool ??

Trying to deploy ovf file using ovftool.exe from the commandline and facing the below mentioned problem.

C:\Program Files\VMware\VMware OVF Tool>.\ovftool.exe --diskMode=thin --datastor
e=datastore1 --ipProtocol=IPv4 --acceptAllEulas "--network=VM Network" "--prop:v
ami.gateway.vSphere_Data_Protection"=10.110.208.1 "--prop:vami.DNS.vSphere_Data_
Protection"=10.110.188.5 "--prop:vami.ip0.vSphere_Data_Protection"=10.110.211.15
1 "--prop:vami.netmask0.vSphere_Data_Protection"=255.255.252.0 "C:\Sharing\v359\
ovf_filename.ovf" "vi://"root:password"@WIN-1VPBHEDRE5M/dc1/
host/10.110.209.214"
Opening OVF source: //:@WIN-1VPBHEDRE5M:80\Sharing\v359\ovf_filename.ovf
Error: cURL error: Couldn't resolve host name
Warning:
- No manifest file found.
Completed with errors

Can anyone help me in resolving this issue.

0 Kudos
4 Replies
a_p_
Leadership
Leadership

Before digging deeper, please try run the command with the relax option --lax to see whether this ignores the missing .mf file.

André

0 Kudos
pravi1986
Contributor
Contributor

Getting below error while running with --lax option

C:\Program Files\VMware\VMware OVF Tool>.\ovftool.exe --lax --diskMode=thin --da

tastore=datastore1 --ipProtocol=IPv4 --acceptAllEulas "--network=VM Network" "--

prop:vami.gateway.vSphere_Data_Protection"=10.110.208.1 "--prop:vami.DNS.vSphere

_Data_Protection"=10.110.188.5 "--prop:vami.ip0.vSphere_Data_Protection"=10.110.

211.151 "--prop:vami.netmask0.vSphere_Data_Protection"=255.255.252.0 "C:\Sharing

\v359\ovf_filename.ovf" "vi://"root:password"@WIN-1VPBHEDRE5

M/dc1/host/10.110.209.214"

Opening OVF source: //:@WIN-1VPBHEDRE5M:80\Sharing\v359\ovf_filename.ovf

Error: cURL error: Couldn't resolve host name

Warning:

- No manifest file found.

Completed with errors

0 Kudos
rpotru
Enthusiast
Enthusiast

Were you able to figure it out?

"vi://"root:password"@WIN-1VPBHEDRE5

M/dc1/host/10.110.209.214"

You have to provide the credentials for vCenter and vCenter name and then hostname for the target string.

0 Kudos
pravi1986
Contributor
Contributor

Still facing the same issue..

Here are my system details and can anyone provide with the exact command to deploy ovf

My vcenter ndcame is "WIN-1VPBHEDRE5"

My datacenter name is "dc1"

My ESXi host  is "10.110.209.214"

C:\Program Files\VMware\VMware OVF Tool>.\ovftool.exe --lax --diskMode=thin --da
tastore=datastore1 --ipProtocol=IPv4 --acceptAllEulas "--network=VM Network" "--
prop:vami.gateway.vSphere_Data_Protection"=10.110.208.1 "--prop:vami.DNS.vSphere
_Data_Protection"=10.110.188.5 "--prop:vami.ip0.vSphere_Data_Protection"=10.110.
211.151 "--prop:vami.netmask0.vSphere_Data_Protection"=255.255.252.0 "C:\Sharing
\v359\ovf_filename.ovf" "vi://"administrator:password123"@WIN-1V
PBHEDRE5M/dc1/host/10.110.209.214"
Opening OVF source: //:@WIN-1VPBHEDRE5M:80\Sharing\v359\ovf_filename.ovf
Error: cURL error: Couldn't resolve host name
Warning:
- No manifest file found.
Completed with errors
0 Kudos