Release date: May 12th 2019
Welcome to my VMware Unified Access Gateway series. This topic will cover setting up High Availability. In order to achieve HA, I will deploy a second UAG. I first make a copy of the ini-file, which I adjust with different network settings. I use this new ini-file when I deploy my second UAG. Before I begin, I will create a DNS-record for my new UAG
I make a copy of my existing ini-file and edit it prior to deploying a new UAG. As I mentioned previously, although I originally design and planned for a 3 nic deployment, I will only use two nics due to the fact that I don’t have a management VLAN/PG in my lab.
The deployment and configuration is very much the same procedure as I used with my primary UAG. Before I start deployment in powershell I set ExecutionPolicy to unrestricted:
Set-ExecutionPolicy Unrestricted
To start the deployment I run this command:
.\uagdeploy.ps1 .\view-uag02.ini PASSWORD PASSWORD false false no
After deployment, I power up the appliance.
Next I verify the ip-address and connectivity
Next, I log in to the Admin-gui: https://172.16.0.76:9443/admin with the password I set during deployment: admin/PASSWORD
The first time I log in I will be asked to change the password I used during deployment: “PASSWORD”
Once the password is changed, I select Configure Manually
The first thing I want to configure is the UAG Name, this is done within System Configuration
Next I verify the network settings I configured in my ini-file
If I click show on the Edge Service Settings, I can verify my Horizon Settings
To configure HA, I select the High Availability Settings
I enter the Virtual IP i decided on during planning. I also enter the Group ID: 1. I enter these settings on UAG1 afterwards.
I also register this UAG as a gateway in Horizon. In the Servers-section under View Configuration, I add this UAG under Gateways.
Once the UAG is connected and communication established, it will turn green and I can verify the gateway details
In vSphere, I create an anti-affinity rule to make sure my UAG’s are newer on the same host
Finally, I will test my UAG by logging on from outside my lab. As I don’t have any certificates configured yet, there will be an error on the Horizon web-page
In Horizon Administrator I can verify that I’m connected to UAG02
I have exported my ini-file to pdf and attached here: view-uag02_ini
VMware Unified Access Gateway Documentation
Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.