Difference between revisions of "Ipvsadm"
Jump to navigation
Jump to search
(Created page with " https://link.medium.com/2WUdA0LxZkb") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | https://debugged.it/blog/ipvs-the-linux-load-balancer/ | |
+ | |||
+ | https://wiki.nftables.org/wiki-nftables/index.php/Load_balancing | ||
+ | |||
+ | https://linux.die.net/man/8/ipvsadm | ||
+ | |||
+ | - https://link.medium.com/2WUdA0LxZkb | ||
+ | - https://cheatsheet.dennyzhang.com/cheatsheet-ipvs-a4 | ||
+ | |||
+ | - https://createnetech.tistory.com/1 | ||
+ | |||
+ | |||
+ | ``` | ||
+ | sudo apt install ipvsadm | ||
+ | sudo ipvsadm -l -n | ||
+ | sudo ipvsadm -A -t 1.2.3.4:80 -s rr | ||
+ | sudo ipvsadm -D -t 1.2.3.4:80 | ||
+ | sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.3 -m | ||
+ | sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.4 -m | ||
+ | sudo ipvsadm -L -n --stats --rate | ||
+ | ``` |
Latest revision as of 00:09, 8 November 2021
https://debugged.it/blog/ipvs-the-linux-load-balancer/
https://wiki.nftables.org/wiki-nftables/index.php/Load_balancing
https://linux.die.net/man/8/ipvsadm
- https://link.medium.com/2WUdA0LxZkb
- https://cheatsheet.dennyzhang.com/cheatsheet-ipvs-a4
- https://createnetech.tistory.com/1
sudo apt install ipvsadm sudo ipvsadm -l -n sudo ipvsadm -A -t 1.2.3.4:80 -s rr sudo ipvsadm -D -t 1.2.3.4:80 sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.3 -m sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.4 -m sudo ipvsadm -L -n --stats --rate