VMware Cloud Community
waynezh
Contributor
Contributor

Parameters in .ovf template?


Hi,

I'm working on automaticly deploy VMs using .ovf template.

There is one management server in the datacenter.

How can the new VMs find the management server?

Should I store the IP of the server in .ovf and later use 'ovfenv' to get it?

Thanks

Reply
0 Kudos
5 Replies
prabuvmware
Enthusiast
Enthusiast

Follow the below steps.

1. U should export in OVF format in the source.

2.Store it in the place where u want.

3.Copy the file tp  the destination.

4. Import the file in the destination.

Let me know, if you are facing any issue,....

Reply
0 Kudos
admin
Immortal
Immortal

You need to deploy ovf as per stesp stated above.. But for VMs to automatically take IP address, you can  create IP pools in vCenter

Reply
0 Kudos
waynezh
Contributor
Contributor

Thanks prabuvmware.

How can I configure server IP in .ovf file and later get it from within VMs?

I have tried to add items under "VirtualSystem/ProductSection/Property", but when deploy, it failed with unrecognized property error.

Reply
0 Kudos
prabuvmware
Enthusiast
Enthusiast

You can't configure the IP in OVF file.However, you can assign the IP to the VM...

Reply
0 Kudos
waynezh
Contributor
Contributor

Maybe I did not say it clearly.

I mean pass the management server's IP to newly deployed VMs.

Lets say, I have:

* server A with IP 1.2.3.4

* .ovf template

* VM B that deployed from .ovf template with IP 5.6.7.8

How can I tell B that A's IP is 1.2.3.4, or tell A that B's IP is 5.6.7.8?

Reply
0 Kudos