Getting started with vCenter Orchestrator Part 1

In this post I’m going to show how to create a basic vCenter Orchestrator (vCO) workflow.  vCO can look intimidating at first, but it only takes learning a few things to get you on your way.  I’m quite new to vCO so if anyone has any helpful suggestions, please leave a comment.  I’ll try to build on this workflow in later posts to provide more complex examples.

Launch the vCO client

Open a web browser and go to your vCO server.  For example, mine is at http://vco5c.vmware.local (no https).  You can choose to either start the vCO client from the webpage or download it to your client.  In this example I’m going to start it from the webpage.  If you haven’t configured vCO yet, there are a lot of blog postings on how to do it or you could see my post here that covers it.

2014-03-04_15-01-02

Creating the workflow

I created a folder named ‘Blog’, which you can do by right-clicking on the vCO server and choosing to create a new folder.

Next I’m going to create a new workflow under the Blog folder by right-clicking on Blog and selecting ‘New workflow’.  Make sure to actually right-click on the word Blog and not just anywhere in the area that’s highlighted dark blue or the context menu will not come up.

2014-03-04_14-46-51

Give your workflow a name.

2014-03-04_14-48-15

After naming your workflow you are dropped into edit mode for the workflow.  There are a lot of options but here are a few highlights.

2014-03-04_14-48-36

Selecting Schema will take you to the workflow editor page.

2014-03-04_15-10-23

A schema with only the start and end items.

2014-03-04_14-58-34

Drag the ‘Scriptable task’ item into the blue line.

2014-03-04_15-12-27

You should now see the Scriptable task on your workflow schema.  Give it a descriptive name.

2014-03-04_15-13-58

Now we will write one line of code to produce some output, validate the workflow, save and then close.

2014-03-04_15-15-58

Run the workflow

2014-03-04_15-23-13

2014-03-04_15-23-29

In the the next post I’ll show how to use variables within workflows.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s