Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Configuring SLB Probes
Configuring Server Load Balancing
page 44-34
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Modifying the Probe Retries
By default, the number of SLB probe retries before deciding that a server is out of service is 3. To modify 
this value from 0 to 255 use the 
 command by entering ip slb probe followed by the 
user-configured probe name, the probe type, retries, and the user-specified number of retries.
Note. See 
 for a list of valid probe types.
For example, to set the number of retries for an HTTP SLB probe called “server_probe1” to 10, enter:
-> ip slb probe server_probe1 http retries 10
Configuring a Probe User Name
To configure a user name sent to a server as credentials for an HTTP GET operation to verify the health of 
the server use the 
 command by entering ip slb probe followed by the user-config-
ured probe name, either http or httpsusername, and the user-specified user name.
For example, to set the user name for an HTTP SLB probe called “server_probe1” to “subnet1”, enter:
-> ip slb probe server_probe1 http username subnet1
Configuring a Probe Password
To configure a password sent to a server as credentials for an HTTP GET to verify the health of the server 
use th
 command by entering ip slb probe followed by the user-configured probe 
name, either http or httpspassword, and the user-specified password.
For example, to set the password for an HTTP SLB probe called “server_probe1” to “h1f45xc” enter:
-> ip slb probe server_probe1 http password h1f45xc
Configuring a Probe URL
To configure a URL sent to a server for an HTTP GET to verify the health of the server use the 
 command by entering ip slb probe followed by the user-configured probe name, either http or 
httpsurl, and the user-specified URL.
Note. The URL should be the relative web page name to be retrieved.
For example, to set the URL for an HTTP SLB probe called “server_probe1” to “pub/index.html”, enter:
-> ip slb probe server_probe1 http url pub/index.html
Modifying the Probe Status
By default, the expected status returned from an HTTP GET to verify the health of a server is 200. To 
modify this value from 0 to 4294967295 use the 
 command by entering ip slb probe 
followed by the user-configured probe name, either http or httpsstatus, and the user-specified expected 
status.
For example, to set the expected status for an HTTP SLB probe called “server_probe1” to 404, enter:
-> ip slb probe server_probe1 http status 404