VMware Cloud Community
drexciya
Enthusiast
Enthusiast

Exporting nested environment and importing again gives issues

I've created a nested environment (vCenter Server, 2 Nested ESXi Servers, a helper VM which is also connected to the external network and an iSCSI Appliance) which I subsequently exported as OVF and then imported again. So far, so good, but there's one annoying detail. I've created nested VMs and stored them on an iSCSI Appliance (based on istgt on Linux). Now if I power on these nested VMs in the imported environment, the VMs all come up with the did you Copy it or Move it question. What caused this and is there a way to prevent this from happening? I've looked up some PowerCLI options to automatically answer the question, but I really like to prevent this from happening at all.

3 Replies
a_p_
Leadership
Leadership

You can add an entry "uuid.action" to the VM's .vmx files to predefine what's going to happen. Take a look at http://kb.vmware.com/kb/1541 for available options.

André

drexciya
Enthusiast
Enthusiast

That works, thanks for the suggestion. Now I'll have to ask a bash expert to modify these vmx files (there's only 20 of them).

Modifying one is easy enough:

echo "uuid.action = create" >> /vmfs/volumes/datastore02/Win03B/Win03B.vmx

0 Kudos
a_p_
Leadership
Leadership

Don't forget the quotation marks for the value!

André

0 Kudos