Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Configuring the Apache reverse proxy for Midtier


Add a new context for the Reverse Proxy

  1. Logon to the server where Midtier is installed.
  2. On the Apache reverse proxy server for Midtier, open C:\Program Files\Apache Software Foundation\Tomcat6.0\conf\server.xml.
  3. Add the following <Context> element, located inside the </Host> element, towards 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>

Remove the existing context for the default Midtier URL

  1. Logon to the server where Midtier is installed.
  2. Open C:\Program Files\Apache Software zoundation\Tomcat6.0\conf\Catalina\localhost.
  3. Rename the arsys.xml file to arsys.xml.turnItOff.
     This deactivates the default Midtier URL that is used by everyone
  4. Restart Midtier, so that the changes to take effect.
  5. Restart the web server , so that the changes to take effect.

Reverse Proxy Settings

  1. Logon to the server where the reverse proxy is installed.
  2. On the Apache reverse proxy server for Midtier, open /usr/apache/conf/httpd.conf.
  3. Under the PROXY STATEMENTS area, add the following lines. (There should be two lines for each Midtier, since the URL is same. Because there is only one reverse proxy, the different Midtiers are identified by different context paths (qa1, qa2, and so forth)). 


    \# 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. The new URLs are https://rhl-apache-vm3.eng.remedy.com/qa<num>/arsys.
  5. Run the maintenance Utility, and select the System Integration tab.
  6. In the Application Server field, enter the new application server name set via the reverse proxy.
  7. Leave the Port field blank, if the BMC IT Business Management Suite application with reverse proxy does not have it.
  8. Check the web path in AR. It should point to the new reverse proxy Midtier.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*