How can I get the VM storage location...

Oct 29, 2009 at 10:04 PM

I need to copy virtual machines to the Server(in wish Virtual Center 2.x is istalled)... then i will register the Virtual Machine using:

Register([standard] MyVirtualMachine/virtualmachine.vmx)...

But, how can I get the url base of the standard location???

 

The algorithm is as follow

1. Get directory destiny(Server standard location)

2. copy(directory source, directory destiny)

3. Register([standard] directory source name/vm.vmx)

.....

my doubt is in the first step.

Regards.

Coordinator
Nov 2, 2009 at 11:25 AM

I don't think VixCOM can do this for you. You need to check out the server management APIs. Ask somewhere on the VMWare site.