Extreme Networks Px Series manual Configuring URL Switching

Page 82

config domain name buystuff.com

config pattern-rule default server-group-name buystuff config domain name www.buystuff.com

config pattern-rule default server-group-name buystuff config domain name speakyourmind.com

config pattern-rule default server-group-name speakyourmind config domain name www.speakyourmind.com

config pattern-rule default server-group-name speakyourmind config domain name buythisnow.com

config pattern-rule default server-group-name buythisnow config domain name www.buythisnow.com

config pattern-rule default server-group-name buythisnow config domain default

config pattern-rule default server-group-name mainpage

URL Switching

URL switching takes the concept of domain name switching one step further by looking deeper into the request. In addition to examining the domain name, the Px series application switch examines the entire requested URL and matches it against a list of pattern rules. Each of the pattern rules has its own associated server group.

URL switching allows you to control where traffic is sent based on the exact web object a client is requesting. URL switching provides high flexibility and scales to meet your needs. You can add, move, and change resources without changing links or reconfiguring web servers.

Configuring URL Switching

Using URL switching, you can split your site into multiple groups of servers and add rules to the application switch that directs traffic in the correct direction.

For example, as shown in Figure 7-3, a user might want to visit www.buystuff.com. During the initial visit, the user simply requests www.buystuff.com. This request returns a home page, such as /index.html. Subsequent clicks made by the user result in requests for pages, such as www.buystuff.com/stereos or www.buystuff.com/dvds.

7-4

Px Series Application Switch Installation and Configuration Guide

Image 82
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 IntroductionIcon Alerts you to ConventionsText Conventions 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 Overview of the SummitPx1 Application Switch Installing the SummitPx1 Application SwitchSummitPx1 Front View 1Px series application switch LEDs Color Indicates2DB-9 Adapter Pinouts SummitPx1 Application Switch Rear ViewSignal Description To DB-9Determining the Location Installing the SummitPx1 Application SwitchRack Mounting 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 Syntax Symbols Using the Command-Line InterfaceAbbreviated Syntax and Command Completion 1Command Syntax SymbolsSpecifying Text Values Symbol DescriptionLine-Editing Keys 2Line-Editing KeysCommand History Configuring Management AccessPrompt Text Changing the Default Passwords Creating Accounts Modifying AccountsCommand Description Managing the PxMConfiguring VLANs Setting Description System Configuring Snmp4SNMP Configuration Settings 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 Showing CPU Load UtilitiesChecking Basic Connectivity 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 1Tag Specifications Configuration ExampleTag Specification Description Tag Range Configuration Example Page Choosing Policies, Persistence Modes, and NAT Scheduling Policies1Scheduling Policies Persistence ModesSpecifier Policy Description 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 1Wildcard Combinations Creating Domain and URL Switching RulesWildcard Example Definition 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 Timers and Counters Configuring Health ChecksTypes of Health Checks You can disable health checks for a server group Page 1Statistics Display Commands Monitoring the SwitchShowing Traffic Statistics 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