ipvs -r02–restore02恢复虚拟服务器规则,IPVS-comcn2-ChinaUnix博客

ipvsadm v1.24 2003/06/07 (compiled with popt and IPVS v1.2.0)

Usage:

ipvsadm -A|E -t|u|f service-address [-s scheduler] [-p [timeout]] [-M netmask]

ipvsadm -D -t|u|f service-address

ipvsadm -C

ipvsadm -R

ipvsadm -S [-n]

ipvsadm -a|e -t|u|f service-address -r server-address [options]

ipvsadm -d -t|u|f service-address -r server-address

ipvsadm -L|l [options]

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

ipvsadm --set tcp tcpfin udp

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

ipvsadm --stop-daemon state

ipvsadm -h

Commands:

Either long or short options are allowed.

--add-service     -A        add virtual service with options

--edit-service    -E        edit virtual service with options

--delete-service  -D        delete virtual service

--clear           -C        clear the whole table

--restore         -R        restore rules from stdin

--save            -S        save rules to stdout

--add-server      -a        add real server with options

--edit-server     -e        edit real server with options

--delete-server   -d        delete real server

--list            -L|-l     list the table

--zero            -Z        zero counters in a service or all services

--set tcp tcpfin udp        set connection timeout values

--start-daemon              start connection sync daemon

--stop-daemon               stop connection sync daemon

--help            -h        display this help message

Options:

--tcp-service  -t service-address   service-address is host[:port]

--udp-service  -u service-address   service-address is host[:port]

--fwmark-service  -f fwmark         fwmark is an integer greater than zero

--scheduler    -s scheduler         one of rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq,

the default scheduler is wlc.

--persistent   -p [timeout]         persistent service

--netmask      -M netmask           persistent granularity mask

--real-server  -r server-address    server-address is host (and port)

--gatewaying   -g                   gatewaying (direct routing) (default)

--ipip         -i                   ipip encapsulation (tunneling)

--masquerading -m                   masquerading (NAT)

--weight       -w weight            capacity of real server

--u-threshold  -x uthreshold        upper threshold of connections

--l-threshold  -y lthreshold        lower threshold of connections

--mcast-interface interface         multicast interface for connection sync

--syncid sid                        syncid for connection sync (default=255)

--connection   -c                   output of current IPVS connections

--timeout                           output of timeout (tcp tcpfin udp)

--daemon                            output of daemon information

--stats                             output of statistics information

--rate                              output of rate information

--thresholds                        output of thresholds information

--persistent-conn                   output of persistent connection info

--sort                              sorting output of service/server entries

--numeric      -n                   numeric output of addresses and ports

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值