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

  1. Log on to the server where the mid tier is installed.
  2. On the Apache reverse proxy server for the mid tier, open the C:\Program Files\Apache Software Foundation\Tomcat6.0\conf\server.xml file.
  3. 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

  1. Log on to the server where the mid tier is installed.
  2. Open the C:\Program Files\Apache Software zoundation\Tomcat6.0\conf\Catalina\localhost file.
  3. Rename the arsys.xml file to arsys.xml.turnItOff.
     This deactivates the default mid tier URL.
  4. Restart the mid tier.
  5. Restart the web server.

To set the reverse proxy

  1. Log on to the server where the reverse proxy is installed.
  2. On the Apache reverse proxy server for the mid tier, open the /usr/apache/conf/httpd.conf file.
  3. Under the PROXY STATEMENTS area, add the following lines. 

    Warning

    Note

    Add two lines for each mid tier because the URL is same and there is only one reverse proxy. Therefore the different mid tiers are identified by different context paths (qa1, qa2, and so on).


    \# 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
  4. Run the Maintenance Utility, and select the System Integration tab.
  5. In the Application Server field, enter the new application server name set via the reverse proxy.
  6. 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.
  7. 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*

BMC IT Business Management Suite 8.1