Previous Topic: Install a Load Balancer and Prepare Configuration Templates (Non-Windows)Next Topic: Secure Configuration (Non-Windows)


Configure the Apache Load Balancer for Catalyst RESTful API (Non-Windows)

You can configure Apache Web server (load balancer) for Catalyst RESTful API. Make the Apache configuration changes on the Apache load balancer that is configured for CA Process Automation.

Ensure that the following binaries are installed in the Apache server.

mod_proxy.so
mod_proxy_balancer.so
mod_proxy_http.so

Follow these steps:

  1. Navigate to the following folder on the CA Process Automation installation media:
    install_dir\DVD1\ApacheConfTemplates
    
  2. Extract the following file from ApacheConfig.zip:
    httpd-proxy.conf
    
  3. Copy httpd-proxy.conf to the following directory:
    apacheHome/conf/extra
    
  4. Open httpd-proxy.conf and comment the following lines:
    LoadModule proxy_module modules/mod_proxy.so
    
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    
    LoadModule proxy_http_module modules/mod_proxy_http.so
    
  5. Navigate back to the apache_install_dir\conf folder, open httpd.conf, and uncomment the following lines (if commented):
    LoadModule proxy_module modules/mod_proxy.so
    
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    
    LoadModule proxy_http_module modules/mod_proxy_http.so
    
  6. Update the following lines in both http and https Virtual Hosts to replace the Orchestrator host names for BalancerMember.

    UnSecured Node Members

    Secured Node Members

  7. Replace the "Enter node1 hostname here" placeholder for worker.node1.host with the valid value.

    Note: The valid values are the IP address, the FQDN, or the DNS alias that resolves to the host where you are installing the initial Domain Orchestrator node. The valid value is the same value that is used for “Server Host” when installing the Domain Orchestrator.

  8. Save the httpd-proxy.conf file.
  9. Open apacheHome/conf/httpd.conf file and check the port 7000 and 7443 are not used.
  10. Add the following line at the end of httpd.conf file:
    Include conf/extra/httpd-proxy.conf
    
  11. Generate SSL Certificate Files to generate c2okey2.pem and c2ocert.pem files.
  12. Copy the generated files to apacheHome/conf directory.
  13. Restart the Apache Web server.