ipvsadm简单注释

 IPVSADM(8)             Linux Administrator’s Guide              IPVSADM(8)

NAME

       ipvsadm - Linux Virtual Server administration

SYNOPSIS

       ipvsadm -A|E -t|u|f service-address [-s scheduler]   定义集群服务

             [-p [timeout]] [-O] [-M netmask]

#A:增加|E:修改  ttcp|uudp|ffirewall-mark  VIPport  [-s 调度方法

       ipvsadm -D -t|u|f service-address   删除集群服务 

         #-Ddel  -t|u|f  vipport  -f选项不需加端口,基于标记)

        ipvsadm –C   清空集群服务列表

       ipvsadm -R

       ipvsadm -S [-n]

       ipvsadm -a|e -t|u|f service-address -r server-address  向已定义的集群服务添加real-server

                      [-g|i|m] [-w weight] [-x upper] [-y lower]

# -r RIPport (若RIPVIPport相同,可不指)

         #-g:getway表示DR模式|iInternet Tunneling 隧道模式|m:masquerading伪装,即NAT模式(默认为DR模型,可不指)  -wweight权重 -x:连接数上限  -y:连接数下限

-g, --gatewaying  Use gatewaying (direct routing). This is the default.

            -i, --ipip  Use ipip encapsulation (tunneling).

            -m, --masquerading  Use masquerading (network access translation, or NAT).

 

       ipvsadm -d -t|u|f service-address -r server-address   删除realserver

       ipvsadm -L|l [options]   显示服务列表

       ipvsadm -Z [-t|u|f service-address]

       ipvsadm --set tcp tcpfin udp

       ipvsadm --start-daemon state [--mcast-interface interface]

               [--syncid syncid]

       ipvsadm --stop-daemon state

       ipvsadm –h

 

ipvsadm –L –n –stats 显示统计数据

ipvsadm –L –n –rate 显示当前速率

你可能感兴趣的:(LVS,man,ipvsadm)