Coyote Point Systems Equalizer Spezifikationen Seite 323

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 594
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 322
Some function arguments can take the form of a regular expression
1
. Note that you cannot put regular
expressions.
Matching regular expressions (using *_regex() functions) is many times more
processing-intensive than using other match functions. It is usually possible to
avoid using regular expressions by carefully crafting match expressions using
other functions. For example, the following regular expression match:
dirname_regex("(two|four|six|eight)")
Can be replaced by the more efficient:
dirname_substr("two") ||
dirname_substr("four") ||
dirname_substr("six") ||
dirname_substr("eight")
Match Bodies
Match
bodies
specify the actions to take if the match expression selects the request. This is specified in the form
of statements that provide values to variables used by the load balancer to process the request. The most
common (and most useful) match body selects the set of servers (server pool) over which to apply the load
balancing.
The servers assignment statement takes a comma-separated list of server names, which specifies the set of
servers to be used for load balancing all requests that match the expression in the match rule. The reserved server
names all and none specify respectively the set of
all
servers in the virtual cluster and
none
of the servers in the
virtual cluster. If you do not assign servers, none will be available for load balancing; as a result, the connection to
the client will be dropped.
In general, you can override most cluster-specific variables in a match body. One useful example of overriding
variables is as follows:
flags =!once_only;
which would load-balance across the specified server pool (which first must be defined in the virtual cluster) and
also turn off the once_only flag for the duration of processing of that connection.
1
Regular expressions are specified according to IEEE Std 1003.2 (“POSIX.2”).
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
All Rights Reserved.
323
Equalizer Administration Guide
Seitenansicht 322
1 2 ... 318 319 320 321 322 323 324 325 326 327 328 ... 593 594

Kommentare zu diesen Handbüchern

Keine Kommentare