7 lines
158 B
Bash
7 lines
158 B
Bash
#!/bin/bash
|
|
|
|
ipvsadm -A -t 192.168.0.170:80 -s rr
|
|
|
|
ipvsadm -a -t 192.168.0.170:80 -r 172.16.0.11:80 -m
|
|
ipvsadm -a -t 192.168.0.170:80 -r 172.16.0.12:80 -m
|