Changing App Visibility collector settings
You can change the App Visibility collector settings, such as the host name of computer or port numbers, in the collector.properties file located in the following directory:
- Windows
installationDirectory\collector\properties
- Linux
installationDirectory/collector/properties
Notes
- After you change the collector.properties file, restart the collector service.
- In a high-availability environment, modify the properties files in the following order:
- Stop the standby collector service.
- Modify the active collector and restart the service.
- Modify the standby collector and start the service.
This topic presents the following procedures:
To change the host name for communication with the App Visibility collector
By default, the App Visibility collector uses the operating system’s configured host name, called the Listening Address during installation, to communicate between components.
Override the default host name configuration for any of the following situations:
- If the default collector host name is incorrect, for example, if the automatically detected host name is not the fully qualified device name (FQDN), you must replace the host name with the FQDN.
- If the collector requires an IP address for connection, such as from behind a firewall, you must replace the automatically detected host name with an IP address.
The property value directs end-user browser data through the load balancing or reverse proxy server and must be accessible from all App Visibility agents. You must configure the load balancing or reverse proxy server to forward requests to the assigned collectors.
Perform the following procedure to override the default host name configuration:
- Open the collector.properties file.
- Change the callback.address value to the required host name or IP address.
- Restart the App Visibility collector service.
To change the port numbers
Modify the App Visibility collector's listening port.
The default port is 8200.tomcat.listening.port=8200
- Restart the App Visibility collector service.
To configure the App Visibility portal connection
Set the App Visibility portal connection. In a high-availability environment, connect to the portal's load balancing server.
portal.connection.ip=localhost portal.connection.port=8100
Note
When entering IPv6 addresses, you must enter the IP address in square brackets. For example:
portal.connection.ip=[::1]
- Restart the App Visibility collector service.
To modify database settings
Use this procedure to modify the database location, data retention time, and maximum database size. To change the database password, see Changing the App Visibility database password.
If you need to change database port, modify the database location:
database.url=jdbc\:postgresql\://localhost\:8800/avdb?currentSchema\=collector
Modify the period of time to retain data in the database on the App Visibility collector.
The retention time is in days.
retention.time=35
- Modify the database size. The database size is in MB.
db.max.size=102400
Restart the App Visibility collector service.
To set or modify a load balancing or reverse proxy server
If the collector uses a proxy to connect to the App Visibility portal, configure the proxy details. If you do not need to configure a proxy, leave the values empty.
Set the proxy details for HTTP:
http.proxy.host= http.proxy.port=
Set the proxy details for HTTPS:
https.proxy.host= https.proxy.port=
Set the proxy details for SOCKS:
socks.proxy.host= socks.proxy.port=
Note
If you configure the proxy settings, you must make additional configuration changes to the Changing App Visibility portal settings.
- Restart the App Visibility collector service.
Comments
Log in or register to comment.