Summary
The purpose of this KB is to address CID Key Reporting in a proxy environment.
The patch is to be applied to Collector appliances deployed in a proxy or acting as one.
Issues list
1. Collector/Hub Stuck Pending Reports, Connector ID Agents not Reporting
2. Migration Failure due to Disk Space Check
3. Migration Failure With Non-default friend & root Password.
4. Intermittent Missing Data for Network & Disk Stats
Resolution
This patch is applied via rpm install format. Please back up the Collector appliance before the change and test.
1. Shutdown the collector.
a. Take a snapshot.
2. Power on the collector and remote in using an ftp or winscp tool to the collector appliance with the friend and place the two downloaded rpms into /home/friend or azureuser or AWSuser.
3. Logon using Putty or Power Shell for windows with azure user and execute the following commands:
sudo su
cd /home/friend
ls -ltr
//example output
-rw-r-----. 1 friend friend 796385 Nov 12 16:41 tnt-identity-common-java-3.3.6-78195.noarch.rpm
-rw-r-----. 1 friend friend 1918316 Nov 12 16:41 lwl-collector-backend-1.0.0-78468.noarch.rpm
chown root:root tnt-identity-common-java-3.3.6-78195.noarch.rpm && chown root:root lwl-collector-backend-1.0.0-78468.noarch.rpm
ls -ltr
//example output change
-rw-r-----. 1 root root 796385 Nov 12 16:41 tnt-identity-common-java-3.3.6-78195.noarch.rpm
-rw-r-----. 1 root root 1918316 Nov 12 16:41 lwl-collector-backend-1.0.0-78468.noarch.rpm
4. Run the rpms using these commands:
rpm -Uvh --nosignature tnt-identity-common-java-3.3.6-78195.noarch.rpm
//example output
Preparing... ################################# [100%]
Updating / installing...
1:tnt-identity-common-java-3.3.6-78################################# [ 50%]
Cleaning up / removing...
2:tnt-identity-common-java-3.3.6-76################################# [100%]
rpm -Uvh --nosignature lwl-collector-backend-1.0.0-78468.noarch.rpm
Additional info
- This patch addresses logic that tries to figure out the 'real' ip address if there's a proxy involved in the deployment, we try to parse an ip:port as an IP address.
- Error messages found in tnt_backend.log respectfully:
2021-11-10 18:24:03,350 ERROR c.t.i.i.b.s.r.IHostRegistrationServiceImpl [http-nio2-5501-exec-7] client get-updates failed
java.net.UnknownHostException: 50.38.63.133:61853: invalid IPv6 address
at java.net.InetAddress.getAllByName(InetAddress.java:1170) ~[?:1.8.0_292]
at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:1.8.0_292]
at java.net.InetAddress.getByName(InetAddress.java:1077) ~[?:1.8.0_292]
at
Product: Stratusphere UX - Collectors
Product Version: 6.5.1 -2
Expires on: N/A
Updated: Nov, 2021