Aria Operations Cloud (vRealize Operations Cloud) includes a management/integration pack for monitoring Aria Automation Orchestrator (vRealize Orchestrator), however when vRO is deployed within a Cloud Extensibility Proxy appliance the authentication process is to redirect the user to VMware Cloud Services where they sign in with their user ID and are then redirected to the vRO dashboard. If you use these same credentials for the vRO appliance when trying to connect via Aria Operations you will fail validation for the integration.

The way to monitor vRO with Aria Operations Cloud is to create an OAuth App within VMware Cloud Services and give it the appropriate Service Role to connect to the vRealize Orchestrator instance embedded in the CEXP.

In this post we will run through the short process of creating and entitling the OAuth App, setting up the vROps integration into CEXP based vRO and also adding additional workflows for monitoring.

#Create OAuth App

To create an OAuth App we need to use the VMware Cloud Services console and you must have access to the Organization section.

  1. Go to VMware Cloud Services.
  2. Go to Organization > OAuth Apps
  3. Press CREATE APP
  4. Select Server to server app and press CONTINUE
  5. Provide the following information
    1. App Name (e.g appliance name)
    2. App Description (e.g. Cloud Extensibility Proxy vROps)
    3. Access Token TTL (default value of 30 minutes is OK)
  6. Select Service Roles: 'Cloud Assembly Administrator'
  7. Click CREATE
  8. Take note of both the App ID and App Secret values
  9. Press CONTINUE
  10. If prompted to Add to this organization, review the message and press Add

#Validate OAuth App

This is an optional step, but it is to ensure our OAuth App is correctly registered against our VMware Cloud Services Organization.

  1. Go to VMware Cloud Services.
  2. Go to Identity & Access Management > OAuth Apps.
  3. Confirm the OAuth App you created in the Create OAuth App step is listed with the correct Organization Roles and Service Roles

#Add vRO Integration in Aria Operations Cloud

In this step we will be added the vRealize Orchestrator endpoint and we will be using our OAuth App ID and token for authentication.

  1. Open Aria Operations Cloud (vRealize Operations Cloud)
  2. Navigate to Data Sources > Integrations
  3. Press Add Account and select vRealize Orchestrator Adapter
  4. Provide the correct inputs, for the vRealize Orchestrator Host input use the appliance FQDN
  5. For Credential press the + to Add New
    1. Credential Kind = CSP OAuth App Credential
    2. Credential name = A friendly identifier, e.g. CEXP/vRO CSP OAuth Credentials
    3. Client Id = App ID value recorded from earlier
    4. Client Secret = App Secrete value recorded from earlier
    5. Press OK
  6. Select the appropriate collector or collector group
  7. Press VALIDATE CONNECTION
  8. Press SAVE

#Verify Collection Status

This step is to ensure our newly added integration is collecting data.

  1. Login to Aria Operations Cloud (vRealize Operations Cloud)
  2. Navivate to Environment > Inventory
  3. Expand Adapter Instances and select vRealize Orchestrator Adapter Instance
  4. On the Objects tab you should see your vRealize Orchestrator instance
  5. Under the Collection State column ensure State = Collecting
  6. Under the Collection Status column ensure Status = Data recieving

#Add Workflow Packages

By default the vRealize Orchestrator management pack only monitors workflows and items stored in the packages com.vmware.library.vcenter (vCenter Workflows) and com.vmware.vrops.oob_content (Default Management Pack for vRealize Orchestrator workflows). If you have additional workflows that need to be monitored they will need to be compiled into a package and added into Aria Operations.

#Create vRO Package

  1. Login to the vRealize Orchestrator Client.
  2. Navigate to Assets > Packages.
  3. Click New Package.
  4. On the General tab, enter a name and description for the package.
  5. On the Content tab, click ADD.
  6. Select the objects that you want to add to the package and click ADD.
  7. To finish creating the package, click CREATE.

#Add vRO Package to Aria Operations

  1. Login to Aria Operations Cloud (vRealize Operations Cloud)
  2. Navivate to Environment > Inventory
  3. Expand Adapter Instances and select vRealize Orchestrator Adapter Instance
  4. Select to highlight the target vRealize Orchestrator adapter instance.
  5. Select the cog icon (actions) in the right pane and select Configure Package Discovery
  6. Double click the entry in the Configure Package Discovery dialog box and add your package name to a new line.
  7. Click BEGIN ACTION

Configure Package Discovery dialog box
Configure Package Discovery dialog box

#References

Share to TwitterShare to FacebookShare to LinkedinShare to PocketCopy URL address
Written by

Sam Perrin@samperrin

Automation Consultant, currently working at Xtravirt. Interested in all things automation/devops related.

Related Posts