cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
560
Views
0
Helpful
1
Replies

Website loadbalancing failure - Error page?

networker99
Level 1
Level 1

We currently have a Cisco ACE 4710 that has a server farm load balancing a webpage.  Is there anyway for the ACE to present a custom error page if all servers in the farm is unavailable, or would I have to create a 3rd server entry and make it a redirect to another website?

1 Reply 1

UHansen1976
Level 1
Level 1

Hi,

One option would be configuring a specific serverfarm to which you can redirect requests, if the primary serverfarms fails or the associated probe receives an undesired responsecode (eg. 500). Could look something like this:

probe type http CHK_WEB

  request method get url /[string]

  expect status 200 200

rserver WEB_SRV_A

  ip addr x.x.x.x

  inser

rserver WEB_SRV_B

  ip addr y.y.y.y

  inser

rserver OUT_OF_SRVC

  ip addr z.z.z.z

  inser

serverfarm host SFARM_WEB

  probe CHK_WEB

  rserver WEB_SRV_A [dst.port]

    inser

  rserver WEB_SRV_B [dst.port]

    inser

serverfarm host OUT_OF_SRVC

  rserver OUT_OF_SRVC [dst.port]

    inser

policy-map type loadbalance first-match PMAP_LB_WEB

  class [class-name]

    serverfarm SFARM_WEB backup OUT_OF_SRVC

Don't know if this is what you're looking for, but maybe it'll do.

hth

/Ulrich

Review Cisco Networking for a $25 gift card