I have a requirement from a customer where there are 2 members in a pool
172.16.197.204 port 22750 and 172.16.197.204 port 22760 .
First requirement is if URL is /solr/SPRUAT_Master then do Active / Passive load balancing between below nodes and traffic should only go to 172.16.197.204 port 22750 and I achieved that using priority group and a monitor as below
Send string GET /solr/SPRUAT_Master/admin/ping HTTP/1.0\r\n\r\n receive string OK
But in addition to that for same members as above they want
if URL is /solr/SPRUAT_Slave then do round robin load balancing between samew nodes as above.
How can i achive that using irule or something to make this work.
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