beautypg.com

Configuring a policy list – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 113

background image

Brocade Virtual ADX Server Load Balancing Guide

97

53-1003247-01

Policy-based SLB

2

When a request from a different address is received, because it does not have an entry in the
policy list, it is forwarded to one of the load-balanced real servers in the default server group,
which is specified as group 3.

NOTES:

Policy-based SLB is enabled for individual ports on virtual servers.

Because policy-based SLB is enabled on a per-VIP basis, some VIPs configured on the
Brocade Virtual ADX can have policy-based SLB enabled, while others do not.

Policy-based SLB can exist on a standalone device or in a Hot Standby high-availability
configuration.

Policy-based SLB cannot coexist on the same VIP with Layer 7 switching features,
including URL switching and cookie switching.

Configuring a policy list

A policy list can be created in two ways depending on the number of policies being defined:

If the number of policies is small, you can create the policy list file using the CLI. Refer to

“Creating the policy list using the CLI.”

If the number of policies is large, you can download the policy list file from a TFTP server. Refer
to

“Creating the policy list file to dynamically download from a TFTP server.”

Creating the policy list using the CLI
The following command can be used to add policies.

Virtual ADX(config)#server pbslb add 10.10.10.10 1

Syntax: server pbslb add ipv4-addr {prefix | netmask [server-group-id]

The ipv4-addr variable can be a complete host address, or a network address followed by IPv4
mask bits. You must specify either a prefix or a netmask.

The server-group-id variable is alphanumeric and refers to one of the real server groups configured
on the Brocade Virtual ADX.

For the example shown in

“Policy-based SLB configuration”

on page 96, the policies can be added

as shown in the following.

Virtual ADX(config)#server pbslb add 10.10.10.10 1

Virtual ADX(config)#server pbslb add 20.20.0.0/16 2

Creating the policy list file to dynamically download from a TFTP server
To dynamically download a policy list file from a TFTP server, it must be a flat ASCII text file that
consists of one or more policy-based SLB entries configured in the following format.

ip-addr [network-mask] [server-group-id]

The ip-addr variable can be a complete host address, or a network address followed by IP mask
bits.

The server-group-id variable is alphanumeric and refers to one of the real server groups configured
on the Brocade Virtual ADX.