VMware Cloud Community
TheVMinator
Expert
Expert

Call a java program from vRO

What is the proper and cleanest way to call a java (not javascript) application from a vco workflow?

Reply
0 Kudos
3 Replies
Burke-
VMware Employee
VMware Employee

My response here would be the same as your question about running Python scripts... Perhaps one of our other community members will have other thoughts on the topic..

You have a couple choices here:

1) if running vCO on a SINGLE server (vs running in a cluster), then you can run scripts locally using the method described in this blog article: How to run a Perl Script from a vCenter Orchestrator Workflow

2) (Preferred) Setup a scripting host VM to run scripts. Then use the Guest Operations package to run your scripts for you from that host. See here:

Guest script manager package

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 vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
cdecanini_
VMware Employee
VMware Employee

And if you have java classes then the proper way would be to build a vCO plug-in.

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
TheVMinator
Expert
Expert


OK thanks for the input.  In this case I do have complete java classes as opposed to javascript. Does this mean I should be creating plugins to use them with VCO?

Reply
0 Kudos