+ All Categories
Home > Documents > Understanding Standby Control and Load Balancing for IBM ...

Understanding Standby Control and Load Balancing for IBM ...

Date post: 18-Dec-2021
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
33
IBM Software Group ® WebSphere ® Support Technical Exchange Understanding Standby Control and Load Balancing for IBM WebSphere DataPower SOA Appliance Clarissa Brown ([email protected]) Daniel Dickerson ([email protected]) WebSphere DataPower Support 10 August 2010
Transcript
Page 1: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

®

WebSphere® Support Technical Exchange

Understanding Standby Control and Load Balancing for IBM WebSphere DataPower SOA ApplianceClarissa Brown ([email protected])Daniel Dickerson ([email protected])WebSphere DataPower Support10 August 2010

Page 2: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 2 of 33

Agenda

Standby ControlSelf-Balancing

Load Balancer GroupsIntelligent load distribution

Page 3: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 3 of 33

Standby Group Overview / Configuration

Collection of ethernet interfaces on different appliances that share responsibility for one virtual IP address (VIP)

Basic Requirements:Must be on same network segment

Must be configured with same VIP, group number, and authentication token

Page 4: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 4 of 33

Configuration continued...Restrictions:

Multiple interfaces on an appliance can NOT be defined in the same standby group

MUST be defined with unique priority numbers

Page 5: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 5 of 33

Functionality Operates in active/standby mode

Interface with the highest priority will be the active member

Allows for interface failover to another device

Page 6: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 6 of 33

Eth1 - BoxAIP address: 10.19.0.5/23Priority: 100

Virtual IP address: 10.19.0.1

Eth1 - BoxBIP address: 10.19.0.15/23Priority: 90

Active Passive

Connections

Standby Group Example

Page 7: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 7 of 33

Eth1 - BoxAIP address: 10.19.0.5/23Priority: 100

Virtual IP address: 10.19.0.1

Eth1 - BoxBIP address: 10.19.0.15/23Priority: 90

ActiveDown

Connections

Standby Group Example

Page 8: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 8 of 33

Most Common Problem

Pings or connections to the Virtual IP address (VIP) may timeout or become unresponsive

Problem Symptoms:

Ethernet interfaces switch between Active and Standby state every few seconds

Both interfaces flagged as Active

• Use CLI command 'show standby' to verify active/standby status

Page 9: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 9 of 33

Best Practices to help avoid problem Ensure all basic configuration steps were followed (See DataPower

Administrator's Guide)

Additional configuration tips are recommended:

• Enable Spanning Tree PortFast (or Rapid Spanning Tree) on all switches connected to the DataPower appliances

• Standby group number should be a high value (> 20)

• See Technote 1423478 - Standby Control not working correctly on IBM® WebSphere DataPower SOA Appliance

http://www-01.ibm.com/support/docview.wss?uid=swg21420179

Page 10: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 10 of 33

Self-balancing Overview

Allows two or more DataPower appliances to distribute connections amongst members within a standby group

Requires the Application Optimization (AO) licensed feature

Owner of the VIP (active) is the 'distributor' or 'forwarder' of the connections

If a standby device takes over and becomes active, it becomes the forwarder

Page 11: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 11 of 33

Overview continued... All members in the group learn about all services on each device

Connections are forwarded based on service weights

Service weights can be 0 if the appliance is:running at 100% CPU

lost connectivity (i.e pulled Ethernet cable)

Ports go down

Page 12: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 12 of 33

Enable/Disable Self-Balancing

Must be enabled on ALL devices within the standby group!!

Page 13: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 13 of 33

Self-Balancing Example

Page 14: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 14 of 33

Self-Balanced Service StatusCLI: show self-balanced-status

Local Self-Balanced ServicesCLI: show local-self-balanced-services

Status Examples

Page 15: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 15 of 33

Common Problem All weights are zeroes for services on a standby device

Verify communication between the devices

Verify available resources (cpu, memory)

Ensure all configuration steps recommended for Standby Group are set

Collect packet capture, internal state error report with debug log level, CLI self-balanced status commands

Page 16: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 16 of 33

Agenda

Standby ControlSelf-Balancing

Load Balancer GroupsIntelligent load distribution

Page 17: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 17 of 33

Load Balancer Group Overview / Config

What is a Load Balancer Group for DataPower?

A load balancer group is a server pool that can provide redundancy among a collection of servers.

Used as the remote server to share load across backend servers or as failover support.

Page 18: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 18 of 33

Load Balancer Groups

Load Balancer Algorithms

First alive Hash Least connections Round robin Weighted least connections (AO Only) Weighted round robin

Page 19: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 19 of 33

Load Balancer Groups

Configuration

Under Objects ->

Network ->

Other ->

Load Balancer Group

Page 20: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 20 of 33

Load Balancer Groups

Membership - Static or Dynamic

Static membership

Dynamic membership

Page 21: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 21 of 33

Load Balancer Groups

Adding static members:

Click the Members tab.

Page 22: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 22 of 33

Load Balancer Groups

Health checks

What do health checks accomplish?

What are the 3 Health States?

Page 23: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 23 of 33

Load Balancer Groups

Best practices

Consider the type of traffic

Evaluate tradeoff between speed vs. intelligence

Consider the capacity of the backend

Page 24: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 24 of 33

Load Balancer Groups

Common issues

Health Check failing

Actual Port different than expected

Timeout considerations

Page 25: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 25 of 33

Intelligent load distribution using Option for Application Optimization feature

What is Intelligent Load Distribution?

How do you implement it?

Dynamic Configuration

Page 26: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 26 of 33

Configuration

Install, configure, and start the ODCInfo application on the deployment manager of the WebSphere cell.

Modifying to use workload management

Intelligent load distribution using Option for Application Optimization feature

Page 27: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 27 of 33

Configuration

Weighted least connections

Session AffinityPassiveActive-ConditionalActive

Intelligent load distribution using Option for Application Optimization feature

Page 28: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 28 of 33

Intelligent load distribution using Option for Application Optimization feature

Best practices

Advantages for WebSphere Servers

Advantages for Non-WebSphere servers

Page 29: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 29 of 33

Intelligent load distribution using Option for Application Optimization feature

Common issues

ODCInfo not updating

Page 30: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 30 of 33

Summary

Standby Group & Self-Balancing OverviewConfiguration / Functionality / Example

Common Problem / Solution

Load Balancer Group & Intelligent Load DistributionConcepts / Configuration

Common Issues / Best Practices

Page 31: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 31 of 33

Additional WebSphere Product Resources Learn about upcoming WebSphere Support Technical Exchange webcasts, and access

previously recorded presentations at:http://www.ibm.com/software/websphere/support/supp_tech.html

Discover the latest trends in WebSphere Technology and implementation, participate in technically-focused briefings, webcasts and podcasts at: http://www.ibm.com/developerworks/websphere/community/

Join the Global WebSphere Community: http://www.websphereusergroup.org

Access key product show-me demos and tutorials by visiting IBM Education Assistant: http://www.ibm.com/software/info/education/assistant

View a webcast replay with step-by-step instructions for using the Service Request (SR) tool for submitting problems electronically: http://www.ibm.com/software/websphere/support/d2w.html

Sign up to receive weekly technical My Notifications emails: http://www.ibm.com/software/support/einfo.html

Page 32: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 32 of 33

We Want to Hear From You!

Tell us about what you want to learn

Suggestions for future topicsImprovements and comments about our webcasts

We want to hear everything you have to say!

Please send your suggestions and comments to: [email protected]

Page 33: Understanding Standby Control and Load Balancing for IBM ...

IBM Software Group

WebSphere® Support Technical Exchange 33 of 33

Questions and Answers


Recommended