Welcome to my site. I started this site as an online archive for me and all things virtual. I kept getting requests for help around some of the more standard issues we all hit in dealing with Cloud automation, particularly around the VMware vCloud Stack so I decided to make my forum public...and here we are.

My name is Lee Friend and I'm based in London, UK. I am a Cloud orchestration specialist in the end to end management, automation and integration of virtualisation stacks covering all pieces of the puzzle from IPAM (InfoBlox / QIP / IP Control), DNS, AD, resiliency & DR (SRM automation), management system integration (including ServiceNow, BMC Remedy, ticketing systems) and on and on.

Having worked since the very early days of virtualisation, I specialise in the vRealize suite (vRO,vRA,vCD,vR OPs,vCloudClient,SRM,and on) with the aim of orchestrating wherever it's needed. I have helped out large financials, global exchanges and cloud service providers at an architecture level all the way through to workflow engineering.

vRA vRO multi-machine - working with day 2 actions

Things to do with vCAC and vRA
Site Admin
Posts: 30
Joined: Sat Dec 20, 2014 4:45 pm

vRA vRO multi-machine - working with day 2 actions

Postby leefriend » Tue Dec 01, 2015 11:18 am

vRA has several built in Resource Mappings allowing us to show ASD actions for day 2 operations. When it comes to multi-machine blueprints there is no built in mapping so we can't add actions against multi-machine items.

What we need to do is create a mapping of the Multi-Machine Service to a vCAC virtual machine so we can then work with the multi-machine object

Create the vRA Resource Mapping
As a tenant admin, Advanced Services > Resource Mappings > Add
- Complete the name, description, version and target criteria as required
- Catalog Resource Type => Multi-Machine Service
- Orchestrator Type vCAC:VirtualMachine
- Mapping workflow (point to the workflow we create below)

Create the Mapping workflow in vRO
- input parameters: name props; type Properties
- output parameters: name out; type vCAC:VirtualMachine
- add a script to the workflow, add the input and output parameters above
- code:

Code: Select all

var vCACVms = Server.findAllForType("vCAC:VirtualMachine", null);
for each(vCACVm in vCACVms){
    if(vCACVm.virtualMachineID == props.get('machineId')){
        out = vCACVm;

Return to “Everything vCAC / vRA”