Extreme Networks Px Series manual Learned Cookie Persistence Mode

Page 68

The client transmits its first TCP request (A) to www.mybank.com at its publicly-known VIP address, 64.1.1.7.

The Px series application switch responds (B) on behalf of 64.1.1.7, and the three-way TCP handshake is established between the client and the Px series application switch.

Using its configured load balancing policy, the Px series application switch selects one of the web servers. In this example, server 1.

A three-way TCP handshake is established between the Px series application switch

(C) and server 1 (D).

The application switch forwards the first data request (E) from the client to server 1.

Server 1 sends a cookie to the client (via the application switch) (F). The cookie contains unique identifying information for this client session. For example, the cookie could contain the username:

user=samsmith96754

Each subsequent request sent from the client to the website contains the cookie.

The client sends another data request to the website (via the application switch).

The application switch examines the cookie and performs a mathematical hash operation on the cookie, rendering a numeric value.

The selected server may or may not be the same server that provided the client cookie.

The application switch examines the cookie, performs the same mathematical hash on the cookie, renders the same numeric value each time, and sends each subsequent request from this client to server 3.

Learned Cookie Persistence Mode

Using learned cookie persistence, the Px series application switch creates a database that stores historical information about each session. The database contains the following information:

Cookie

Source IP address

Destination VIP address

Real server IP address

The application switch uses the stored information to match the incoming cookie with the previous connection made by the same client.

6-10

Px Series Application Switch Installation and Configuration Guide

Image 68
Contents Published April Part number 100101-00 Rev Page Contents Installing the PxM Application Switch Module Configuring Servers and Services Index Index of Commands Preface IntroductionConventions Text ConventionsIcon Alerts you to Convention DescriptionRelated Publications Preface Server Load Balancing Concepts Purpose of Server Load BalancingTerms 1Conceptual view of server load balancingLoad Balancing Modes Layer 4 Load BalancingLayer 7 Load Balancing and Content Analysis 2Single client-server transaction using layer3Establishing a layer 7 request Getting Started on Load Balancing Configuration Port RewriteGetting Started on Load Balancing Configuration Page SummitPx1 Front View Installing the SummitPx1 Application SwitchOverview of the SummitPx1 Application Switch 1Px series application switch LEDs Color IndicatesSummitPx1 Application Switch Rear View Signal Description2DB-9 Adapter Pinouts To DB-9Rack Mounting Installing the SummitPx1 Application SwitchDetermining the Location Powering On the SummitPx1 Free-StandingSetting Up Console Communication Configuring Switch IP Parameters Configuring the 10/100 Ethernet Management Port Installing the PxM Application Switch Module Installing I/O ModulesRemoving I/O Modules Removing I/O Modules Page Managing the Switch Using the Command-Line Interface Abbreviated Syntax and Command CompletionSyntax Symbols 1Command Syntax SymbolsSymbol Description Line-Editing KeysSpecifying Text Values 2Line-Editing KeysPrompt Text Configuring Management AccessCommand History Changing the Default Passwords Creating Accounts Modifying AccountsCommand Description Managing the PxMConfiguring VLANs Configuring Snmp 4SNMP Configuration SettingsSetting Description System ContactConfiguring DNS Client Services SettingDescriptionUsing Secure Shell 2 SSH2 5DNS Client Configuration CommandsEnabling SSH2 for Inbound Switch Access Config ssh2 keyUsing SCP2 from an External SSH2 Client SSH2 Client Functions on the Switch Checking Basic Connectivity UtilitiesShowing CPU Load Logging Configuring a Startup Banner Message Starting the GlobalPx Content Director AgentExample Configuration Internet DNS serverFollowing commands configure all system-related facilities Page Configuring Servers and Services Configuring Real ServersConfiguring Server Groups Configuring Virtual Services Layer 7 Virtual Services Layer 4 Port-based Load BalancingConfiguring Traffic Tagging Tag Specification Description Tag Range Configuration Example1Tag Specifications Configuration Example Page Choosing Policies, Persistence Modes, and NAT Scheduling PoliciesSpecifier Policy Description Persistence Modes1Scheduling Policies Client IP Persistence Mode UDP Flow Persistence1Client IP persistence mode Configuring Client IP Stickiness Cookie Persistence Modes2Self-identifying cookie persistence mode Persistence Modes Hashed Cookie Persistence Session Learned Cookie Persistence Mode 4Learned cookie persistence mode Configuring Cookie Stickiness SSL Session Identifier Persistence Full-NAT Mode NAT ModesServer-only Half-NAT Mode Configuring Full-NAT Mode and Proxy IP AddressesConfiguring Half-NAT Mode Config source-flow name next-hop gateway-mode ip Real Syslog server SummitPx1 Configuration Example Page URL Switching Domain and URL SwitchingDomain Switching 1Typical switching scenario2Domain switching example Configuring URL Switching URL Switching3Simple URL switching example 4More Complicated URL switching example 5Hierarchical approach to pattern rules Wildcard Example Definition Creating Domain and URL Switching Rules1Wildcard Combinations Modifying Existing URL Rules and Domains Application Servers Management net Configuration Example Page Configuring Redundancy Using Vrrp with the SummitPx1Adding and Configuring VRRPs Give backup systems lower prioritiesUsing Vrrp in Existing Redundant Networks 1Application switch using multiple VLANs Vrrp Automatic SynchronizationFollowing commands can be passed from master to backup Configuring Redundancy for the PxM Using Esrp with the PxMConfiguring the PxM for Multiple VLANs For SW2Configuring a Default Gateway Health Checks OverviewServer Startup Pacing Health Checking Procedure Types of Health Checks Configuring Health ChecksTimers and Counters You can disable health checks for a server group Page Showing Traffic Statistics Monitoring the Switch1Statistics Display Commands Displays packet-level counters for Showing Configuration Details 2Configuration Display CommandsConfiguration Displays Status Displays SummitPx128 # show server detailsShow health Information Column DescriptionManaging and Troubleshooting Operation 5Management and Troubleshooting CommandsCommandDescription Index EsrpHttp GET AUX Page Index of Commands