lvs
This commit is contained in:
parent
ea17c40313
commit
44c9e9c290
5
sio2/sisr/05-lvs/lvs
Executable file
5
sio2/sisr/05-lvs/lvs
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
ipvsadm -A -t 192.168.0.160:80 -s rr
|
||||
ipvsadm -a -t 192.168.0.160:80 -r 172.16.0.11:80 -m
|
||||
ipvsadm -a -t 192.168.0.160:80 -r 172.16.0.12:80 -m
|
Loading…
x
Reference in New Issue
Block a user