Understand the common errors that can occur after the Content Gateway configuration on Unified Access Gateway.
Content Gateway does not have specific error codes or messages to communicate the errors. You can identify the errors in the Content Gateway instance using the standard HTTP status codes. To troubleshoot errors on Unified Access Gateway, see Troubleshooting Unified Access Gateway Deployment.
Connection and Repository Error Logs
Log files on Content Gateway test connection failures, repository-related errors when accessed through Content Gateway, upload or download related issues from the device can be obtained from the Unified Access Gateway log archive. You can download the UAG-log-archive.zip file from the Support Settings section in the Unified Access Gateway Admin UI. For more information on log files, see Collecting Logs from the Unified Access Gateway Appliance.
Verify Packet Install Status
$ tdnf info <packagename>
Verify Content Gateway Connectivity
https://<UAG_Content_Gateway_URL>:<port>/content/awhealth
The URL returns the HTTP status as 200 on the browser. You must mention the port if Content Gateway is configured using any port other than 200 on Unified Access Gateway.
Identify Network File Share Errors
- Open the Unified Access Gateway console through VMware v-Sphere.
- To open the SMB connector folder, run the required command.
$ cd /opt/airwatch/content-gateway/smb-connector/
- To export the SMB connector library, run the required command.
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/airwatch/content-gateway/smb-connector/lib/
- To run the SMB library, run the required command.
$ ./smbconnector
To ensure that there are no SMB connector errors on the Unified Access Gateway Photon Machine, verify the SMB output.
Verify Content Gateway Traffic
Verify that the Content Gateway configured on port 443 (standard port) internally reroutes the traffic on port 10443.
- To install the tcpdump & ethtool, run the required command.
$ "/etc/vmware/gss-support/install.sh"
- To verify the traffic flow on a specified port, run the required command.
$ tcpdump -i any -n -v tcp port 10443 -w <filename.pcap>
- To verify the traffic, perform the test connection of Content Gateway on the Workspace ONE UEM console.
To verify the traffic, perform the test connection of Content Gateway on the Workspace ONE UEM console.
Content Gateway Domain Join Configuration
This section provides information about the different domain join configurations for the SMB connector.
DNS Resolution Using the Hosts File
If the environment does not have any DNS servers or they are unreachable, add local configurations in the hosts file. You can add host entries to the host file using the Host Entries parameter available on the Unified Access Gateway Admin UI.
Configure Multiple Repositories and the Same Domain
- Navigate to /opt/airwatch/content-gateway/smb-connector/smb.conf and uncomment the workgroup section.
- Add the user domain to the smb.conf file.
The following image displays a domain that is added to the smb.conf file:
Configure DNS for Host Name Resolution
- Add the DNS Server.
- Navigate to /etc/resolv.conf and open the resolv.conf file.
- Add DNS server IPs in the resolv.conf file.
Adding server IPs directs the queries to the appropriate DNS server. Add multiple servers in multiple lines.
- If shares are not provided or configured as FQDN, and DNS servers do not resolve them properly, add Fully Qualified Domain Name (FDQN) to Search.
- Navigate to /etc/resolv.conf and open the resolv.conf file.
- Add the search parameter and provide the FQDNs that you want to be queried.
Multiple entries can be added by separating the entries with space.