Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to add multiple monitor with min availability function for existing pool in f5

Network_km
Nimbostratus
Nimbostratus

I have a pool containing few members with the custom monitor attached. My requirement is to add additional members and monitor to the existing pool with the min availabity function  (so that min one monitor should respond to the server and marked up)

Please share the CLI command to modify the setup 

4 REPLIES 4

mihaic
MVP
MVP

I you have multiple monitors, there is an 'availability requirement 'setting that lets you choose how many monitors would require a member to be UP. here is an example:

ltm pool Tiny_pool {
members {
172.16.100.11:http {
address 172.16.100.11
priority-group 2
session monitor-enabled
state up
}
172.16.100.12:http {
address 172.16.100.12
priority-group 2
session monitor-enabled
state down
}
}
min-active-members 2
monitor min 1 of { gateway_icmp http }
service-down-action reset
}

In the example above, I've set up 2 monitors (gateway_icmp and http) and a minimum of 1 can make the pool member as UP.

Hello Mihaic,

Thank you for quick response

I'm looking for the cli command that serves below condition in single "modify pool" command

add additional members to existing pool

add additional monitor to the existing pool (old monitor should not be removed) with the min available condition between monitors

 

mihaic
MVP
MVP

here is an example based on where I am adding tcp monitor to the pool monitor from the example above:

 modify ltm pool Tiny_pool monitor min 1 of { gateway_icmp http tcp }

 

That helps..Thank you