Forum Discussion

israelfdzhdz_34's avatar
israelfdzhdz_34
Icon for Nimbostratus rankNimbostratus
Mar 02, 2019

How create Health Monitor https.

The F5 has a load balancing of two nodes in the HA scheme. (Node A - Active PRD // Node B - Passive Standby) and when I run the command curl -I -k https:///mifs/login.jsp (each node), the answer is the follow:

 

Nodo A respond with HTTP/1.1 200 OK Server: serverevalidate Content-Type: text/html;charset=UTF-8

 

Nodo B respond with HTTP/1.1 503 Service Unavailable Server: server Content-Type: text/html; charset=iso-8859-1

 

It's possible create a monitor, when the node A response is HTTP/1.1 200 OK the node is UP and the node B respond is HTTP/1.1 503 Service Unavailable this node is DOWN.

 

1 Reply

  • Hi,

    If you want Node A to serve traffic (active) and only want Node B (standby) to serve traffic if Node A goes down, you can use a feature called priority group activation

    1) Create an HTTPS health monitor

    tmsh create ltm monitor https MONITOR-HTTPS-LOGIN defaults-from https send "GET /login.jsp HTTP/1.1\r\nHost: mifs\r\nConnection: close\r\n\r\n" recv "200 OK"

    2) Apply HTTPS health monitor to pool and enable priority group activation

    tmsh modify ltm pool  monitor MONITOR-HTTPS-LOGIN members modify { : { priority-group 10 } : {priority-group 5 } } min-active-members 1