I'm trying to do a VixDiskLib_Open for a remote disk for a VM on an ESX server that's managed through a vCenter server.
I'm not quite sure how to specify the path to the disk. For standalone ESX I use "[DatastoreName] VMname/VMname.vmdk" which seems to work well. This causes an error when attempting to open the same thing through a vCenter server, which makes sense, since it probably doesn't know which host the datastore I'm referring to is on.
So, how do I need to specify this in the call to VixDiskLib_Open? I assume I can add the datastore name or a reference to the ESX host to this path, and then use it in a way similar to how it works on ESX hosts.
I am using VixDiskLib_ConnectEx before this call with a reference to a snapshot, if that helps any.
Thanks!