LVS:
LVS: linux Virtual Server
14:四层交换,四层路由:
根据请求报文的目标IP与port将其转发至后端主机集群的某一台主机(根据挑选算法);
netfilter:
PREROUTING-->INPUT
PREROUTING-->FORWARW-->POSTROUTING
OUTPUT-->POSTROUTING
lvsL:
ipvsadm/ipvs
ipvsadm:用户空间的命令行工具,用于管理集群服务;
ipvs:工作内核中netfilter INPUT钩子上;
支持TCP,UDP,AH,EST,AH_EST,SCTP等诸多协议;
lvs arch:
调度器:director,dispatcher
RS:Real Server
Client IP:CIP
Driector Virutal IP:VIP
Driectoe IP:
Real Server IP:RIP
lvs type:
lvs-nat
lvs-dr(direct routing)
lvs-tun(ip tunning)
lvs-fullnat
时间: 2024-10-02 22:24:16