Application Delivery (ADX)

Reply
Occasional Contributor
Posts: 7
Registered: ‎01-30-2013

CSW not working after enabling Active-Active design

Hello everybody.

We have implemented Active-Active solution for our Devices and currently CSW feature doesnt work. It was working before.

Now It's working without CSW(using sticky), but not with CSW. 

Config:

 

server port 7067

session-sync

tcp

 

server source-nat-ip x.x.x.x 255.255.255.248 0.0.0.0 port-range 1

 

csw-rule "easi_sticky" header "cookie" pattern "ServerID="
!
csw-policy "easi_sticky_policy"
match "easi_sticky" persist offset 0 length 4 group-or-server-id
default forward 1
default rewrite insert-cookie "ServerID"

 

server remote-name server1 10.10.1.23
source-nat
port 7067
port 7067 server-id 1027
port 7067 group-id 1 1

 

server remote-name server2 10.10.1.24
source-nat
port 7067
port 7067 server-id 1026
port 7067 group-id 1 1

 

server remote-name server3 10.10.1.25
source-nat
port 7067
port 7067 server-id 1025
port 7067 group-id 1 1

 

server virtual Navision_test 10.10.200.200
sym-priority 19
sym-active
predictor round-robin
port 7067
port 7067 tcp-only
port 7067 csw-policy "easi_sticky_policy"
port 7067 csw
port 7067 keep-alive
bind 7067 server1 7067 server2 7067 server3 7067

 

server vip-group 1

vip 10.10.200.200

 

interface ve 1
ip address y.y.y.2 255.255.255.248
ip vrrp-extended vrid 1
backup priority 105 track-priority 20
advertise backup
ip-address y.y.y.1
vip-group 1
track-port e 25
enable
!

 

Tried to find out something using Debug, there are just only SYN:

src: Client

Dest: Vip

 

pkt:1 IN len:66 TCP :60284->7067 Seq:2415089273 Ack:0 SYN
pkt:2 IN len:66 TCP :60284->7067 Seq:2415089273 Ack:0 SYN
pkt:3 IN len:62 TCP :60284->7067 Seq:2415089273 Ack:0 SYN

 

Please provide any idea.

Contributor
Posts: 74
Registered: ‎08-18-2011

Re: CSW not working after enabling Active-Active design

Can you provide output of show server bind, show server virtual command and show IP vrrp-e commands on both the boxes ??
-Mohit Sahni
Occasional Contributor
Posts: 7
Registered: ‎01-30-2013

Re: CSW not working after enabling Active-Active design

Hello,

Currently we are using sticky feature, so service is working.

 

Sender Node:

Virtual server: Navision Status: enabled IP: 10.10.200.200
symmetric VIP state: Owner
7067 -------> server1: 10.220.161.24, 7067 (remote) (Active)
server2: 10.220.161.25, 7067 (remote) (Active)
server3: 10.220.161.23, 7067 (remote) (Active)
server4: 10.220.161.22, 7067 (remote) (Active)

 

Name: Navision State: Enabled IF DWN IP:10.10.200.200: 1
Pred: round-robin ACL-Id: 0 TotalConn: 3379952
Sym: group = 1 state = 5 priority = 19 keep = 0
dyn priority/factor = 19/ 0
Activates = 2, Inactive= 2 sym-active = 1 Sym Priority = Enabled
Symmetric VIP state: Owner
Symmetric MAC: 748e.f800.0000
Best-standby-mac: 748e.f8aa.3128
VIP state: healthy

Rx pkts: 34812039 Tx pkts: 65
Rx bytes: 6041410505 Tx bytes: 82983
Rx PPS: 0 Tx PPS: 0
Rx Throughput: 0 Kbps Tx Throughput: 0 Kbps
tcp-conn-rate: 1 udp-conn-rate: 0
CPS: 1 CurrConn: 4
Note: The above statistics lag by 1 second

Port State Sticky Concur Proxy DSR CurConn TotConn PeakConn
---- ----- ------ ------ ----- --- ------- ------- --------
default enabled NO NO NO NO 0 0 0
7067 enabled YES NO NO NO 4 3319579 398

 

 

sh ip vrrp-extended

Total number of VRRP-Extended routers defined: 1
Interface ethernet v1
auth-type no authentication
VRID 1
state master
administrative-status enabled
priority 105
current priority 105
track-priority 20
hello-interval 1 sec
dead-interval 0 sec
current dead-interval 3.500 sec
preempt-mode true
virtual ip address 10.220.255.115
advertise backup: enabled
next hello sent in 00:00:01
backup router 10.220.255.117 expires in 00:02:34
track-port 25T(up)
VRRP-e MAC address: 02e0.52f6.7b01

 

 

Receiver node:

Virtual server: Navision Status: enabled IP: 10.10.200.200
symmetric VIP state: non-Owner
7067 -------> server1: 10.220.161.24, 7067 (remote) (Active)
server2: 10.220.161.25, 7067 (remote) (Active)
server3: 10.220.161.23, 7067 (remote) (Active)
server4: 10.220.161.22, 7067 (remote) (Active)

 

Name: Navision State: Enabled IF DWN IP:10.10.200.200: 1
Pred: round-robin ACL-Id: 0 TotalConn: 1193165
Sym: group = 1 state = 3 priority = 9 keep = 1
dyn priority/factor = 9/ 0
Activates = 0, Inactive= 1 sym-active = 1 Sym Priority = Disabled
Symmetric VIP state: non-Owner
Symmetric MAC: 748e.f800.0000
Active-mac: 748e.f8aa.2d68
VIP state: healthy

Rx pkts: 0 Tx pkts: 30775357
Rx bytes: 0 Tx bytes: 40826117513
Rx PPS: 0 Tx PPS: 0
Rx Throughput: 0 Kbps Tx Throughput: 0 Kbps
tcp-conn-rate: 0 udp-conn-rate: 0
CPS: 0 CurrConn: 0
Note: The above statistics lag by 1 second

Port State Sticky Concur Proxy DSR CurConn TotConn PeakConn
---- ----- ------ ------ ----- --- ------- ------- --------
default enabled NO NO NO NO 0 0 0
7067 enabled YES NO NO NO 1 1173196 310

 

sh ip vrrp-extended

Total number of VRRP-Extended routers defined: 1
Interface ethernet v1
auth-type no authentication
VRID 1
state backup
administrative-status enabled
priority 95
current priority 95
track-priority 20
hello-interval 1 sec
dead-interval 0 sec
current dead-interval 3.600 sec
preempt-mode true
virtual ip address 10.220.255.115
advertise backup: enabled
next hello sent in 00:00:11
master router 10.220.255.116 expires in 00:00:03
track-port 25T(up)
VRRP-e MAC address: 02e0.52f6.7b01

 

 

 

Thanks.

Occasional Contributor
Posts: 7
Registered: ‎01-30-2013

Re: CSW not working after enabling Active-Active design

up!

Occasional Contributor
Posts: 7
Registered: ‎01-30-2013

Re: CSW not working after enabling Active-Active design

Hi all,

Is there any idea?

 

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

Download FREE NVMe eBook