Forum Discussion

AJ_382665's avatar
AJ_382665
Icon for Nimbostratus rankNimbostratus
Feb 07, 2019

Unable to target another VIP or Pool

below is my setup 
    virtual server: myapp1_443
    Service Port: 443
    SSL profile: myapp_sslprofile
    Pool: myapp1_pool_80
        members: pool1member1 port 80
                 pool1member2 port 80

    application is hosted on port 80 & 443 as well.
    certificate used in myapp_sslprofile is bound to website.

    in this case SSL offloading is working as expected and i am able to access https://myapp1
    however requirement is to check if health of myapp1_pool_80 goes down requests should be 
    served by myapp1_pool_443

    i have created one more pool
    myapp1_pool_443
        members: pool1member1 port 443
                 pool1member2 port 443
     and attached irule to my virtual server as below.

     when LB_FAILED {
        pool myApp1_pool_443
    }

   even tried below
    when HTTP_Request {
        if{ [string tolower [LB::status pool myapp1_pool_80]] eq "down" }
            {
                pool myapp1_pool_443
            }
    }

    but none of these working and page is going nowhere but keeps on searching.

    as an alternate i tried to create new virtual server without and SSL profile and 
    default pool as myapp1_pool_443
    tried to redirect request to target this Virtual server but it's not working either.
    can someone please guide.

5 Replies

No RepliesBe the first to reply