vCenter Orchestrator (vCO) 5.5-Part-2-Executing Workflow using vCO

In part-1 of this series we have configured the vCO settings and added vCenter Server where we will be executing the workflows from vCO.

In this part we will see how to use vCO to execute the workflows. A lot of pre-defined workflows are already integrated in vCO and you can import or create your custom workflows as well.

If you have missed earlier posts of this series click on below link to get started:

Part-1-Installing & Configuring vCO

Login to vSphere Web-Client to get started

1: Open your web-browser and type https://vCenterFQDN:9443/vsphere-client/

vco-15

2: We will find our vCO server under the vCenter Orchestrator plug-in.

vco-16

3. Lets start with a very basic workflow of creating a new VM.

Click Workflows and expand the Library to see all the pre-configured workflows.
Expand vCenter –> Virtual Machine Management –> Basic
Right click “Create simple virtual machine”

vco-17

4. A new window will pop-up where you have to provide the inputs.

First it will ask for the host where this VM will be deployed. Click on “+” sign to add the host and hit next.

vco-18

5. Under General Parameters, provide a name for the VM and select the folder where this VM will be deployed.

Allocate the Memory and CPU for this VM and select the guest os type and hit next.

vco-19

6. Under Infrastructure select the Resource Pool and the Datastore where this VM will be deployed by clicking the “+” button in front of the boxes.

vco-20

Select the appropriate resource pool for this VM. I did not created any resource pool at my vSphere-Infrastructure so I just selected the global option “Resources”

If you have resource pools created in your environment click the arrow button on Resources to select the one. Hit OK after making your selection.

vco-21

7. Under start/schedule you have option to run this task now or you can schedule for later time.

If you schedule for later time then provide a name for this task and select the Start and finish time for this task. Once you are done click on Finish.

vco-23

8. At the scheduled time you will see some notification in your vCenter Server about VM has been created. Look at the start time and Initiated by tab. You will see this job was triggered by vcoadmin at 10:25 AM, the same time which I defined in the task scheduler.

vco-24

Also under Infra-VM directory I can see a new VM by name “vco-wf-test”.

vco-25

This is an example of executing a very simple task from vCO but vCO is more powerful than this. We will explore and unleash the power of vCO in future posts. Till then Stay Tuned!!!

If the above post is informational to you please share it on social media. Be sociable 🙂

Leave a Reply