FTP is a peer to peer kind of protocol in which Client establish direct connection with Server to communicate commands and data transfer between them. The overall process of communication is achieved by establishing two connections between client and server namely, control channel and data channel. Control channel is the connection initiated by the client to server and this connection is used to communicate control signals like commands, credentials and signals. The Data channel is another connection established between client and Server. Based on who initiate this data channel will decide the mode of operation of FTP. If the Data channel connection is initiated by Server then it’s called Active mode of FTP and if the Data channel connection is initiated by client, it’s called Passive mode.
When using Cisco Application Control Engine (ACE) for FTP loadbalancing, we need to enable FTP Inspect on policy to have a successful Load balancing operation on the traffic flow. This is required because, FTP protocol is designed such a way that before opening a data-channel between client and server, the server specifies which port it will use to listen/Send data to the client through control-channel. The ACE, in term to open a path for this data-channel traffic automatically through itself, needs to monitor the control-channel. This is done only when FTP inspect is enabled. When FTP inspect is enabled on ACE, all FTP connections targeted through ACE-virtual IP between client and Servers will get proxies on ACE.
ACE in HA for FTP
When ACE is deployed in HA pair and FTP inspect is enabled on ACE, all the FTP connection established through ACTIVE-ACE will not get synched to STANDBY-ACE. This is because when FTP inspect is enabled, FTP connection gets proxied and proxied connections are not synched to STANDBY- ACE. So whenever there is a failure between ACTIVE-ACE to STANDBY-ACE, the existing connection on ACTIVE-ACE will get broken and Client needs to establish new connection to complete the transactions.
One of the solution for this FT issue can be solved by configuring ACE in Direct Server Return mode(DSR) along with disabling TCP normalization on ACE. When ACE is deployed in DSR mode, Client will send request to ACE-Virtual IP address. ACE will perform loadbalancing and forward client request to specific server. Now Server will directly respond to Client request bypassing ACE. To make sure client accepts this direct response from server, we need to make sure that Server responds with the same IP address on which client sent its request. We also need to disable TCP normalization on client side interface on ACE. Make sure proper routes have been added on the server, so that response is reaching client directly without going through ACE. To summaries the above said and config guide links accordingly.
Putting the ACE VIP and FTP Servers in the same VLAN.
Adding the VIP to the loopback address on server with no ARP.
Possibly making FTP server changes to force it to use the VIP
Note: Last three steps are not required If your client is sending FTP request directly on Server IP address and ACE-Virtual IP address is configured to listen on any IP. Make sure not to configure NAT/PAT on ACE.
Hello,I am new here and seeking some comments now. We are deploying 2xC9500-48Y4C-A as core switches(running stackwise), 2 C93180(nexus) and several C9300 (layer2). Can someone recommend what firmware should we use? Client wants to have 1...
I'm trying to get a JSON/XML output from APIC showing all the EPGs associated to a VPC pair and the external VLAN Mappings. I've been able to find it in the GUI, but can't seem to export it in any usable form. I need to copy the configuration ...
I would like to now if there is a list/compatibility matrix what ACI versions are compatible with which vDS versions.For example - I run ACI 3.2.5 with vSphere 6.7 and vDS 6.0. Now I'd like to upgrade the ACI fabric to version 4.2.6[h].According to the&nb...
Hello,Our Datacenter deploys a topology which is almost alike a Spine and Leaf VXLAN-enabled design. The Spines are N3K-C3164Q and leafs are N9K-C9396PX. Routerports connect the 9396 to the VXLAN fabric. There is an anycast-rp configured on the C3164...
Greetings,My understanding of GLEAN in ACI is that it is for only ARP.. So when a ARP request is for Silent host and when Flooding is not enabled, Spine is queried and when Spine does not know the endpoint, initiates a GLEAN. (please correct me if i am wr...