cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
0
Helpful
2
Replies

Server farm weights or backup? Best way to display Maintenance Page

Darren Strunk
Level 1
Level 1

My scenario is simple: two webservers round robin. We want to have a third server host a Site Maintenance Page if both servers are down. What's the best way to configure this?

2 Replies 2

cstockwe
Level 1
Level 1

I create a redirect rserver, apply that to a farm, then use that farm as backup. Not sure if it is the 'best way' but it works for me.

See below:

rserver redirect sorryredirection

webhost-redirection http://whatever/sorry.html

inservice

serverfarm redirect sorryredirectfarm

rserver sorryredirection

inservice

policy-map type loadbalance first-match www-balance

class class-default

serverfarm farm1 backup sorryredirectfarm

Hope that helps.

Cameron

dblack
Level 1
Level 1

As long as you're not using sticky, I would suggest using a backup serverfarm configured at the layer 7 policy map.

policy-map type loadbalance first-match L7_HTTP_POLICY

class class-default

serverfarm PRIMARY_SERVERFARM backup BACKUP_SERVERFARM