Previous Topic: Additional Configuration for Apache Load Balancer for Secure CommunicationNext Topic: Enhancement for SOAP based Operators


Configure F5 Load Balancer

You can configure F5 load balancer to increase the number of agents in a cluster setup for secure and non-secure communication.

Follow these steps:

  1. Follow steps 1 through 4 that are mentioned in the Create an F5 iRule for CA Process Automation section of the CA Process Automation 4.2 Installation Guide.
  2. Specify the following updated iRule definition in the Definition text box:
    when SERVER_CONNECTED {
        IP::idle_timeout 172800000
    }
    
    when HTTP_REQUEST {        
                    set PAMPOOL "PAMSRVRPOOL"
                    set PAMWSPOOL "PAMJETTYPOOL"
                    set NODE1 "10.130.5.146"
                    set NODE2 "10.130.5.147"
                    set WSPORT "443"
             
                    switch -glob [HTTP::uri] {
                                    "/jmx-console*" { pool $PAMPOOL }
                                    "/web-console*" { pool $PAMPOOL }
                   "/c2orepository*" { pool $PAMPOOL }   
                                    "/c2orepository/oasisHelp*" { pool $PAMPOOL }
                                    "/c2orepository/htmlFile/aboutUs/*" { pool $PAMPOOL }
                                    "/c2orepository/htmlFile/language/*" { pool $PAMPOOL }
                                    "/c2orepository/htmlFile/installation/*" { pool $PAMPOOL }
                                    "/c2orepository/media*" { pool $PAMPOOL }
                                    "/c2orepository/thirdParty*" { pool $PAMPOOL }
                                    "/c2orepository/MainInstallerConfiguration.properties" { pool $PAMPOOL }
                                    "/itpam*" { pool $PAMPOOL }
                                    "/itpam/ServerConfigurationRequestServlet" { pool $PAMPOOL }
                                    "/itpam/MirroringRequestProcessor*" { pool $PAMPOOL }
                                    "/itpam/AgentConfigurationRequestServlet" { pool $PAMPOOL }
                                    "/itpam/StartAgent*" { pool $PAMPOOL }
                                    "/itpam/OasisPrimary" { pool $PAMPOOL }
                                    "/itpam/JNLPRequestProcessor*" { pool $PAMPOOL }
                                    "/itpam/JNLPRequestProcessor/installation" { pool $PAMPOOL }
                                    "/itpam/clientproxy/c2oresourceaction" { pool $PAMPOOL }
                                    "/itpam/clientproxy/c2oreportaction" { pool $PAMPOOL }
                    "/mirroringrepository*" { pool $PAMPOOL }
                                    "/birt/*" { pool $PAMPOOL }     
                                    "/ws/node1" { pool $PAMWSPOOL member $NODE1 $WSPORT }
                                    "/ws/node1*" { pool $PAMWSPOOL member $NODE1 $WSPORT }
                                    "/ws/node2" { pool $PAMWSPOOL member $NODE2 $WSPORT }
                                    "/ws/node2*" { pool $PAMWSPOOL member $NODE2 $WSPORT }
                                    "/*" { pool $PAMWSPOOL }
                                    default { pool $PAMPOOL }                 
                    }
    }
    
  3. Restart the F5 load balancer.