a/a模式下有相同的配置文件/config/bigip.conf,但是每个VS ,SNAT,SELFIP都是和单元号关联的
a/a模式下的同步除了要对同步进行基本的配置外,还需做以下工作:
1.关联 vs ,selfip address, snat 和机器单元号,如unit 1上的则关联到1 ,2上的关联到2
这一步是通过bigpipe 命令行做的
2.执行双向同步。
这一步可以通过配置工具来做
查看和关联的命令是:
VS相关命令:
b virtual address all show 显示所有VS的详细属性 b virtual address all unit show 显示所有概要信息
b virtual address ip-address show 显示具体的某个VS详细属性 b virtual address ip-address unit show 显示概要信息
self ip相关命令
b self all show 显示所有selfip的详细信息 b self all unit show 显示所有概要信息
b self ip-address show 显示具体的某个selfip详细信息 b self ip-address unit show 显示概要信息
snat相关命令
b snat translation all show 显示所有snat的详细信息 b snat translation unit show 显示所有概要信息
b snat translation ip-address show显示具体的某个snat详细信息 b snat translation ip-address unit show 显示概要信息
例:
[root@ltm:Active] config # b virtual address unit show
VIRTUAL ADDRESS any - unit 1
VIRTUAL ADDRESS 192.168.161.212 - unit 1
[root@ltm:Active] config # b virtual address show
VIRTUAL any MASK 0.0.0.0 UNIT 1
| ARP: disabled
| (cur, max, limit, tot) = (14, 2147, 0, 4.975M)
| (pkts,bits) in = (867810, 4.172G), out = (601903, 1.095G)
+-> SERVER vs-forwording SERVICE any
| PVA acceleration none
| (cur, max, limit, tot) = (14, 2147, 0, 4.975M)
| (pkts,bits) in = (867810, 4.172G), out = (601903, 1.095G)
| requests (total) = 44228
+--> IP FORWARDING
VIRTUAL 192.168.161.212 UNIT 1
| ARP: enabled
| (cur, max, limit, tot) = (0, 535, 0, 3.293M)
| (pkts,bits) in = (25.10M, 75.54G), out = (23.14M, 84.72G)
+-> SERVER vs_test SERVICE http
| PVA acceleration none
| (cur, max, limit, tot) = (0, 535, 0, 3.293M)
| (pkts,bits) in = (25.10M, 75.54G), out = (23.14M, 84.72G)
| requests (total) = 3.280M
+-> POOL pootest LB METHOD round robin MIN/CUR ACTIVE MEMBERS: 0/4
| conns (cur, max, limit, tot) = (0, 1085, 0, 2.355M)
| (pkts,bits) in = (18.01M, 54.38G), out = (16.52M, 59.32G)
+-> POOL MEMBER pootest/192.168.161.77:9003 ACTIVE,UP SESSIONS ENABLED
| | conns (cur, max, limit, tot) = (0, 293, 0, 765800)
| | (pkts,bits) in = (5.865M, 17.70G), out = (5.393M, 19.41G)
| | requests (total) = 765800
+-> POOL MEMBER pootest/192.168.161.77:9004 ACTIVE,UP SESSIONS ENABLED
| | conns (cur, max, limit, tot) = (0, 239, 0, 445434)
| | (pkts,bits) in = (3.404M, 10.26G), out = (3.112M, 11.16G)
| | requests (total) = 445434
+-> POOL MEMBER pootest/192.168.161.78:9001 ACTIVE,UP SESSIONS ENABLED
| | conns (cur, max, limit, tot) = (0, 194, 0, 401540)
| | (pkts,bits) in = (3.066M, 9.254G), out = (2.799M, 10.01G)
| | requests (total) = 401540
+-> POOL MEMBER pootest/192.168.161.78:9002 ACTIVE,UP SESSIONS ENABLED
| conns (cur, max, limit, tot) = (0, 359, 0, 742262)
| (pkts,bits) in = (5.677M, 17.15G), out = (5.217M, 18.73G)
| requests (total) = 742262
[root@ltm:Active] config # b self all unit show
SELF IP 192.168.165.250 - unit 0
SELF IP 192.168.163.254 - unit 0
SELF IP 192.168.162.254 - unit 0
SELF IP 192.168.161.248 - unit 0
[root@ltm:Active] config # b self 192.168.162.254 show
Self IP 192.168.162.254 vlan vlan162
netmask 255.255.255.0
floating disabled
文章评论