beautypg.com

Auto download of pbslb list – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 119

background image

Brocade Virtual ADX Server Load Balancing Guide

103

53-1003247-01

Policy-based SLB

2

Command line interface
There are three steps to enable this feature.

1. Create a PBSLB failsafe group ID.

2. Assign real server ports to a failsafe group.

3. Enable PBSLB on a VIP port.

Creating a PBSLB failsafe group
To create a PBSLB failsafe group, enter a command such as the following.

Virtual ADX(config)#server pbslb failsafe-group-id ipv4 2

Syntax: [no] server pbslb failsafe-group-id ipv4 group-id

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

Assigning real server ports to a failsafe group
A failsafe group can contain one or more real servers. If there is more than one real server in a
failsafe group, requests are load balanced across all the servers in the group. To assign real
servers to the failsafe group, enter commands such as the following.

Virtual ADX(config)#server real-name rs1 10.95.7.1

Virtual ADX(config-rs-rs1)#port http group-id 2 2

Virtual ADX(config-rs-rs1)#exit

Enabling PBSLB on a VIP port
To enable PBSLB on a VIP port, enter commands such as the following.

Virtual ADX(config)#server virtual-name-or-ip mysite 10.157.22.63

Virtual ADX(config-vs-mysite)#port http

Virtual ADX(config-vs-mysite)#port http sw-l4-pbslb

Virtual ADX(config-vs-mysite)#bind http rs1 http

Using show commands
To view the number of requests forwarded to the failsafe server group, enter the following
command.

Virtual ADX#show pblsb failsafe ipv4

Syntax: show pbslb failsafe ipv4

To clear the PBSLB failsafe counter, enter the following command.

Virtual ADX#clear pbslb failsafe

Syntax: clear pbslb failsafe

Auto Download of PBSLB list

Policy Based Load Balancing (PBSLB) Auto Download allows you to automatically download a list of
policies to the Brocade Virtual ADX at a scheduled interval or a specific time of day. This
automation precludes the need to write scripts and cron jobs. Using PSLB Auto Download, you can
regularly upload an updated PBSLB list to the Brocade Virtual ADX on a pre-determined schedule.