Configuring the Apache reverse proxy for the mid tier
Complete the following procedures to configure the Apache reverse proxy for the mid tier:
To add a new context for the Reverse Proxy
- Log on to the server where the mid tier is installed.
- On the Apache reverse proxy server for the mid tier, open the C:\Program Files\Apache Software Foundation\Tomcat6.0\conf\server.xml file.
- Add the following <Context> element, located inside the </Host> element, near the end of the file.
<Context deployOnStartup="true" docBase="C:\Program Files\BMC Software\ARSystem\midtier" path="/qa1/arsys" reloadable="false">
<!--This disables session persistence across shutdown/startup.-->
<Manager pathname=""/>
</Context>
</Host>
To remove the existing context for the default mid tier URL
- Log on to the server where the mid tier is installed.
- Open the C:\Program Files\Apache Software zoundation\Tomcat6.0\conf\Catalina\localhost file.
- Rename the arsys.xml file to arsys.xml.turnItOff.
This deactivates the default mid tier URL. - Restart the mid tier.
- Restart the web server.
To set the reverse proxy
- Log on to the server where the reverse proxy is installed.
- On the Apache reverse proxy server for the mid tier, open the /usr/apache/conf/httpd.conf file.
Under the PROXY STATEMENTS area, add the following lines.
\# QA servers
\# QA midtier 1 - itsm-mtier1.labs.bmc.com
ProxyPass /qa1/arsys http://itsm-mtier1.labs.bmc.com:8080/qa1/arsys
ProxyPassReverse /qa1/arsys http://itsm-mtier1.labs.bmc.com:8080/qa1/arsys
\# QA midtier 2 - xyz.labs.bmc.com
ProxyPass /qa2/arsys http://xyz.labs.bmc.com:8080/qa2/arsys
ProxyPassReverse /qa2/arsys http://xyz.labs.bmc.com:8080/qa2/arsys- Run the Maintenance Utility, and select the System Integration tab.
- In the Application Server field, enter the new application server name set via the reverse proxy.
- If the BMC IT Business Management Suite application with reverse proxy has a port number, enter it in the Port field. Otherwise, leave the Port field blank.
- Check the web path in BMC Remedy AR System. It should point to the new reverse proxy for the mid tier.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*