Subnet88
Enthusiast
Enthusiast

Server.setCustomProperty to Remote server object using Multi Node

Hi All,

Is there a way to perform a Server.setCustomProperty() call to a object on a remote server using the Multi node plugin?

I need to set the custom properties of AMQP subscriptions.

0 Kudos
4 Replies
Burke-
VMware Employee
VMware Employee

I don't have the multi-node plug-in setup in any of my environments, but it seems this should be possible:

1) Create workflow on the child vCO Server(s) that prompts for the appropriate inputs (AMQP subscription object, property name, property value)

2) Within scriptable task, perform the Server.setCustomProperty call.

3) Refresh the parent server's view of the child vCO Server(s) workflow inventory

4) Launch the proxied child vCO server workflow from the parent server

Have you tried this?

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
0 Kudos
Subnet88
Enthusiast
Enthusiast

How do I pass the remote AMQP Subscription object to the parent VCO server?

Essentially I have a Subscription on the parent server. I want to ensure that all Child servers have the same custom properties on the same AMQP Subscription. As these properties are not stored in the resource element, I cant just do an import / export.

0 Kudos
Burke-
VMware Employee
VMware Employee

If the child server has AMQP subscriptions defined and the child server workflow has an AMQP subscription as a workflow input, doesn't the Proxied workflow on the Parent vCO Server present the remote inventory in the chooser??

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
0 Kudos
Subnet88
Enthusiast
Enthusiast

One of my inputs is an array, When I try and execute the proxy workflow, "I recieve the error TypeError: org.mozilla.javascript.NativeArray@f7f79ae is not a function, it is object. (Workflow:Set Subscription Custom Parameters / Scripting (item2)#2)"

If I try to duplicate the "Rename virtual machine (remote)" example, I recieve an error that "Failed to start remote workflow execution. (Workflow:Synchronize Subscription on Remote host / Scriptable task (item1)#8)"

In this case, debug logs show that the SAML token is invalid.

0 Kudos