slideshow 6 slideshow 4 slideshow 8 slideshow 1 slideshow 2 slideshow 3 slideshow 5 slideshow 7

vRealize Orchestrator

Comparing and contrasting vSphere PowerCLI and vRealize Orchestrator

vRealize Automation 7 External Approval Policy with vRealize Orchestrator Workflow

With vRealize Automation 7 an Approval Policy can be linked to an event subscription that in turn can trigger a vRealize Orchestator workflow to perform an external approval process. In this article I describe how to setup the Workflow, the Approval Policy and the Event Subscription.

Workflow as downloadable package

Workflow to use for vRO Cluster Demonstrations

This simple workflow can be used to demonstrate the failover behavior in case of a vRealize Orchestrator node failure. It creates the number of VMs that your specify. I suggest 30. During the execution of the workflow power off one node of the cluster and you will be able to demonstrate that the execution continues on another node.

The workflow is available as a downloadable package:

com.vmwarebits.clustertest.zip

Process a text file from a Resource Element through an Array

This example workflow shows how you can use a ResourceElement containing a list of virtual machine names and execute a workflow for each of the VMs in the list. The workflows and actions are available as a package here: com.vmwarebits.vmlistExample.zip.

To use the workflow yoi create a ResourceElement and import a text file that contains the virtual machine names, such as in the next image.

How vRealize Automation 7 builds on previous versions

vRealize (vCAC) and vCenter Orchestrator workflow to change the machine name before building the machine

How vRealize Orchestrator delivers enhanced administrative powers

vRealize Orchestrator workflow to find a workflow by it's ID

When you have the ID of a workflow then how do you find out what the name of the workflow is and where it's located. To simplify this search I have created this workflow.

You can download the workflow here.

This is the code of the scripting element that is used for the search:

Using the Switch element in vRealize Orchestrator

vRealize Orchestrator (v6) contains a switch element that can be used to evaluate a series of values. In scripting and programming languages the switch construct is also named Case or Do Case.

For example if we want to check the status of a VM and there are three possible values then we would have to use three if statements or three decision elements to check what the status is.

if status = poweredOn 
if status = poweredOff 
if status = suspended 

vRealize Orchestrator workflow with approvals and timeout

This workflow demonstrates an approval process whre two approvers will have the opportunity to approve or deny a request and when both approvers don't respond within the time limit then the workflow will continue as if it was approved. So this will actively give the two approvers a time window to deny a request after which it is automatically approved. Is designed to use n AD group for approver 1 and another AD group for approver 2.

Various Orchestrator examples

This package contains several examples that I use in Orchestrator training.

download the package here

Import the package from the Packages-tab in the Orchestrator client.

What's in the package?

There are several workflows in this package that demonstrate the functionality of vRealize Orchestrator. Their purpose is to educate, comments are always welcome.

vCenter Orchestrator workflows to create and delete snapshots for folder of VMs

These two workflows allow the user to create a snapshot of all virtual machines in a folder and to remove all snapshots of all virtual machines in a folder.

Download the workflows in a package

Workflow to create snapshot of virtual machines in a folder

The Case of the Missing Orchestrator Extension (and how it was solved)

Execute an Orchestrator workflow from a REST client

In this article I explain how to execute a vRealize Orchestrator workflow by invoking a REST method from a REST client. 

Sources used for this article are How to use the REST API to Start a Workflow from vCOteam.info and the Orchestrator REST API documentation that you can find on your own Orchestrator server at this url: https://yourvcoserverFQDN:8281/vco/api/docs/index.html

Orchestrator workflow to register ssh public key on an ESXi host

vCAC and vCenter Orchestrator workflow to move Virtual Machines to a Resource Pool

This article describes how to create a workflow in vCenter Orchestrator that, when executed from vCAC, moves a provisioned Virtual Machine to a specified Resource Pool. If the Resource Pool does not exist it will be created.

Requirements:

- vCAC Plugin installed in vCO and configured (documentation and download for plugins)

Create your first vRealize Orchestrator Workflow

This article will help you creating your first vRealize Orchestrator Workflow. The starting point for the article is that you have vRealize Orchestrator installed and that you can start and login to the Orchestrator Client. (vRealize Orchestrator was formerly named vCenter Orchestrator.)

If you follow this article you create a workflow in vRealize Orchestrator that makes modifications to an existing Virtual Machine.

Pages