Connect VMware vCenter to Microsoft Azure Backup Server
In the last post, we took a look at Installing and Configuring Microsoft Azure Backup Server. The latest version of the product allows backing up VMware virtual machines and also replicating these backups to the Azure Cloud. Pretty cool indeed! As shown, installing and configuring the MABS product is a fairly straightforward process that involves a bit of configuration from the Microsoft Azure side, configuring a Recovery Services Vault, then on-premise with installing the Microsoft Azure Backup Server. In this next post, we want to take a look at how to Connect VMware vCenter to Microsoft Azure Backup Server. In other words, what does the process look like to actually get VMware vCenter Server connected with Microsoft Azure Backup Server where we can then create a Protection Group that includes VMware vSphere virtual machines. Let’s see what this looks like and the steps involved.
Connect VMware vCenter to Microsoft Azure Backup Server
There are essentiallyย four steps involved according to the Microsoft documentation.ย The following steps are documented as those we need to accomplish to get our VMware vCenter Server connected to Microsoft Azure Backup Server.
- Download the vCenter Server certificate to import into Microsoft Azure Backup Server
- Create a vSphere user and role to use in making the connection from MABS to vCenter for backups
- Add the vSphere user to MABS
- Create the actual vCenter Server connection in MABS
For the purposes of this post, I will be skipping step number two in the process as I am carrying out the setup in a home lab environment, so I am simply going to use my vCenter Server SSO administrator.ย You don’t want to do this in production however, so make sure to create the vSphere user/role with the needed permissions as documented.
Download and Import the vCenter Server Certificate for MABS
Below, I have navigated to the HTTPS web frontend for my VCSA 6.5 appliance – https://<your vcenter server IP or FQDN>.ย Over on the right-hand side of the web page, you will see the menu listed under theย For Administrators section.ย Down at the bottom, notice theย Download trusted root CA certificates.
I am fast forwarding here a bit, but after you download the certificate, you will want to import the certificate into theย Trusted Root Certification Authorities.ย I had to look at it a bit after importing, as I didn’t see my FQDN listed for my VCSA 6.5 appliance as you normally see when you import a self-signed certificate.ย You look for the hostname generally.ย However, it was listed asย CA andย CA in my environment.
Just a quick double check on this and the certificate is definitely the VCSA 6.5 appliance.
Add vCenter Server User to Microsoft Azure Backup Server
Getting your MABS server connected to vCenter Server is a two-step process.ย Youย first, add the user you want to utilize to make the connection, andย then you configure the actual vCenter Server connection.ย Let’s see how to add the user credentials first as this is step one.
Down at the lower left hand corner of the MABS console, click theย Management menu.
At the top of the screen click theย Manage VMware Credentials button.
As expected, theย No credentials found message is displayed as we haven’t added vCenter credentials as of yet.ย Click theย Add button.
A simple dialog box allows adding your vCenter Server user.ย Again, here I am simply using my SSO administrator user for making the connection.ย In production, don’t do this.ย Clickย Add.
Now, on theย Manage Credentials dialog, we see our new user added.ย Notice theย Production Servers column is showingย 0 since we are not using this credential in any protection groups as of yet.ย Simply hit the “X” to close the manage credentials dialog.
Create the VMware vCenter Connection in Microsoft Azure Backup Server
On theย management menu, we simply click theย Add button at the top left to initiate theย Production Server Addition Wizard.
On theย Production Server type select theย VMware Servers option.
On theย Select VMware Servers page, enter the name of theย Server Name/IP Address as well as on theย Specify Credential on the dropdown menu, select the entry that was created in the Manage VMware Credentials page.ย Click theย Add button.ย Also, for those with an attention to detail, you will see in the walkthrough, I misspelled my FQDN.
The serveris added to theย Added VMware Servers menu.
On the summary screen, you will see the vCenter server listed, ready to be added.
The vCenter Server has been added successfully.
If you navigate back out to the Management screen, you will see theย Protected computers with protection agent listed and you will see the vCenter Server connection with anย Agent Status of OK.
Takeaways
I found the process toย Connect VMware vCenter to Microsoft Azure Backup Server fairly straightforward.ย Adding credentials first before adding the connection seems a bit awkward, but didn’t present any real challenges.ย In my lab environment, the vCenter Server connection was added successfully and was quickly ready to start adding a protection group.ย In the next part, we will look at adding a VMware protection group to Microsoft Azure Backup Server.