despre compartiment
Informatii utile dar insuficiente pentru a fi incluse intr-un tutorial.
login
tips & tricks - Load balancing

Inapoi

Presupunem ca alteon-ul e conectat prin interfata 1 la servere, ce ruleaza pe adrese ip din reteaua 192.168.0.0/24 .
Serverele au ca default gateway adresa ip a alteon-ului.
Interfata 9 e conectata la internet.
Alteon va face NAT pentru servere, prin adresa IP 10.0.0.101 .
Adresa IP a VIP-ului - 10.0.0.100 .





/c/ip/frwd/local/add 192.168.0.0 255.255.255.0
/c/ip/frwd/local/add 10.0.0.0 255.255.255.0

/c/slb
on

/c/slb/real 1
ena
rip 192.168.0.1
name "RIP1"

/c/slb/real 2
ena
rip 192.168.0.2
name "RIP2"


/c/slb/group 1
metric roundrobin
add 1
add 2

/c/slb/port 1
server ena
proxy ena
pip 10.0.0.101
/c/slb/port 2
pip 10.0.0.102
/c/slb/port 3
pip 10.0.0.103
/c/slb/port 4
pip 10.0.0.104
/c/slb/port 5
pip 10.0.0.105
/c/slb/port 6
pip 10.0.0.106
/c/slb/port 7
pip 10.0.0.107
/c/slb/port 8
pip 10.0.0.108
/c/slb/port 9
client ena
pip 10.0.0.109

/c/slb/virt 1
ena
vip 10.0.0.100
/c/slb/virt 1/service http
group 1

/c/slb/filt 10
ena
action nat
sip 192.168.0.0
smask 255.255.255.0
dip any
dmask 255.255.255.0
nat source
vlan any

/c/slb/port 1
filt ena
add 10


server no-real-l3-check
server no-reassign-count
server predictor least-conn
server syn-limit 5000
server sticky-age 60
!
server port 80
tcp keepalive 10 5
tcp l4-check-only
!
server real RIP1 192.168.0.10
max-conn 200000
port http
port http url "HEAD /"
!
server real RIP2 192.168.0.20
max-conn 200000
port http
port http url "HEAD /"
!
server virtual VIP1 192.168.0.100
predictor least-conn
port http sticky
port http dsr
bind http RIP1 http RIP2 http
!




counter
Informatia de pe site este prezentata "AS IS" si nimeni NU garanteaza veridicitatea sa
Hosting si intretinerea site-ului - REMSYS © 2003-2007