This is the first of my vTIPS series of posts, These are basically a quick tip that may come in handy when working with your virtual environments.
Load balancing monitors for products like vCAC, vCD, basically any product that can be load balanced.
When load balancing using the normal out of the box monitors that come with in this example F5 which is the more widely used HW load balancer just do not cut it.
For example when vCAC is sitting behind a load balancer the service may die but the tomcat service is still working fine so the normal health monitor will show as up and users are directed to a node that is down.
What we want is a custom monitor that will show the node as down if we get a 50x http error response.
In the following example we will be working with F5 virtual appliance 11.6 and vCAC 6.x
GET /vcops-web-ent/login.action HTTP/1.0\r\n\r\n
because we need SSL we require a double up of the r and n. we also specify the login page this will give us a http 200 success response. if we left the login.action off the response will give a redirect (30x) http response followed by a 200 response and will work with the receive string below as well.
Done add this to your pool and you will now know when a node is actually down.