Forum Discussion
Check status of pool member by iRule
Hello, I have fastL4 VIP with one member in a pool.
I want to check status of the member (up/down).
I tried to do it by this simple iRule and I got everytime status "down" but server is UP.
when CLIENT_ACCEPTED {
log local0. "test status pool member > [LB::status pool Test_pool member 10.0.202.198 80]"
}
BIGIP SW is 11.5.4
Do you have some idea why I always got status of member like "down" ?
Thanks Tomas
- Tomáš_D_193198
Nimbostratus
I just solved this trouble. I have more then one partition and in this case in this command must be IP of member with number of partition.
Command must be: [LB::status pool Test_pool member 10.0.202.198%1 80]
- amritkp789_2416
Altostratus
Hi Tom, %1 is not for partitions but, route-domains. And moreover, the irule mentioned in the question is not 'monitoring' purpose. It is only meant to log the status. You must be having a monitor attached to your pool for monitoring purpose.
- Tomáš_D_193198
Nimbostratus
Hello, yes you are right, it is number of Route Domain. My answer was not clear. I have of course monitor attached to pool.
This rule was like test rule how this check is working and now I will use it in another iRule.
Thank you
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com