Dell 3-DNS Spezifikationen Seite 145

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 426
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 144
Rules
BIG-IP® Reference Guide 4-65
Additional rule examples
This section contains additional examples of rules including:
Cookie rule
Language rule
Cache rule
AOL rule
Protocol specific rule
Cookie rule
Figure 4.32 shows a cookie rule that load balances based on the user ID that
contains the word VIRTUAL.
Language rule
Figure 4.33 shows a rule that load balances based on the language requested
by the browser.
if ( exists http_cookie "user-id" and
http_cookie "user-id" contains "VIRTUAL" ) {
use ( virtual_pool )
}
else {
use ( other_pool )
}
Figure 4.32 Cookie rule example
if ( exists http_header "Accept-Language" ) {
if ( http_header "Accept-Language" equals "fr" ) {
use ( french_pool )
}
else if ( http_header "Accept-Language" equals "sp" ) {
use (spanish_pool )
}
else {
use ( english_pool )
}
Figure 4.33 Sample rule that load balances based on the language
requested by the browser
Seitenansicht 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 425 426

Kommentare zu diesen Handbüchern

Keine Kommentare