VMware OVFTool Probleme beim deployen
Hey Community,
ich benutze die letzte version des vmware ovftools um aus einer *.ova File eine virtuelle appliance zu erstellen. Erhalte aber folgenden Fehler:
Hier ist mein Befehl den ich aus einer Powershell mit adminrechten durchführe:
Eine idee was hier das Problem ist?
Zudem möchte ich gerne die Netzwerkeinstellungen der appliance mit dem neuen hostnamen vorher über die --prop option angeben. Dafür brauche ich ja die "ClassID" und die "InstanceID". Diese bekommt man ja eigentlich wenn man das ausführt:
Letztendlich sollte mein Befehl für das deployen einer appliance aus der ova File so aussehe, odeR?
Diese properties wie "vami" oder "vSphere_Data_Protection_5.8" bekomme ich nicht wenn ich "ovftool "C:\tmp\test_OVA.ova" ausführe:
Als Referenzdoku hab ich diesn Link: https://blah.cloud/virtualisation/deploying-ovaovf-remote-vcenter-using- ...
ich benutze die letzte version des vmware ovftools um aus einer *.ova File eine virtuelle appliance zu erstellen. Erhalte aber folgenden Fehler:
1
Error: Locator does not refer to an object: vi://administrator%40vsphere.local@myvcenter.domain.com:443/test/vm/template/vmware/
Hier ist mein Befehl den ich aus einer Powershell mit adminrechten durchführe:
1
ovftool.exe --acceptAllEulas -ds=DATASTORE_A_001 --net:"vxw-dvs-111-virtualwire-10-sid-100067-LS-A0-1-VMware" --deploymentOption=tiny --diskMode=thin "C:\tmp\test_OVA.ova" vi://myvcenter.domain.com/test/vm/template/vmware
Eine idee was hier das Problem ist?
Zudem möchte ich gerne die Netzwerkeinstellungen der appliance mit dem neuen hostnamen vorher über die --prop option angeben. Dafür brauche ich ja die "ClassID" und die "InstanceID". Diese bekommt man ja eigentlich wenn man das ausführt:
1
ovftool "C:\tmp\test_OVA.ova"
Letztendlich sollte mein Befehl für das deployen einer appliance aus der ova File so aussehe, odeR?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ovftool.exe --acceptAllEulas -ds="datastore1" \
--net:"Isolated Network"="DMZ" \
--prop:"vami.gateway.vSphere_Data_Protection_5.8"="10.0.2.1" \
--prop:"vami.DNS.vSphere_Data_Protection_5.8"="10.0.1.254" \
--prop:"vami.ip0.vSphere_Data_Protection_5.8"="10.0.2.150" \
--prop:"vami.netmask0.vSphere_Data_Protection_5.8"="255.255.255.0" \
\\nas\data\nfs\VMWare\vSphereDataProtection-5.8.ova \
vi://vcsa.domain.com/datacentername/host/clustername
Diese properties wie "vami" oder "vSphere_Data_Protection_5.8" bekomme ich nicht wenn ich "ovftool "C:\tmp\test_OVA.ova" ausführe:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
OVF version: 1.0
VirtualApp: false
Name: Ops-Manager
Version: 2.3-build.258
Vendor: Pivotal
Annotation: Ops Manager for Pivotal Cloud Foundry
installs and manages PCF products and services.
Download Size: 3.96 GB
Deployment Sizes:
Flat disks: 160.00 GB
Sparse disks: Unknown
Networks:
Name: Network 1
Description: Logical network used by this appliance.
Virtual Machines:
Name: FAKE_FILENAME
Operating System: otherguest
Virtual Hardware:
Families: vmx-09
Number of CPUs: 1
Cores per socket: 1
Memory: 8.00 GB
Disks:
Index: 0
Instance ID: 5
Capacity: 160.00 GB
Disk Types: SCSI-lsilogic
NICs:
Adapter Type: E1000
Connection: Network 1
Properties:
Key: ip0
Label: IP Address
Type: string
Description: The IP address for the Ops Manager. Leave blank if DHCP is
desired.
Key: netmask0
Label: Netmask
Type: string
Description: The netmask for the Ops Manager's network. Leave blank if DHCP
is desired.
Key: gateway
Label: Default Gateway
Type: string
Description: The default gateway address for the Ops Manager's network. Leave
blank if DHCP is desired.
Key: DNS
Label: DNS
Type: string
Description: The domain name servers for the Ops Manager (comma separated).
Leave blank if DHCP is desired.
Key: ntp_servers
Label: NTP Servers
Type: string
Description: Comma-delimited list of NTP servers
Key: admin_password
Label: Admin Password
Type: password
Description: This password is used to SSH into the Ops Manager. The username
is 'ubuntu'. One or both of Admin Password and SSH Key is
required.
Key: public_ssh_key
Label: Public SSH Key
Type: string
Description: The Public SSH Key is used to allow SSHing into the Ops Manager
with your private ssh key. The username is 'ubuntu'. One or both
of Admin Password and SSH Key is required.
Key: custom_hostname
Label: Custom Hostname
Type: string
Description: This will be set as the hostname on the VM. Default:
'pivotal-ops-manager'.
Als Referenzdoku hab ich diesn Link: https://blah.cloud/virtualisation/deploying-ovaovf-remote-vcenter-using- ...
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 430080
Url: https://administrator.de/forum/vmware-ovftool-probleme-beim-deployen-430080.html
Ausgedruckt am: 11.04.2025 um 04:04 Uhr