ACE - Weight

Answered Question
May 26th, 2009
User Badges:

Hi,

i have a Serverfarm with 2 Real Servers configured with RoundRobin Load-Balancing.

Now i want the traffic distributed to the same rserver all the time, except the probe failed.

Can i just turn up the weight to 100 for one rserver to stick the traffic to it?







Correct Answer by ciscocsoc about 8 years 1 month ago

No.


You either need to define a backup rserver in your serverfarm:


serverfarm host FARM-sql1-Mirror

description SQL Serverfarm Mirror

probe PROBE-sql

rserver sql1-Mirror

backup-rserver sql1-Node2

inservice

rserver sql1-Node2

inservice standby


or define two serverfarms - one server in each and then use one as a backup serverfarm:


serverfarm host FARM-web2-Master

probe PROBE-web2

rserver cc250-master

inservice

serverfarm host FARM-web2-Slave

probe PROBE-web2

rserver cc250-slave

inservice


policy-map type loadbalance first-match LB-POLICY

class class-default

serverfarm FARM-web2-Master backup FARM-web2-Slave


Which you choose is down to personal preference and if you need to be able to use more than one server in future.


HTH


Cathy

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
ciscocsoc Tue, 05/26/2009 - 01:39
User Badges:
  • Silver, 250 points or more

No.


You either need to define a backup rserver in your serverfarm:


serverfarm host FARM-sql1-Mirror

description SQL Serverfarm Mirror

probe PROBE-sql

rserver sql1-Mirror

backup-rserver sql1-Node2

inservice

rserver sql1-Node2

inservice standby


or define two serverfarms - one server in each and then use one as a backup serverfarm:


serverfarm host FARM-web2-Master

probe PROBE-web2

rserver cc250-master

inservice

serverfarm host FARM-web2-Slave

probe PROBE-web2

rserver cc250-slave

inservice


policy-map type loadbalance first-match LB-POLICY

class class-default

serverfarm FARM-web2-Master backup FARM-web2-Slave


Which you choose is down to personal preference and if you need to be able to use more than one server in future.


HTH


Cathy

Actions

This Discussion