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

Custom Hostname - Multiple Instances

$
0
0

I have created a workflow that changes the machine name to a custom name.

The workflow creates a machine name by using custom properties from vRA and then verify that the name is not used in vSphere (using getAllVMsMatchingRegexp action) The result is a new, unused Custom name.

 

It works perfectly for a single VM.

 

When I deploy multiply VMs the workflow run in parallel and the output for all instances is the same hostname… (the VM have not been created yet)

Any idea how to solve this?

What are my options?

 

I am using subscription and extensibility, so the output is –

virtualMachineAddOrUpdateProperties.put(‘Name’, machineName);


Thanks!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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