ajout script

This commit is contained in:
johan largy 2022-09-14 16:04:59 +02:00
parent b7c6134206
commit 3b80dd7130
2 changed files with 6 additions and 0 deletions

View File

View File

@ -0,0 +1,6 @@
#!/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