Hi,
We have about 3000 VMs spread over 2 vCenters.
We created an Orchestrator workflow that searches a particular VM.
But this takes about 30 seconds.
We have used following search methods:
vms = System.getModule("com.vmware.library.vc.vm").getAllVMsMatchingRegexp(".*" + pattern + ".*");
and
var xpath = "xpath:name[starts-with(.,'" + pattern + "')]"; vms = VcPlugin.getAllVirtualMachines(null , xpath);
But these are both too slow.
Is there an other method for searching VMs in multiple vCenters? (Without knowing in advance in which vCenter the VM is located)
Thanks in advance!
Jonathan