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
As the scripts starts a couple questions will be asked, follow the steps below in order to provide the correct information.
- Click the PowerShell icon from the taskbar to return to the PowerShell terminal you opened previously.
- Enter
.\uagdeploy.ps1 .\uag-2NIC.ini VMware1! VMware1! false false no
- The first
VMware1!
is to set the root password for the Unified Access Gateway appliance.
The secondVMware1!
is to set the admin password for the REST API management access.
The firstfalse
is to NOT skip the validation of signature and certificate.
The secondfalse
is to NOT skip SSL verification for the vSphere connection.
Theno
is in response to joining the VMware CEIP (Customer Experience Improvement Program). - 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
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
Return to the VMware vSphere Web Client in Google Chrome.
- Click on the VM and Templates tab.
- Click on UAG-2NIC.
- Click the Summary tab.
- Click on View all 2 IP addresses.
- 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. - 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
- Click the New Tab button.
- Enter
https://uag-intranet.corp.local:9443/admin
and then pressENTER
. - Enter
admin
for the username. - Enter
VMware1!
for the password.
NOTE: This password was created for the Admin API during the PowerShell script deployment. - Click Login.
5. Choose Manual Configuration
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