VMware Horizon Community
tonyd433
Contributor
Contributor

VMware Unified Access Gateway

Trying to install VMware Unified Access Gateway 20.12. Tried a simple configuration with Internet, backend, and management on one interface. 

SSH and web are listening -

# netstat -na | grep LISTEN
tcp 0 0 0.0.0.0:9443 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN

But I see the following in the vami install file -

# cat var/log/vami/vami-ovf.log
16/02/2021 15:53:56 [info] [process id: 604] Ovf properties found.
16/02/2021 15:53:56 [info] [process id: 604] Using the following properties to configure the network settings:
16/02/2021 15:53:56 [info] [process id: 604] Appliance Name - EUC_Unified_Access_Gateway
16/02/2021 15:53:56 [info] [process id: 644] Managed Externally
16/02/2021 15:53:56 [info] [process id: 604] Configuration for eth0 found
16/02/2021 15:53:56 [info] [process id: 604] Hostname property is not present, querying and setting hostname.
16/02/2021 15:53:57 [info] [process id: 604] Output:Unable to obtain hostname from DNS reverse lookup.
Please exam DNS/network configuration.
Skip setting hostname.
16/02/2021 15:53:58 [info] [process id: 738] Managed Externally
16/02/2021 15:54:04 [info] [process id: 1109] eth0 is now managed internally.
16/02/2021 15:54:04 [info] [process id: 1117] Managed Internally
16/02/2021 15:54:04 [info] [process id: 1128] Managed Internally
16/02/2021 15:54:06 [info] [process id: 1325] Managed Internally
16/02/2021 15:54:06 [info] [process id: 1338] Managed Internally
16/02/2021 10:54:55 [info] [process id: 1810] Managed Internally

After I power up the VM, the console displays NO NETWORKING DETECTED. PLEASE LOGIN AND RUN THE COMMAND /opt/vmware/share/vami/vami_config_net. I do that and I see -

# /opt/vmware/share/vami/vami_config_net
/opt/vmware/share/vami/vami_config_net: line 62: warning: command substitution: ignored null byte in input

Main Menu

0) Show Current Configuration (scroll with Shift-PgUp/PgDown)
1) Exit this program
2) Default Gateway
3) Hostname
4) DNS
5) Proxy Server
6) IP Address Allocation for eth0
Enter a menu number [0]: 0

Enter a menu number [0]: 0
/opt/vmware/share/vami/vami_announce_net: line 62: warning: command substitution: ignored null byte in input

Network Configuration for eth0
IPv4 Address: 10.105.248.103
Netmask: 255.255.252.0
IPv6 Address:
Prefix:

Global Configuration
IPv4 Gateway: 10.105.248.1
IPv6 Gateway:
Hostname: truag1
DNS Servers: 127.0.0.53
Domain Name:
Search Path: trcc.commnet.edu
Proxy Server:

DNS seems like it is working properly -

]# nslookup truag1
Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
Name: truag1.trcc.commnet.edu
Address: 10.105.248.103

Not sure where to go next. 

Any ideas?  

Labels (1)
0 Kudos
6 Replies
fabio1975
Commander
Commander

Hello

to recap, can't you connect to the UAG WEB console? Did you deploy through the script? if you can post the ini file used?

By Fabio 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

0 Kudos
norim
Contributor
Contributor

Got the same error but for sure: I rebooted after initial installation via ovf-file the appliance again and afterwards I wait for a couple of minutes.

 

After round about 3-5 Minutes, the admin-interface was responding and I successfully logged in. Weird!

0 Kudos
tonyd433
Contributor
Contributor

Yes, the same behavior here with a one NIC deployment. After several minutes I can get to the Admin UI. However, it's when I go to 2-NIC or 3-NIC deployment that things get weird. I don't think the firewall (iptables) is configured correctly when going to the 2-NIC or 3-NIC deployment. 

0 Kudos
sjesse
Leadership
Leadership

fabio1975
Commander
Commander

Yes is right with two network cards you definitely need to add some static routes. I advise you to use the deployment methodology with scripts and ini files .... from there you can remember and share the info if you have problems and you immediately noticed if there were static routes.

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

0 Kudos
tonyd433
Contributor
Contributor

I added the static route but still no luck getting to the Admin UI. I am not using Windows. I'm installing the appliance in VMware using the OVF file. 

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0      149.152.12.1  0.0.0.0       UG 0 0 0 eth0
10.105.248.0 10.105.248.1  255.255.252.0 UG 0 0 0 eth1  <-- added this one
10.105.248.0 0.0.0.0       255.255.252.0  U 0 0 0 eth1
149.152.12.0 0.0.0.0       255.255.255.0  U 0 0 0 eth0
169.254.0.0  0.0.0.0       255.255.0.0    U 0 0 0 eth0

https://10.105.248.103:9443  "The connection has timed out"

0 Kudos