Extreme Networks Px Series manual 2Domain switching example

Page 81

www.speakyourmind.net

192.1.1.1:80 Client

Figure 7-2:Domain switching example

Domain and URL Switching

Server Group 1

www.buystuff.com

Server Group 2

www.speakyourmind.net

Server Group 3

www.buythisnow.net

WS_006

The Px series application switch uses a single VIP, located at 192.1.1.1:80, to service all three domains.

When the client request arrives, the application switch examines the request to determine the domain name being requested. In Figure 7-2, the domain name requested is www.speakyourmind.net.

Using domain name switching, the application switch matches the domain name to server group 2. The application switch then uses the configuring server load balancing policy (round robin, weighted round robin, least connections, or weighted least connections) to select a particular server within the server group. The request is then forwarded to the selected server in server group 2.

The following configuration shows the commands used to configure the combination of the three websites. Another server group, mainpage, contains a page that allows the user to self-select, just in case the domain specified by the user does not match either of the three. This could happen, for example, if the actual IP address is used instead of a host name.

config service vip 10.65.31.202 port 8080 proto tcp l7 class http

Px Series Application Switch Installation and Configuration Guide

7-3

Image 81
Contents Published April Part number 100101-00 Rev Page Contents Installing the PxM Application Switch Module Configuring Servers and Services Index Index of Commands Introduction PrefaceText Conventions ConventionsIcon Alerts you to Convention DescriptionRelated Publications Preface Purpose of Server Load Balancing Server Load Balancing Concepts1Conceptual view of server load balancing TermsLayer 4 Load Balancing Load Balancing Modes2Single client-server transaction using layer Layer 7 Load Balancing and Content Analysis3Establishing a layer 7 request Port Rewrite Getting Started on Load Balancing ConfigurationGetting Started on Load Balancing Configuration Page Installing the SummitPx1 Application Switch Overview of the SummitPx1 Application SwitchSummitPx1 Front View Color Indicates 1Px series application switch LEDsSignal Description SummitPx1 Application Switch Rear View2DB-9 Adapter Pinouts To DB-9Installing the SummitPx1 Application Switch Determining the LocationRack Mounting Free-Standing Powering On the SummitPx1Setting Up Console Communication Configuring Switch IP Parameters Configuring the 10/100 Ethernet Management Port Installing I/O Modules Installing the PxM Application Switch ModuleRemoving I/O Modules Removing I/O Modules Page Managing the Switch Abbreviated Syntax and Command Completion Using the Command-Line InterfaceSyntax Symbols 1Command Syntax SymbolsLine-Editing Keys Symbol DescriptionSpecifying Text Values 2Line-Editing KeysConfiguring Management Access Command HistoryPrompt Text Changing the Default Passwords Modifying Accounts Creating AccountsManaging the PxM Command DescriptionConfiguring VLANs 4SNMP Configuration Settings Configuring SnmpSetting Description System ContactSettingDescription Configuring DNS Client Services5DNS Client Configuration Commands Using Secure Shell 2 SSH2Config ssh2 key Enabling SSH2 for Inbound Switch AccessUsing SCP2 from an External SSH2 Client SSH2 Client Functions on the Switch Utilities Showing CPU LoadChecking Basic Connectivity Logging Starting the GlobalPx Content Director Agent Configuring a Startup Banner MessageInternet DNS server Example ConfigurationFollowing commands configure all system-related facilities Page Configuring Real Servers Configuring Servers and ServicesConfiguring Server Groups Configuring Virtual Services Layer 4 Port-based Load Balancing Layer 7 Virtual ServicesConfiguring Traffic Tagging Configuration Example 1Tag SpecificationsTag Specification Description Tag Range Configuration Example Page Scheduling Policies Choosing Policies, Persistence Modes, and NATPersistence Modes 1Scheduling PoliciesSpecifier Policy Description UDP Flow Persistence Client IP Persistence Mode1Client IP persistence mode Cookie Persistence Modes Configuring Client IP Stickiness2Self-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 NAT Modes Full-NAT ModeConfiguring Full-NAT Mode and Proxy IP Addresses Server-only Half-NAT ModeConfiguring Half-NAT Mode Config source-flow name next-hop gateway-mode ip Real Syslog server SummitPx1 Configuration Example Page Domain and URL Switching URL Switching1Typical switching scenario Domain Switching2Domain switching example URL Switching Configuring URL Switching3Simple URL switching example 4More Complicated URL switching example 5Hierarchical approach to pattern rules Creating Domain and URL Switching Rules 1Wildcard CombinationsWildcard Example Definition Modifying Existing URL Rules and Domains Application Servers Management net Configuration Example Page Using Vrrp with the SummitPx1 Configuring RedundancyGive backup systems lower priorities Adding and Configuring VRRPsUsing Vrrp in Existing Redundant Networks Vrrp Automatic Synchronization 1Application switch using multiple VLANsFollowing commands can be passed from master to backup Using Esrp with the PxM Configuring Redundancy for the PxMFor SW2 Configuring the PxM for Multiple VLANsConfiguring a Default Gateway Overview Health ChecksServer Startup Pacing Health Checking Procedure Configuring Health Checks Timers and CountersTypes of Health Checks You can disable health checks for a server group Page Monitoring the Switch 1Statistics Display CommandsShowing Traffic Statistics Displays packet-level counters for 2Configuration Display Commands Showing Configuration DetailsConfiguration Displays SummitPx128 # show server details Status DisplaysColumn Description Show health Information5Management and Troubleshooting Commands Managing and Troubleshooting OperationCommandDescription Esrp IndexHttp GET AUX Page Index of Commands