1) Dev (one server)
2) UAT (two servers)
3) LVIE (two servers)
One of the biztalk applications
Has 7 FTP receive locations set up of which
Only Two FTP receive ports are reading the input file twice in both LIVE as well as UAT environments. HOwEver, they are reading only once in the Dev environment as required.
All FTP receive ports in all environments are configured so that:
1) Delete after Download = Yes
2) Redownload interval = -1
Could someone get a possible reason behind this and suggest a resolution to this problem
T
It is always recommended to use the clustered host for FTP adapter. Because FTP don't allow any locking mechanism on the files so in case of non-clustered with multiple host instances you might receive same file multiple times through different host instances.
Two hosts instances could get same message from server, so that same message is processed twice. One (basic) solution to that issue is to configure only one host instance that poll FTP server.
Running FTP or SFTP adapter on multiple host instance is not supported and it is the same reason which is causing you duplicate files inside BizTalk . You are running your receive handler on the multiple host instance on your dev and Prod servers.
To provide high availability for the FTP or SFTP receive adapter, you should configure the FTP or SFTP receive adapter to run in a BizTalk host instance that has been clustered.
Refer :https://msdn.microsoft.com/en-us/library/aa561801.aspx
Thanks
- Edited by Abhishek0127[Abhishek kumar]MVP 16 hours 38 minutes ago
- Marked as answer by MANIBEST 15 hours 45 minutes ago
True!!
As suggested by Rachit and Abhishek, in a non clustered environment FTP host should run on a single host but you will not be able to get the benefit of "High Availability" of Active-Active environment.
Else the best mechanism is to have a clustered environment for FTP.
So in your environment where you are getting files 2 times, you must be running the FTP port on a host that is configured on 2 servers.
You have the following options:
- If you want to use the Active-Active approach, run the FTP on host configured on a single server.
- Get a clustered host for FTP.
Please mark as answer or vote if the reply was helpful
Rahul
Running FTP or SFTP adapter on multiple host instance is not supported and it is the same reason which is causing you duplicate files inside BizTalk . You are running your receive handler on the multiple host instance on your dev and Prod servers.
To provide high availability for the FTP or SFTP receive adapter, you should configure the FTP or SFTP receive adapter to run in a BizTalk host instance that has been clustered.
Refer :https://msdn.microsoft.com/en-us/library/aa561801.aspx
Thanks
- Edited by Abhishek0127[Abhishek kumar]MVP Thursday, August 27, 2015 2:25 PM
- Marked as answer by MANIBEST Thursday, August 27, 2015 3:19 PM
Running FTP or SFTP adapter on multiple host instance is not supported and it is the same reason which is causing you duplicate files inside BizTalk . You are running your receive handler on the multiple host instance on your dev and Prod servers.
To provide high availability for the FTP or SFTP receive adapter, you should configure the FTP or SFTP receive adapter to run in a BizTalk host instance that has been clustered.
Refer :https://msdn.microsoft.com/en-us/library/aa561801.aspx
Thanks
- Edited by Abhishek0127[Abhishek kumar]MVP Thursday, August 27, 2015 2:25 PM
- Marked as answer by MANIBEST Thursday, August 27, 2015 3:19 PM
True!!
As suggested by Rachit and Abhishek, in a non clustered environment FTP host should run on a single host but you will not be able to get the benefit of "High Availability" of Active-Active environment.
Else the best mechanism is to have a clustered environment for FTP.
So in your environment where you are getting files 2 times, you must be running the FTP port on a host that is configured on 2 servers.
You have the following options:
- If you want to use the Active-Active approach, run the FTP on host configured on a single server.
- Get a clustered host for FTP.
Please mark as answer or vote if the reply was helpful
Rahul
True!!
As suggested by Rachit and Abhishek, in a non clustered environment FTP host should run on a single host but you will not be able to get the benefit of "High Availability" of Active-Active environment.
Else the best mechanism is to have a clustered environment for FTP.
So in your environment where you are getting files 2 times, you must be running the FTP port on a host that is configured on 2 servers.
You have the following options:
- If you want to use the Active-Active approach, run the FTP on host configured on a single server.
- Get a clustered host for FTP.
Please mark as answer or vote if the reply was helpful
Rahul