I am trying to query all the storage devices that are currently attached to a VM. I have VM that has four hard drives off the SCSI controllers. I used the CPO Query VM Devices activity. I get the results but I am not able to correlate the drives and the controller associations. From the result I cannot tell which controller Hard Disk 1 belong to and so on. I also have no idea which LUN on the controller the device is attached to. Is there a way we can establish this relationship through CPO automation activities? Any suggestion will be greatly appreciated.
Thanks for the reply. We are using CPO 3.0. We have investigated VMWare Powercli but the performance is very poor. Other alternative we looked into using Java API and the performances is acceptable but our goal is to embed everything within CPO for deployment simplicity and maintenance plus avoid any external dependencies other than simple web service calls