cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
771
Views
0
Helpful
3
Replies

Can the ACE bleed off users based on http probe?

rfreytag
Level 1
Level 1

We need to have our ACE look at our two servers, and based on the text it sees on a predetermined page, take an action.

Example 1: ACE looks at web page on server1, and sees "maintenance". Desired action - send all users to server2, & wait for server1 to bleed off all users.

Example 2: ACE looks at web page on server1, and sees "online". Desired action - allow users to go back to server1.

current config:

probe http HTTP-Server1

interval 15

passdetect interval 2

request method get url /maintenance.htm

expect status 200 200

probe http HTTP-Server2

interval 15

passdetect interval 2

request method get url /maintenance.htm

expect status 200 200

Thanks.

3 Replies 3

litrenta
Level 3
Level 3

if you are looking at content for maintenance and online you need to do 2 things

1. make sure server uses content length header in reply to probe

2. construct probe to look for content as the criteria for probe success or failure so probe would be:

probe http HTTP-Server1

interval 15

passdetect interval 2

request method get url /maintenance.htm

expect regex "online"

if content does not have online probe will fail new connections would go to other server existing connections will be maintained.

Regards

I'm looking to do something very similar, but I have sticky configured and I need this to happen without dropping the end users connections.  Is there something special I need to configure along with the probes to allow my sticky connection to be sent to another server.  If they do get sent to another server is the end user going to be impacted.

The only way to do this is to use the "inservice standby" command.