Getting Started With vROPs Tenant App For vCloud Director 10.x

In this post I will walk through step by step installation for vRealize Operations Manager Tenant App for vCloud Director. But before I jump into lab, I want to take a moment to explain what this solution is all about and how it looks like from architectural point of view.

What is vROPs Tenant App for vCloud Director?

vROPs Tenant App is a solution which helps in exposing vRops performance metrics to tenants in a vCD environment. Each tenant can only see metrics data relevant to their organization.

From a service provider point of view, this is an awesome solution as Tenant App enables tenants to have complete visibility of performance metrics of their environment. If an environment is not performing as per expectations, tenants can leverage this solution to root cause analysis of performance issue and they can perform L1-L2 level of maintenance/troubleshooting tasks themselves without raising service tickets with service providers. 

vRealize Operations Manager Tenant App Architecture

Below diagram taken from VMware official documentation shows high level overview of how Tenant App integrates and interacts with other VMware products like vROPs, vCenter, vCD and NSX.

tenant-app-arch01.png

At a very high level, this is how Tenant App works:  

  • vROPs collects resources from vCenter, vCD and NSX using their respective Management Pack plugins and stores that data n its own DB.
  • Tenant App interacts with vROPs using APIs to collect resources and pricing information.
  • A service provider performs configuration actions using the standalone Tenant App UI.
  • All requests from Tenant App to vROPs are sent through Nginx Forward Proxy.

Tenant App Port Requirements

Tenant App can be deployed as standalone app or can be integrated in vCD as a plug-in. Latter requires external deployment of AMQP Broker (RabbitMQ).

Port requirements for integrating Tenant App in vCD as a plug-in.

tenant-app-arch02.png

                                Graphic thanks to vmware.com

Port requirements for deploying Tenant App as a standalone App.

tenant-app-arch03.png

Its time to jump into lab and see things in action.

vROPs Tenant App for vCD is available to download from VMware Solution Exchange website. Current version of Tenant App is 2.3.0 and can be downloaded from here

Installation Prerequisites for Tenant App

1: vCD infra up and running.

2: vROPs installed and configured.

3: External RabbitMQ deployed and configured in vCD (if you are planning to use Tenant App as plugin in vCD). For installing RMQ for vCD you can refer this article of mine. 

4: Tenant App ova and vROPs Management Pack for vCD downloaded from solution exchange.

Installation & Configuration Steps for Tenant App

1: Install vROPs Management Pack for vCD: In my infrastructure I have vCD 10.x and vROPs 8.0 installed and I am v5.2.0 of MP for vCD in vROPs.

To install vCD management pack, login to vROPs as admin user and navigate to Administration > Repository and click on + button under ‘Other Management Packs’

tenat-app01.JPG

Browse to location where MP for vCD is downloaded and click on Upload button.

tenat-app03

Accept EULA and hit Next.

tenat-app04

Hit finish to complete the management pack installation wizard.

tenat-app05

Next is to add vCD credentials in vROPS. To do so navigate to Administration > Solutions > Other Accounts and click on Add Account. 

tenat-app06

Select vCloud Adapter and hit Next. 

tenat-app07.JPG

Provide details of your vCD infra and make sure Test connection succeeds. 

tenat-app08

tenat-app10

Once vCD Management Pack is configured, deploy the Tenant App ova. I am not covering steps of ova deployment as it is pretty straight forward. On customize template page, make sure you punch in correct IP Address/FQDN of your vROPs appliance.

Note: I messed up deployment for first time by entering FQDN of Tenant App in this section. 

tenat-app11

Once Tenant App is deployed and boots up, connect to appliance by typing https://<tenant-app-fqdn>/ 

You will be greeted with page asking type of solution with which you want to integrate Tenant App. Select vCD and hit finish.

tenat-app12

You will be redirected to login page. Login to Tenant App using vROPs admin credentials.

tenat-app13

As soon as you login you will get a pop up to configure vROPs admin credentials in Tenant App. Hit OK to continue.

tenat-app14.JPG

To configure vROPs credentials navigate to Administration > Solutions > vRealize Operations and enter vROPs credentials and hit save.

tenat-app15

The UI Integration Plugin can now enabled or disabled at Tenant level. This is done by navigating to Administration > Access Management and toggling “Enable Plugin Access” button.

tenat-app16

Next is to configure Tenant App as plugin in vCD. This is configured under Administration > Support > Self Health by clicking on “Configure With VCD Tenant UI”

tenat-app17.JPG

Provide details of vCD host and RabbitMQ. Tenant App proxy is nothing but IP address of Tenant App itself. Click on Start button post entering relevant details.

Note: If you have multi-cell vCD deployment behind load balancer, use load balancer fqdn for vCD host. 

tenat-app18

Now Tenant App is integrated with vCD as plugin. 

tenat-app19

Login to vCD with provider credentials and select customize Portal from Menu.

tenat-app20-0.JPG

Select “Operations Plugin” and click on Publish.

tenat-app20.JPG

Select the scope for publishing and click on save button.

tenat-app21

Once Tenant App appliance is fully configured, you can view Tenant specific metrics by navigating to Home > Tenant.

tenat-app22.JPG

As of now my I only have a single tenant with no vm’s in vCD, that’s why there is not much info in the dashboard. In your production environment, you will see lot more metrics data here.

tenat-app23.JPG

Now login to vCD using tenant credentials and from main menu select Operations Manager.

tenat-app24.JPG

You will be redirected to a new tab where you will see tenant app dashboard specific to your organization.

tenat-app25

Click on overview button to see metrics data related to your organizations.

tenat-app26

And that’s it for this post. In next post we will earn about creating Pricing Policies and billing etc.

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing :)