Dell 3-DNS Especificaciones Pagina 145

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 426
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 425 426

Comentarios a estos manuales

Sin comentarios