nouveau fichier : sio2/SISR/03-lvs/cli1/recup.sh
nouveau fichier : sio2/SISR/03-lvs/cli2/recup.sh nouveau fichier : sio2/SISR/03-lvs/lvs/to_do
This commit is contained in:
parent
e968256f6d
commit
c5a306d25a
3
sio2/SISR/03-lvs/cli1/recup.sh
Normal file
3
sio2/SISR/03-lvs/cli1/recup.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
watch -n 5 curl -s 192.168.0.150
|
3
sio2/SISR/03-lvs/cli2/recup.sh
Normal file
3
sio2/SISR/03-lvs/cli2/recup.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
watch -n 5 curl -s 192.168.0.150
|
||||
|
7
sio2/SISR/03-lvs/lvs/to_do
Normal file
7
sio2/SISR/03-lvs/lvs/to_do
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ipvsadm -A -t 192.168.0.150:80 -s rr #creation du cluster
|
||||
|
||||
#ajout des serveurs reels au cluster
|
||||
ipvsadm -a -t 192.168.0.150:80 -r 172.16.1.1:80 -m
|
||||
ipvsadm -a -t 192.168.0.150:80 -r 172.16.1.2:80 -m
|
Loading…
x
Reference in New Issue
Block a user