Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 150956

Re: VixDiskLib_PrepareForAccess always returns 1 or 20

$
0
0

Hi intripoon,

 

 

Does vmxSpec string always have to be "moref=vm-{number}"? Because, when I connect to ESXi directly, it returns a number only, like "5". When I ask through vcenter, I get "vm-7". Do I have to add the "vm-" in front myself in the ESXi-direct case or does the string have to be "moref=5" in that case?

 

 

Well basically I would just use "moref=vmmor->Value". That sounds most straight forward to me.


Apart from that, when I call  VixDiskLib_PrepareForAccess() through vcenter with moref=vm-7 it returns 0 and not 1 anymore. For direct connect to esxi with moref=vm-5 it still results in 20. Is that supposed to be like that?

 

 

 

Well sounds great: I would interpret this as vCenter now understands what it should do and ESXi still says "I am not vCenter and cannot move around any VMs so I do not understand what you want".

 

By the way if consider of my stuff anything helpful please feel free to award points ;-)

--

Thomas G.


Viewing all articles
Browse latest Browse all 150956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>