05-05-2015 04:26 PM - edited 03-01-2019 06:34 AM
Task Name | OVF deployment / passing attributes to vCenter |
Description | |
Prerequisites |
|
Category | Workflow |
Components | vSphere 5.x |
User Inputs |
Instructions for Regular Workflow Use:
Both Workflow Task1 and Workflow Task2 do the modification of VM property attribute.
Workflow Task 1(Modify vDC VM Property Attribute.wfdx):
By using this workflow we can modify the attribute of existing VM.
For this task we have to give the below Inputs
Workflow Task 2(VMWare OVF Deployment Clone.wfdx):
By using this workflow we can deploy the new OVF(creating the new VM) and modify the property attribute of created VM.
For this task we have to give the below inputs
Workflow Task3(Print VM Properties.wfdx):
By using this workflow we can print all properties of VM.
For this task we have to give the below input
Please find the below default keys(created by our UCSD while deploying the OVF) for the corresponding properties.
Example :
If you want to change the property of “mgmt-ipv4-addr” have to give the key as 2 and value as your input.
Property Name | Key |
login-username | 0 |
login-password | 1 |
mgmt-ipv4-addr | 2 |
mgmt-ipv4-gateway | 3 |
hostname | 4 |
enable-ssh-server | 5 |
enable-http-server | 6 |
enable-https-server | 7 |
privilege-password | 8 |
domain-name | 9 |
Hi Orf,
I'm getting a java heap error when running the "OVF Import to VMware Cloud" task, even after increasing the max heap size. Might you be able to share the underlying code?
The import is a built in task. The code is not 100% visible. A wrapper version is visible when you clone the task. I would suggest opening a TAC case for the built in task issue.
Okay, thanks fro the reply, the built in task doesn't completely fit my needs anyhow. Might you know if it is just a wrapper for OVFTool, or if it leverages the OVFManagerImportVApp classes in the VMWare Java SDK?
Sorry - no I don not know. I would suspect the VMware API gets called for the vCenter since all communication happens via that vCenter connection. You could turn debug on (Administration-> Support Information) and then tail -f the log (/opt/infra/inframgr/logfile.txt) and maybe get further insight why it is creating a problem on your system.
I will try that. Thanks again!
Is this on UCSd 6.0.0.0 or 6.0.0.1 or 6.0.1.1. ?
No, it's on 5.5.0.1.
That explains it. That is for Java 1.6. and you are on java 1.8.
Hello Orf,
What should be the entry given to "OVF URL" field?
Thanks,
Sheriff
Picture 1 and two have the info…. /opt/infra/….
Hello Orf,
Thank you.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: