From 3b80dd71308b01b18c87e8f69dcba5aa9d3ed30f Mon Sep 17 00:00:00 2001 From: johan largy Date: Wed, 14 Sep 2022 16:04:59 +0200 Subject: [PATCH] ajout script --- sio2/sisr2 | 0 sio2/sisr2/10-LVS/ipvsadm.sh | 6 ++++++ 2 files changed, 6 insertions(+) delete mode 100644 sio2/sisr2 create mode 100644 sio2/sisr2/10-LVS/ipvsadm.sh diff --git a/sio2/sisr2 b/sio2/sisr2 deleted file mode 100644 index e69de29..0000000 diff --git a/sio2/sisr2/10-LVS/ipvsadm.sh b/sio2/sisr2/10-LVS/ipvsadm.sh new file mode 100644 index 0000000..5b1a3b3 --- /dev/null +++ b/sio2/sisr2/10-LVS/ipvsadm.sh @@ -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