Deploying Unified Access Gateway Appliance

Now that you have configured the ini file for your Unified Access Gateway deployment, we will run the uagdeploy.ps1 PowerShell script and provide this ini file as the configuration to automate the deployment.

1. Executing the Deployment Script

Running the script

As the scripts starts a couple questions will be asked, follow the steps below in order to provide the correct information.

  1. Click the PowerShell icon from the taskbar to return to the PowerShell terminal you opened previously.
  2. Enter .\uagdeploy.ps1 .\uag-2NIC.ini VMware1! VMware1! false false no
  3. The first VMware1! is to set the root password for the Unified Access Gateway appliance.
    The second VMware1! is to set the admin password for the REST API management access.
    The first false is to NOT skip the validation of signature and certificate.
    The second false is to NOT skip SSL verification for the vSphere connection.
    The no is in response to joining the VMware CEIP (Customer Experience Improvement Program).
  4. Enter VMware1! as the password for both the SSLcert and SSLcertAdmin fields when prompted.

To avoid password request for the certificate, remove the pfxCerts values and provide a PEM certificate, set the pemCerts and pemPrivKey for the SSLCert and SSLCertAdmin sections of the INI file.

The deployment starts and you can follow the progress on the same window or on your vSphere Web Client, which we leaved open at the beginning of this module.

2. Confirm the PowerShell Script Deployment Completes

Deployment finished

After the deployment script completes, the UAG-2NIC virtual machine will be automatically powered on.  The script will output Completed successfully once the process has completed.

The Received IP address presented by the script log is a temporary IP, the final IPs for NIC 1 and NIC2 will be assigned to the Unified Access Gateway appliance during the first start. You can return to the vSphere Web Client to validate that as described on the next step.

3. Validating the deployment

Validating UAG Appliance status

Return to the VMware vSphere Web Client in Google Chrome.

  1. Click on the VM and Templates tab.
  2. Click on UAG-2NIC.
  3. Click the Summary tab.
  4. Click on View all 2 IP addresses.
  5. Confirm the IP Addresses listed are 192.168.110.160 and 192.168.120.160.  
    These are the IPs you specified in the INI file used by the PowerShell script.
  6. The the IP Addresses have not populated, you may need to click the Refresh button and check again.

NOTE: In case the Unified Access Gateway appliance has not finalized the configuration during the first startup, you will receive a error message from vSphere Web Client.  If this happens, wait for the Appliance to finish deploying and refresh the whole Chrome Browser.

4. Log In to the Unified Access Gateway Administration Console

UAG Admin UI Login
  1. Click the New Tab button.
  2. Enter https://uag-intranet.corp.local:9443/admin and then press ENTER.
  3. Enter admin for the username.
  4. Enter VMware1! for the password.
    NOTE: This password was created for the Admin API during the PowerShell script deployment.
  5. Click Login.

5. Choose Manual Configuration

Succesfull login

A successful login redirects you to the window where you can import settings or manually configure the Unified Access Gateway appliance.

Under Configure Manually, click Select.

You will be returning to the Unified Access Gateway administration consoleand modifying the configuration manually in upcoming steps, so leave this page open.

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.