Veeam Enterprise Manager can be used by your VMware vCloud Director tenants to perform their own workload backup and restore. They can do this using the Veeam Self-Service Portal, and in this blog, I will show you how to give your tenants access to the Self-Service Portal without leaving the vCD portal?
Many Service Providers are impressed with the services offered by the Veeam Enterprise Manager Self-Service Portal; but also, many of them ask if there is a way to easily give the tenant access to the Enterprise Manager Self-Service Backup Portal without leaving the vCD.
Out of the box, Veeam doesn’t provide such a capability; but with several hours of coding, you can make this option possible. Don’t worry, I am not going to ask you to do any coding here, as I have already done that for you.
So let’s have a look at what was done to get this solution to work.
A month or so ago, I received a call from one of our Australian Vanguard members, (http://stevenonofaro.com/) wanting to discuss this requirement. He wanted to collaborate to build such a vCD plug-in. Working with his local development team, he was able to demonstrate a workable solution based on the code at this link: GitHub sample code.
The workable solution developed demonstrated was limited to one Web application portal. We agreed to release a version of the code that can be used by any Service Provider, and that can point to any Web Application. I will share here what I came out with after three weeks of research, coding, errors, and more.
To provide a community release version, it was necessary to rebuild the code from scratch. This was done in two stages; the first stage runs a simple application where the Service Provider needs to provide the Web Application URL; i.e., Veeam Enterprise Manager in this case. Then the plugin is generated as a .zip file, which the Service Provider uploads to the vCD Provider portal.
Let’s take a look at the steps:
- Download the Plugin Generator tool:
To get started, you must download this file. The next step is to extract the .zip, and then change the extension to .exe to run it.
- After renaming the file to .exe file and running it, you are greeted with the tool shown below, where you must provide the Web Application URL
- After entering the URL and pressing the Generate vCD Plugin Package button, a Zip file is generated. You upload this file to the vCD provider portal.
vCD Provider Portal
To upload the vCD plugin, you browse your vCD admin portal using as the following: https://vCDURL.domain/provider and then:
- Browse to the customize portal:
- Chose to upload, then select the .zip file. By default, the zip file is generated with Cloudoasis.zip as a file name.
The tenant will access the link by selecting Backup Portal from the tenant menu:
When selecting Backup Portal, the tenant is directed to the Web Application URL specified by the vCD plugin generator. In this example, the portal points to the Veeam Enterprise Manager Self-Service Backup Portal:
Veeam Enterprise Manager Preparation
You must complete the following steps to allow the Veeam Enterprise Manager Self-Service Portal to integrate into the vCD:
On the Enterprise Manager Server, open IIS. Then select the VeeamBackup site. The last step, click on the HTTP Response Headers icon.
At this point, you must update the X-Frame-Options and enter your Enterprise Manager URL. It will look like this:
Finally, restart IIS.
With this small community tool, I hope to help the Service Provider community make it easy for their tenants to open the Veeam Enterprise Manager Self-Service Portal into the vCD portal without the requirement to open another browser, or browser tab, just to conduct backup and restore operations. Also, as you may have noticed, the plugin generator allows you to point to any Web application, not just the Veeam Enterprise Manager, so long as you provide the correct URL and port.