beautypg.com

Configuring the smooth factor, Configuring the, Smooth factor – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 41: Dynamic-weighted direct, Dynamic-weighted reverse

background image

Brocade Virtual ADX Server Load Balancing Guide

25

53-1003247-01

Changing the Load-Balancing Predictor Method

2

Dynamic-weighted direct

To configure a dynamic-weighted reverse predictor, use the following command.

Virtual ADX(config-vs-vs1)#predictor dynamic-weighted direct oid 1

Syntax: predictor dynamic-weighted direct oid ID

Configuration example

server virtual-name-or-ip vs1 10.1.1.151

predictor dynamic-weighted direct oid 1

port http

bind http rs1 http rs2 http rs3 http

Dynamic-weighted reverse

To configure a dynamic-weighted reverse predictor, use the following command.

Virtual ADX(config-vs-vs1)#predictor dynamic-weighted reverse oid 1 max 50

Syntax: predictor dynamic-weighted reverse oid ID [max value]

NOTE

The max value option subtracted from the reverse weight is equal to the direct weight.

Configuration example

Virtual ADX(config)#server snmp-poll 5

Virtual ADX(config)#server real rs1 10.1.1.1

snmp-request community public port 161

snmp-request oid 1 1.3.6.1.2.1.25.3.3.1.2.1

snmp-request oid 2 1.3.6.1.2.1.1.3.0

port http

port http keepalive

Virtual ADX(config)#server virtual vs1 10.200.1.1

predictor dynamic-weighted direct oid 1

Configuring the smooth factor

This section applies to the server response time load balancing method.

The Brocade Virtual ADX calculates the server response time value for a real server by regularly
collecting response time samples, then using a calculation to smooth the values of the samples
and derive a single response time value for the real server. The Brocade Virtual ADX relies on the
health-check traffic to sample the response time. As the default interval of health checks to real
servers is five seconds, the Brocade Virtual ADX collects the response time samples for every five
seconds. The sampling rate can vary slightly depending on the processing the Brocade Virtual ADX
is performing.