Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Search VM in Orchestrator is slow

$
0
0

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


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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