03-30-2011 07:21 AM
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.
03-30-2011 07:41 AM
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
04-03-2011 03:15 PM
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.
04-04-2011 05:32 AM
The only way to do this is to use the "inservice standby" command.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide