VMware Cloud Community
KiwiDave
Enthusiast
Enthusiast

Caching vcenter information on restart

Hi guys,

We have workflows which have vcenter information used for input selection (selecting a VMfolder, or network for example).

When the Orchestrator service restarts all cached vcenter information is lost, consequently when a workflow is run for the first time it takes a period to load this information into cache.

Is there a way of loading this information via a workflow for example?

Thanks,

Dave

Tags (1)
Reply
0 Kudos
2 Replies
dvatov
VMware Employee
VMware Employee

You can try retrieving VcPlugin.all... properties.

Reply
0 Kudos
cdecanini_
VMware Employee
VMware Employee

You can address this with a policy that run a workflow when the server is started.

You can do what Daniel proposed (but it may be a bit overkill if you have a large infra) or load a specific object type using Server.findAllForType() or load specifically the part of the vCenter objects you are likely to use with enumerating the objects of a particular inventory branch.

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos