TP Load Balancer
This commit is contained in:
parent
0a1f8f7e05
commit
864d415eea
9
sio2/SISR/LB/ipvsadm
Executable file
9
sio2/SISR/LB/ipvsadm
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
ipvsadm -A -t 192.168.0.140:80 -s rr
|
||||
|
||||
ipvsadm -a -t 192.168.0.140:80 -r 172.16.1.11:80 -m
|
||||
ipvsadm -a -t 192.168.0.140:80 -r 172.16.1.12:80 -m
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user