Yves' Blog

Linking vRealize Orchestrator (vRO) to vCloud Director (vCD) for Service Management

orchestrator
{ page properties }


One of the new features in vCloud Director since version 9.1 is the ability to execute vRealize Orchestrator workflows direct from within the vCloud Director User Interface for both tenant and service provider usage. With the constant addition of other extensibility features this becomes a very attractive solutions for service providers to expand from standard vCloud Director based IaaS to some more advanced service offerings.


But how do you get started?


Prerequisites:

  • vCloud Director 9.1 or above (the below description has been tested on vCD 9.7)
  • vRealize Orchestrator compatible to your vCloud Director version (VMware InterOp Matrix)
  • Important: Both systems need to be attached to the same vSphere SSO domain and have that setup as a lookupservice
  • If you plan to change certificates on vCloud Director or vRealize Orchestrator it makes sense to do this before we link the systems as we have a cert exchange happen during registration


Procedure on vRealize Orchestrator appliance:

  1. Login to the console of your vRO appliance as root
  2. Run the following command to grab the keystore password:

    cat /var/lib/vco/keystore.password

  3. Copy the key into a notepad or your clipboard for later usage. Important: Do not copy the machine name (i.e. vro01 above).

  4. Export the certificate of the dunes (vRO) server into pem format (Replace the StorePass):

    keytool -exportcert -alias dunes -storepass TheKeystorePasswordFromStep3Abobe -keystore /etc/vco/app-server/security/jssecacerts -rfc -file vro.pem


    You can ignore the warning message at the bottom of the message above as it is not affecting the PEM file.

  5. Copy the vro.pem file to the local machine which will be used to link vCloud Director to vRealize Orchestrator.

Procedure in vCloud Director

  1. Login to the vCloud Director provider user interface (i.e. https://vcd01.demovcd.com/provider)
  2. Select Content Libraries from the "Burger Menu"
  3. Select Service Management in the Left Menu unter Library Administration.
  4. Within the vRO Servers tab click Add.
  5. Enter a Name, Hostname, Username and Password.
  6. On the Trust Anchor click the Upload icon and select the PEM file we exported before.
  7. Click OK.

That's all, now you can start to create Service Categories, a Library etc.

If you want to setup the other way around, so vRealize Orchestrator to vCloud Director you might want to look at this article from Matthias Eisner: https://blog.comdivision.com/blog/2019/05/vcloud-director-9-7-vro-plugin-configuration