Deploying Unified Access Gateway Appliance

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

1. Open PowerShell window

Open PowerShell

Click on the PowerShell icon

2. Deploying Unified Access Gateway Appliance via PowerShell

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. Enter cd '.\Desktop\UAG Resources' then press ENTER.
  2. Enter .\uagdeploy.ps1 .\uag-CG.ini VMware1! VMware1! false false no then press ENTER.The first VMware1! is the root password for the UAG appliance
    The second VMware1! is 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 to not join the VMware CEIP program
  3. Enter [email protected]! as the password for the SSLcert and SSLcertAdmin fields when prompted.
  4. Enter VMware1! as the password for the Organization Group that you configure Content Gateway on the Workspace ONE UEM Console

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.

3. Confirm the PowerShell Script Deployment Completes

Deployment finished
  1. Confirm the UAG deployment completed successfully.  The Completed successfully text will be shown in the output.
  2. Click Close.

Once the deployment has completed, the script will automatically power on the VM, UAG-2NIC-CG.

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

4. Validate UAG Deployment

Validating UAG Appliance status
  1. If you do not see the UAG-2NIC-CG VM under Nested_Datacenter, you may need to click Refresh.
  2. Click on UAG-2NIC-CG.
  3. Click the Summary tab.
  4. Click on View all 2 IP addresses
  5. The IP Addresses should show:


Note - In case the appliance has not finalized the configuration during the first startup, you will receive an error message from vSphere Web Client.  If that happene, wait for the Appliance to finalize and refresh the Chrome Browser.


Add your comment

E-Mail me when someone replies to this comment

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