Configuring dynamic weighted predictor – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 40
![background image](/manuals/361724/40/background.png)
24
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Changing the Load-Balancing Predictor Method
2
If you enter a value for response-time-weight, the Brocade Virtual ADX adds the two weight values
together when selecting a real server. If you specify equal values for each parameter, the Brocade
Virtual ADX treats the weights equally. The number of connections on the server is just as relevant
as the server’s response time. However, if you set one parameter to a higher value than the other,
the Brocade Virtual ADX places more emphasis (weight) on the parameter with the higher value.
For example, if you specify a higher server response time weight than the weight for the number of
connections, the Brocade Virtual ADX pays more attention to the server’s response time than to the
number of connections it currently has when considering the real server for a new connection.
Configuring dynamic weighted predictor
This section contains the following sections:
•
“Configuring a real server with SNMP query requirements”
•
“Configuring a virtual server with a dynamic weighted predictor”
Configuring a real server with SNMP query requirements
A list of the SNMP Object ID (OID) can be configured under a real server. An OID represents the
weight of the real server, for example server CPU utilization or its memory usage.
To configure SNMP query requirements use the following command.
Virtual ADX(config-rs-rs1)#snmp-request oid 1 1.3.6.1.2.1.25.3.3.1.2.1
Syntax: snmp-request oid ID string
The ID variable specifies the snmp-request entry identification, decimal value 1 - 256
The string variable specifies the ASCII string ASN.1 format - 1.3.6.1.2.1.25.3.3.1.2.1
SNMP versions 1 and 2 use community strings to restrict SNMP access. The administrator must
configure an SNMP community string to match with those configured in all the real servers.
Virtual ADX(config-rs-rs1)#snmp-request community public
Syntax: snmp-request community string [ port number ]
The string variable is the SNMP community string. Enter a string with a maximum of 32 characters.
The port port option specifies the snmp-request host UDP port (Default: port 161).
You can configure the frequency of the periodic SNMP queries using the following command.
Virtual ADX(config)#server snmp-poll 5
Syntax: server snmp-poll num
The num variable specifies the decimal value in seconds (Default: 3 sec.)
Configuring a virtual server with a dynamic weighted predictor
Select a dynamic-weighted direct or reverse predictor and an SNMP OID.