Forum Discussion
health monitor question
Ok its not working traffic is not going to pool pool mhf_pool_172.16.250.72-slave when i do the following.
Note I have a monitor setup for as sol_uat_slave where send string is
GET /solr/SPRUAT_Slave/admin/ping HTTP/1.0\r\n\r\n
and recieve string is OK
^C$ telnet 172.16.250.72 80 Trying 172.16.250.72... Connected to 172.16.250.72. Escape character is '^]'. GET /solr/SPRUAT_Slave/admin/ping HTTP/1.0\r\n\r\n
HTTP/1.1 200 OK Connection: close Date: Sat, 18 Jul 2015 21:31:34 GMT Content-Type: application/xml; charset=UTF-8
03allsolrpingqueryfalseOK Connection to 172.16.250.72 closed by foreign host
Here is my full config
ltm pool /Finance/mhf_pool_172.16.250.72-80 { members { /Finance/172.16.197.204:22750 { address 172.16.197.204 priority-group 1 } /Finance/172.16.197.204:22760 { address 172.16.197.204 } } min-active-members 1 monitor /Finance/sol_monitor
sol_monitor is
ltm monitor http /Finance/sol_monitor {
defaults-from /Common/http
destination *:*
interval 5
recv OK
send "GET /solr/SPRUAT_Master/admin/ping HTTP/1.0\\r\\n\\r\\n"
time-until-up 0
timeout 16
ltm pool /Finance/mhf_pool_172.16.250.72-slave { members { /Finance/172.16.197.204:22750 { address 172.16.197.204 } /Finance/172.16.197.204:22760 { address 172.16.197.204 } } monitor /Common/sol_uat_slave
my irule is
ltm rule /Finance/sol_irule {
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/solr/SPRUAT_Slave*" {pool mhf_pool_172.16.250.72-slave}
default {pool mhf_pool_172.16.250.72-80}
}
} }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
