Cisco Cisco ACE Application Control Engine Module Manual Técnica

Descargar
Página de 9
probe http WEB_SERVERS
  interval 5
  passdetect interval 10
  passdetect count 2
  request method get url /index.html
  expect status 200 200
!−−− Probe used to detect the status 
!−−− of the servers in the serverfarm.
rserver host S1
  ip address 192.168.0.200
  inservice
rserver host S2
  ip address 192.168.0.201
  inservice
rserver host S3
  ip address 192.168.0.202
  inservice
rserver host S4
  ip address 192.168.0.203
  inservice
serverfarm host SF−1
  probe WEB_SERVERS
  rserver S1
    inservice
  rserver S2
    inservice
  rserver S3
    inservice
  rserver S4
    inservice
!−−− Traffic hitting the VIP 
!−−− will be load balanced to these servers.
class−map match−all L4VIPCLASS
  2 match virtual−address 172.16.0.15 tcp eq www
!−−− Layer 4 class−map defining 
!−−− the IP address and port.
class−map match−all REAL_SERVERS
  2 match source−address 192.168.0.0 255.255.255.0
!−−− Layer 3 class−map defining source traffic.
!−−− This traffic matches server initiated.