Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > 6fe5d31580518f05e4af53be4fc6a040 > files > 22

keepalived-1.2.2-0.i586.rpm

! Sample configuration for use Linux FWMARK

global_defs {
  router_id io
}

virtual_server fwmark 1 {
  delay_loop 6
  lb_algo rr
  lb_kind NAT
  persistence_timeout 900
  protocol TCP

  real_server 192.168.201.100 {
    weight 1
    TCP_CHECK {
      connect_port    80
      connect_timeout 3
    }
  }

  real_server 192.168.201.101 {
    weight 1
    TCP_CHECK {
      connect_port    80
      connect_timeout 3
    }
  }
}