For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

rajeshgoud's avatar
rajeshgoud
Icon for Altostratus rankAltostratus
Sep 30, 2016

iApp template help required

I am looking for a help in building an iApp template with Single VIP IP attached with iRule with Dev, Prod and QA pools based on URL redirection. Example

 

ABC1.abc.com -> Single VIP IP with dev, QA and Prod pools ABC2.abc.com -> Single VIP IP with dev, QA and Prod pools ABC3.abc.com -> Single VIP IP with dev, QA and Prod pools

 

using standard profiles http and wildcard certificate profile.

 

Can this be possible? any init direction is appreciated..

 

3 Replies

  • If i understand your request correctly, you want to create single VIP with nodes including dev, QA and prod enviornments.

     

    if yes, the template Local-f5.http iAPP might help.

     

    -Jinshu

     

  • If your requirement is to create a VIP and redirect the traffic based on the hostname, below irule might help you.

    Create VIP and associate irule in there.

    when HTTP_REQUEST {
    
        if { ([string tolower [HTTP::host]] equals "abc1.abc.com") } {
            pool qa_pool
        } 
        if { ([string tolower [HTTP::host]] equals "abc2.abc.com") } {
            pool dev_pool
        } else {
            pool prod_pool
     }
     }
    

    -Jinshu