Biztalk Receive port is reading twice from FTP location
We have three biztalk environments:
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
August 27th, 2015 10:07am

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.

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 10:28am

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

Abhishek

 
August 27th, 2015 10:29am

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

  • Edited by RahulS_88 16 hours 24 minutes ago
  • Marked as answer by MANIBEST 15 hours 45 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 10:45am

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

Abhishek

 
August 27th, 2015 2:23pm

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

Abhishek

 
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 2:23pm

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

  • Edited by RahulS_88 Thursday, August 27, 2015 2:39 PM
  • Marked as answer by MANIBEST Thursday, August 27, 2015 3:19 PM
August 27th, 2015 2:39pm

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

  • Edited by RahulS_88 Thursday, August 27, 2015 2:39 PM
  • Marked as answer by MANIBEST Thursday, August 27, 2015 3:19 PM
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 2:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics