Deploying vRealize Orchestrator 6.0.3

Posted by

Today I had to deploy an instance for vRealize Orchestrator (vRO) 6.0.3 in my lab and ran into some snags that  I thought I’d document here.  I’ve always used the vRO/vCO configuration page to add vCenters and this functionality looks to have been removed.  I believe that using this method would add vCenter instances to vRO as well as registering the vRO extension with the vCenters.  Now you must use a vRO workflow to add vCenter and run a separate workflow to add the vRO extension to vCenter.  There is also a workflow that can be ran to import SSL certificates and vCenter licenses.  I found that the order in which you run these workflows matters as well.  It took a bit of trial and error to get everything working.  I may try to create a new workflow that combines each of the needed workflows into one to make the process more streamlined.

The following versions were used:

  • Platform Services Controller: 6.0 U1 acting as a subordinate CA.
  • vCenter: 6.0 U1
  • vRealize Orchestrator: 6.0.3

vRO OVA deployment

There are no real surprises when deploying the vRO OVA, but I wanted to point out that now you’re able to specify initial root and vcoadmin passwords.  Previously you had to change them after you logged in for the first time.  This should help if you’re  wanting to automate the deployment of the appliance.  There are blog posts out there explaining how to do this.   You also don’t have to remember/lookup the provided default passwords.

2015-09-27_22-12-14

vRO Appliance Configuration

Once the vRO VM is online, you’ll want to perform some initial configuration.  It may be possible to automated as well.  My vRO VM is vro6c.vmware.local so I’ll open a browser to https://vro6c.vmware.local:5480 and log in with the password I specified during the OVA deployment.

Go to System > Time Zone and specify the correct time zone for your environment:

2015-09-24_16-28-50

Next I set the domain search path by going to Network > Address:

2015-09-24_16-29-22

Lastly, I configure the appliance to use my local time source:

2015-09-24_16-30-36

 vRO vCenter Extension

Before we continue I want to point out that if you go into vCenter and select the vRealize Orchestrator icon, you’ll see the following:

Screenshot 2015-09-27 20.54.47

This is because there is no vRO extension registered with vCenter.  Let’s checkout the managed object browser (MOB) to verify.  My MOB is accessible at https://vc6d.vmware.local/mob.  Once I login and select content > Extension Manager > (more…) I see the following:

Screenshot 2015-09-27 21.15.07

Notice that here is no “com.vmware.vco”?  This is why there is no vRO information in the vSphere web client.  We’ll rectify this shortly.

vRO Configuration

To access the main vRO landing page I’m going to go to http://vro6c.vmware.local (notice that it’s not HTTPS).  If you specify HTTPS, the connection will fail.

In the past you would click the Orchestrator Configuration link to configure vRO, but now you need to configure vRO by running workflows from within the vRO client so let’s launch the client.

Select Start Orchestrator Client and click the client.jnlp download.

2015-09-24_16-58-01

2015-09-24_17-01-46

First we need to register our vCenter instance by running the following workflow:

Library > vCenter > Configuration > Add a vCenter Server instance

2015-09-27_21-53-25

2015-09-27_21-57-40

Once successful you should be able to view the vCenter instance:

2015-09-27_22-01-22

At this point if you checked the vCenter’s MOB, the vRO extension would still not be registered.

Registering vRO’s extension with vCenter

Let’s finally register the vRO extension by running the following workflow:

Library > vCenter > Configuration > Register vCenter Orchestrator as a vCenter Server extension

2015-09-28_13-49-31

This part was tricky because the second field only ask for the address of the orchestrator server.  At first I only  entered the IP address of the vCO server and while the workflow did succeed, it did not actually register the vRO extension.  Also, if you don’t enter the correct port, the extension will register but won’t be visible in the web client.  This was tripping me up for a while.  I’d run it and it would succeed, but no extension.  I looked at the MOB of an older vCO instance I have and it had the address of the vCO server registered as https://vco.vmware.local:8281 and once I tried that it worked.  Port 8281 is the vRO application port.  After a run you will see:

[2015-09-28 11:21:17.851] [I] Registered this extension with host vc6d.vmware.local

As I mentioned, just because the workflow completed successfully, it doesn’t mean it actually worked.  We can run the following workflow to verify that it succeeded:

Library > vCenter > Configuration > List the vCenter Orchestrator extensions of vCenter Server

If your registration was successful, you’ll see output similar to:

[2015-09-28 11:24:01.488] [I] Extension key: com.vmware.vco
[2015-09-28 11:24:01.489] [I] vco-192.168.3.119@vmware.com: https://192.168.3.119:8281

Now if I access the vCenter MOB again at https://vc6d.vmware.local/mob and select content > Extension Manager > (more…), I see the following:

2015-09-28_11-30-36

If I select the com.vmware.vco extension and then client, I see:

2015-09-28_13-51-51

Yay.  Unfortunately, the vSphere web client won’t show the vRO information yet.  The vSphere web client service needs to be restarted in order to get the vRO info to show up.  We can do this by logging into the vCenter machine and running:

service vsphere-client restart

In my lab I’m using the vCenter appliance.  For windows you can restart the service in the control panel.

I’ve noticed that sometimes it may take a few minutes before the vRO instance to show up in the web client.  You may see the following error before then:

Error occurred while processing request. Check vSphere WebClient logs for details.

I saw the error for about 15 minutes.  Once whatever causes the error to go away, you should see the following in the web client:

2015-09-28_14-38-14

vRO SSO Configuration

The last thing I want to demonstrate is a workflow for changing vRO’s authentication mechanism to SSO, importing the necessary certs and vCenter licenses.  I’m going to configure vRO to use SSO authentication against my vSphere 6.0 U1 platform services controller (PSC).  This can be done by running the following workflow:

Library > Configuration > vSphere > vSphere configuration

As you can see below, this workflow imports the needed certificates, licenses and configures vRO use my PSC’s SSO.  You have to add the vCenter server instance before running this workflow.  The component manager URL will be your PSC (vc6d-psc.vmware.local for me) with the /cm path:

Screenshot 2015-09-27 21.38.04

Screenshot 2015-09-27 21.37.00

If we log into the vRO configuration app, we can see that the configuration was successful.

2015-09-27_22-21-20

Even though we’ve changed the authentication method, we still need restart the vRO server before the changes will take effect.

2015-09-27_22-22-41

Once the server has been restarted you should be able to log into the vRO client using a user that is in your vRO admin group.

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 )

Facebook photo

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

Connecting to %s