Forum Discussion

e_beans045's avatar
e_beans045
Icon for Nimbostratus rankNimbostratus
Mar 23, 2007

LB::status pool

Hello.

 

When health checks from BIG-IP to a server fail, I want to make a state of the server session_disable.

 

I tried to make a rule such as a bottom, but BIG-IP does not work well.

 

 

when CLIENT_ACCEPTED {

 

if { [LB::status pool test_pool member 192.168.1.1 80] eq down }{

 

set [LB::status pool test_pool member 192.168.1.1 80] session_disable

 

}

 

}
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    The command LB::status does not require the set command before it to change the state of the pool.

    What you're looking for is:

    
    LB::status pool test_pool member 192.168.1.1 80 session_disable

    Colin
  • Thank you for a reply.

     

    I tried to test it in the sentence structure that had you teach it.

     

    However, it did not become session disable even if downed status of a pool member.

     

    In the first place may not you change starters of a pool member in a rule?