Skip to main content
Skip to main content

vRealize Orchestrator (vRO)

Audience: Cloud Engineers and Automation Developers.

Purpose: Develop and manage automation workflows for AggieCloud.


Overview

vRealize Orchestrator (vRO) is the workflow and automation platform for vRealize Automation (vRA). It provides:

  • Actions — Individual functions with inputs and outputs
  • Workflows — Multi-step processes combining actions and decisions

Code Types

TypeDescription
ActionsSingle functions with multiple inputs, single return value. Can call vRO API or plugin APIs. Used as building blocks.
WorkflowsSeries of actions and decisions run sequentially. Can call other workflows and run on schedules or events.

Production Actions

PackageActionPurpose
com.tamu.formgenerateRandomPasswordRandom password generator for Windows deployments
com.tamu.formgetAllFlavorsForFormForm helper (legacy)
com.tamu.networkgetNetworksFromProjectDynamic network selection (returns array)
com.tamu.networkgetNetworksFromProjectPropDynamic network selection (returns property)

Production Workflows

CategoryWorkflowPurpose
EventsCreate AD Computer ObjectCreates computer object in AUTH before Windows VM domain join
EventsRemove AD Computer ObjectRemoves computer object from AUTH on Windows VM deletion
EventsMachine Provisioned(Incomplete) Would create shared A record in Infoblox
EventsUnprovision Machine(Incomplete) Would remove shared A record from Infoblox
OnboardingOnboard VMs by TagOnboards VMs to vRA project based on vCenter tags
ProvisioningSet VM Guestinfo metadataSets guestinfo metadata during deployment

Viewing Workflows & Actions

  1. Login to AggieCloud
  2. Select Orchestrator
  3. Choose Workflows or Actions

Event Subscriptions

vRO workflows are triggered by vRA events through subscriptions:

SubscriptionWorkflowTriggerScope
jr-test-vm-metadataSet VM Guestinfo metadatacompute.provision.preAll Deployments
ad-createComputerCreate AD Computer Objectcompute.provision.preWindows only
ad-removeComputerRemove AD Computer Objectcompute.removal.preWindows only

Managing Subscriptions

  1. Login to AggieCloud
  2. Navigate to Cloud AssemblyExtensibilitySubscriptions
  3. Create new or click existing to view/edit

Dynamic Network Selection

The getNetworksFromProject action enables dynamic network dropdown in blueprints.

Testing Blueprint: test-ubuntu-2004-dynamic-net in the Test-DynamicNet project

Not in Production

This feature is available for testing but not yet used in production blueprints.


GitHub Integration

All vRO code is version-controlled in the it-ae-aggiecloud-vro repository.

Setup Git Repository Connection

Connection Setup Steps
  1. Login to vRO
  2. Select Git RepositoriesAdd Repository
  3. Configure:
FieldValue
Repository URLhttps://github.com/tamu-edu/it-ae-aggiecloud-vro.git
UsernameYour GitHub username
TokenPersonal Access Token (see below)
  1. Click Validate to test connection
  2. Click Make Active Repository
  3. Ensure branch is set to main (not master)
  4. Save
Single Repository

Only one repository can be active at a time in vRO.

Personal Access Token

Create GitHub PAT
  1. Go to GitHub → SettingsDeveloper SettingsPersonal Access TokensTokens (classic)
  2. Select Generate New Token (classic)
FieldValue
NotevRO Integration
Expiration30 days (or as needed)
Scopes✓ repo (all)
  1. Click Generate Token
  2. Save the token immediately (won't be shown again)
  3. Click Configure SSOAuthorize for tamu-edu organization

Push/Pull Workflow

  1. Login to vRO
  2. Verify PAT is still valid (refresh if needed)
  3. Select Git History
  4. Click Pull to get latest
  5. Make changes to workflows/actions
  6. Click Push
  7. Enter commit title and description
  8. Select changes to commit
  9. Click Push

References

ResourceLink
Git Repository SetupVMware Docs
Push ChangesVMware Docs
GitHub PATGitHub Docs
vRO Git IntegrationVMware Blog