In Part 1 we went over the basic architecture of vRA to vRO extensibility, in this guide we will walk through a simple hello world example.
- Part 1 read and understood
- vRealize Automation 7 at least advanced installed and configured
- At least one reservation with a static ip pool
- At least one blueprint successfully provisioning, I am using CentOS7 in my example.
- The sample workflow package downloaded from here
Let’s get started!
Open a web browser to your vRealize automation appliance FQDN and click the vRealize Orchestrator Client
Login to the vRealize Orchestartor client
Login with the default user or an SSO user that you have setup.
Verify that the vRA and vCenter Plugins are working and configured properly
- Change the view to Run
- Click on the Plugins Tab
- Browse the vRealize Automation Infrastructure Plugin
- Browse the vRealize Automation Plugin
- Browse the vCenter Plugin
Install the sample vRA to vRO workflow that you downloaded earlier
- Change the view to Design
- Click the Workflow package tab
- Click Import Package
- Browse to the package you downloaded earlier
Verify the workflow was imported
- Change view to run
- Click the workflows tab
- Browse to the vRA 7 EB Get Custom Properties Example
Now let’s edit this workflow to make it do something
- Click the workflow to highlight it
- Now click edit
Let’s create a few out parameters
- Click the Schema Tab
- Click the Out tab
- Click the create output parameter icon
Now let’s create the parameters we need
We are going to create two out parameters:
vmname ipaddress myscript
Now let’s add some code to convert the custom properties to attributes in vRO
- Click the scripting tab
- Enter the following lines
//Get custom properties from vRA and store in an attribute System.log('Getting the custom properties needed') ; var vmname = machine.get("name") ; var ipaddress = vCACVmProperties.get("VirtualMachine.Network0.Address") ; var myscript = vCACVmProperties.get("myscript") ;
Now let’s create a scriptable task to work with those custome properties we captured
Drag and drop a scriptable task
Name the scriptable task
- Highlight the scritable task
- Click Info tab
- Enter a description for this task
Enter the following code
What we are doing is combining the myscript text (we will create this as a custom property in vRA later) with the ipaddress that we get from vRA when the VM is provisioned.
Now let’s add the run script in guest workflow
- Drag and drop the Run Script in Guest workflow as shown
- Click Setup
Promote the Workflow Parameters
- Click to reset all bindings to Value
- Change myscript to mynewscript
- Click Promote
Now we need to get the VM name into the vm attribute
- Drag and drop the Get Virtual Machines by Name workflow as shown
- Click setup
NOTE: This is so is because the vm attribute is not a sctrig it is a vRO type VC:VIrtual Machine
Now change the output of vms to an attribute
- Change to outputs
- Highlight vms
- Click move to attribute
Let’s create another scriptable task
- Click the Schema Tab
- Drag and drop a new scriptable task
- Click the Info tab
- Name it Convert to VC:VM
//convert array to vc:virtualmachine System.log('Converting VMs array to VM object') ; vm=vms ; System.log('Found VM = ' + vm) ;
Set your required attributes
- Click the general tab
- scroll down to attributes
- set the username for the VM your provisioning
- set the password
- enter bash for linux or bat or powershell for Windows
- enter a timeout, I used 10 seconds
- enter refresh time, I used 5 seconds
- enter a working directory, I used /tmp
Now rename your workflow and save it
- Click the general tab
- Change the workflow name
- Click Save and close
Pingback: vRA7 to vRO Extensibility Magic Secrets Revealed Part 1 – VMtoCloud.com
Really great blog(s) to get familiar with vRA/ Orchestrator handling!
I tried to download and import the workflow package however get an IOException (not a valid package file, dunes-meta-inf is missing!) I am using vRO 7.2 from vRA 7.2 installation.
Should be all set, updated the link with a new export of the package.
Using vR) 7.01 and see the same error “IOException (not a valid package file, dunes-meta-inf is missing!”. Can you double check your package.
Should be good now, I updated the link.
Hi Ryan. Looking to work trough this as it is exactly how I need to learn this stuff. Like the other 2 commentors, I can’t import the package as I get the same error. any chance to get a new export?
HI, Should be good to go now, apologies, not sure how that file got corrupted.
You are awsome. Thank so much for the quick fix! It imported perfectly!
typo “No click import”
Like the Blog post a lot, very helpful.
Thank you happy it was helpful!
Thanx for the heads up, should be fixed now.
How To Find Local Sex On Meet N Fuck: https://s.coop/2316-?boXVI8CEQ
Popular tags: latin american dating uk, hook up with tinder, best cowgirl dating site, free dating site seniors, is brad womack dating anyone, good dating self summary, youth dating website, nigeria instant hook up, new zealand dating sites review, speed dating galway, expensive dating websites, widows and widowers dating online, lots of fish in the sea dating website, what to expect when dating a taurus, how to find husbands dating profile, online jewish dating sites, pz38na scout matchmaking, dating sites over 60, dating a man 13 years younger, vizio sound bar hookup, dating ariane walkthrough 5.8, gay hookup site apps, dating site free sign up, elderly parents dating, moose dating site, is ariana grande dating anyone 2015, dating agency cyrano eng sub free download, can dating an older man work, best free dating sites us, bar one inverness speed dating, 100 free european dating site, free thai dating app, half lives radiometric dating, persuasive essay about online dating, christian mingle dating websites, no more dating i’m just waiting, free cougar dating 100 free, hsv 2 free dating sites, ku dating, how does dating turn into a relationship, unranked matchmaking lol, tvxq dating on earth eng sub, advice for single moms dating, karmin dating each other, i only dating other guys because i miss you so much, dota 2 stuck on matchmaking, things to ask someone on a dating site, dating site 7 or better, the first dating site, how do i turn dating into a relationship, edinburgh free gay dating, queer speed dating bay area, dating site karnataka, tokyo dating sites, who is jennifer lawrence dating april 2015, match making kundli in hindi online free, estj dating infp, i regret dating an older man, den bedste dating app, floyd mayweather dating erica, groupon winnipeg speed dating, free online dating sites in nj, dating website for divorcees, free dating in portugal, dating sites for fit singles, speed dating mit dem chef, speed dating east london, dating one direction pewdiepie, uk dating over 40, speed dating in long island ny, cave paintings dating method, online dating sites free messaging, is plenty of fish dating site safe, wave 105 dating mobile, online dating and christianity, cost to hook up to city water and sewer, novel dating with the dark bab 3, supermarket dating uk, dating napa ca, cute things to say to a guy you are dating, marriage not dating ep 4 english sub, flatmate dating london, ltr dating acronym, jmu dating website, best dating sites in visakhapatnam, online dating india delhi, dating girl kolkata, polyamory married and dating full episodes online, harley dating website, solar hook up, can dating a smoker affect your health, irish online dating agencies, online dating site about me, speed dating near farnborough, best free dating app, when did jamie and lily start dating, marriage not dating viki ep 6, dating site wa, free online tattoo dating sites, headline examples for dating profile, dating after cancer uk, dating how often to see each other, fifties dating, best dating websites for gamers, dating online pros and cons, honolulu hookup sites, modern dating quotes, us soldiers dating sites, kv-13 matchmaking, youtube matchmaking, black and white dating in south africa, 100 free u.k dating sites, christian europe dating sites, mary kate olsen dating who, widow dating husband’s best friend, all black dating sites, internet dating scams stories, geek dating sites, dating site name generator, dating a guy with herpes, volledig gratis dating belgie, dating sites for physicians, blue moon dating agency, tampa hook up site, last of us matchmaking unfair, dating app besides tinder, who is trina dating 2012, top over 50 dating sites, dating a guy 9 months younger, andrew caldwell dating, dating sites in asia 100 free, 100 free dating sites in usa, is there any free irish dating sites, best cougar dating site in uk, best online dating profile templates, israeli speed dating, norwegian gay dating site, install rv electrical hook up, how to attract attention online dating, how to build a dating site with joomla, i’m dating an ugly girl yahoo, dating the universe, speed dating jeune, online dating foreign, asian man white woman dating, how to delete my christian dating for free account, dubai dating culture, online dating vocabulary, mslt hookup, ariana grande dating guy from the wanted, online dating windhoek, alexandra dating site, dating sites canada over 40, dating letters, ign raid matchmaking, free marriage match making horoscope, free online dating houston texas, is it worth dating someone with a kid, houston singles personal matchmaking, free dating websites no paying, 4th grade dating sites, hook up buddy to boyfriend, neil strauss online dating advice, 26 dating 34 year old, interesting profiles for dating sites, dating online hyderabad, love letters 40 days of dating, astomi dating, dating class nyc, is anastasia dating site legit, le dating, andrea and cochran dating, good opener online dating messages, free south jersey dating sites, dating de la rue playing cards, pakistani dating apps, half brother and sister dating, dating leo woman tips, list of japanese dating sims, malaysia muslim dating site, when you’re dating someone with anxiety, discount code hook up tickets, the best dating site for singles, online college dating website, hookup culture in college, free dating website birmingham, english speed dating montreal, speed dating midlands, funniest fake dating profiles, free social dating network, legal age of dating a minor in canada, dating site uniforms, funny online dating lines, sewer hook up at rv park, dating sites in hyd, speed dating spalding, best sites for dating online, nigerian dating website, black girl dating white man, caught boyfriend dating site, 100 free dating apps for android, best dating apps for relationships, sterling knight dating history, worst dating site picture, boundaries on dating, romeo and juliet dating site, is 22 too young to join online dating, john gray five stages of dating, virtual dating and kissing games, reviews of dating sites, expat dating lausanne, free dating numbers in pa, what is my dating headline, guangzhou dating sites, best dating sites san antonio, how to find out if my man is on a dating site, dating fairy godmother, best dating restaurants in kolkata, on dating sites, best weird dating sites, dating swarovski binoculars, bobby dating interview, latest free dating sites in europe, dtv genie hookup, reasons for dating me meme, 100 free dating sites.com, dating a 35 year old woman, dating in akron ohio, american dating 1st base, plantronics s12 hookup, personal dating service london, dating site to find millionaires, my tinder dating experiment, dating a cancer leo cusp, search dating site by email, just hook up android app, linksys hookup instructions, online dating sites free in delhi, singapore speed dating 2014, fetlife dating website, dating apps in philippines, the dating detox gemma burgess mobilism, sugar mummy dating sites in usa, rp dating, social anxiety relationships dating, christian gay dating website, dating agency northern ireland, legal dating age difference in australia, dating drew, dating sites imposters, dating emails examples, acoustimass 7 hook up, the art of online dating download