Dell 3-DNS Spezifikationen Seite 146

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 426
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 145
Chapter 4: Configuring the High-Level Network
4-66
Cache rule
Figure 4.34 shows an example of a rule that you can use to send cache
content, such as .gifs, to a specific pool.
AOL rule
Figure 4.35 is an example of a rule that you can use to load balance
incoming AOL connections.
if ( http_uri ends_with "gif" or
http_uri ends_with "html" ) {
use ( cache_pool )
}
else {
use ( server_pool )
}
Figure 4.34 An example of a cache rule
port 80 443 enable
pool aol_pool {
min_active_members 1
member 12.0.0.31:80 priority 4
member 12.0.0.32:80 priority 3
member 12.0.0.33:80 priority 2
member 12.0.0.3:80 priority 1
}
pool other_pool {
member 12.0.0.31:80
member 12.0.0.32:80
member 12.0.0.33:80
member 12.0.0.3:80
}
pool aol_pool_https {
min_active_members 1
member 12.0.0.31:443 priority 4
member 12.0.0.32:443 priority 3
member 12.0.0.33:443 priority 2
member 12.0.0.3:443 priority 1
}
pool other_pool_https{
member 12.0.0.31:443
member 12.0.0.32:443
member 12.0.0.33:443
member 12.0.0.3:443
}
rule aol_rule {
if (client_addr equals one of aol) {
use ( aol_pool )
}
else {
use ( other_pool)
}
}
Figure 4.35 An example of an AOL rule
Seitenansicht 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 425 426

Kommentare zu diesen Handbüchern

Keine Kommentare