The problem we currently have is connecting to VMs using the VIX API.
The API has a method VMOpen :
($err, $vmHandle) = VMOpen($hostHandle,
$vmxFilePathName);
This function opens a virtual machine on the host that is identified by the hostHandle parameter and returns a context to that machine as a virtual machine handle.
We have the hostHandle. But, I think we are sending a wrong path name for the vmx file.
The format we currently use is
my $vmxFilePathName = "/vmfs/volumes/datastore_name/lab_manager_name/folder_name/somefile.vmx";
I have read permissions on the datastore. But, the error I am getting is 3014, Insufficient privileges.
Any help in this regard would be appreciated.
Thanks,
Sri.