Applications Systems
Configure a proxy on Database Performance Analyzer (DPA)
The article guides you through the steps to force the Apache Server (web server used by DPA) to follow your proxy configuration.
First published date
Last published date
Overview
This is required when, for example, the DPA instance needs to reach License Manager (online License activation) or Platform Connect endpoints.
Product section
Cause
Apache Tomcat does not follow the OS proxy configuration by default.
Resolution
Windows Installation
- Assuming the default installation path, navigate to:
C:\Program Files\SolarWinds\DPA\iwc\tomcat\bin\
-
Open the 'Ignite PI Server Properties' tool, file called
IgnitePIw.exe. -
Go to the 'Java' tab and add the following options at the end of the 'Java Options' text area:
-Dhttp.proxyHost=proxy.address
-Dhttp.proxyPort=port.number
-Dhttps.proxyHost=proxy.address
-Dhttps.proxyPort=port.number
- If you are not using HTTP, Dhttp options can be skipped.
- Change
proxy.addressandport.numberfor the address and port of your proxy server.
-
Click Apply and then OK to close the tool.
-
Open
services.mscand restart the 'Ignite PI Server' service.
Linux Installation
- Assuming we are on the DPA root folder, navigate to:
/iwc/tomcat/bin/
- Create a file called
setenv.shand add the following content to it:
# HTTP Proxy Configuration
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=proxy.address"
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=port.number"
# HTTPS Proxy Configuration
CATALINA_OPTS="$CATALINA_OPTS -Dhttps.proxyHost=proxy.address"
CATALINA_OPTS="$CATALINA_OPTS -Dhttps.proxyPort=port.number"
- If you are not using HTTP, Dhttp options can be skipped.
- Change
proxy.addressandport.numberfor the address and port of your proxy server.
- Write out the file and Stop+Start the DPA service:
- Navigate back to the DPA root folder.
- Run the
shutdown.shscript. - Run the
startup.shscript.