BizTalk Server General - FTP Adapter and Clustered BizTalk Servers

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > March 2005 > FTP Adapter and Clustered BizTalk Servers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FTP Adapter and Clustered BizTalk Servers
Jeff Ferguson

2005-03-03, 5:53 pm

A client has two BizTalk servers running in a clustered failover
architecture. The client's team has deployed an orchestration, which lives
on both servers. So far, so good.

The receive port for the orchestration has been bound to an FTP adapter. The
problem is that both instances of the FTP adapter grab the incoming message,
which means that both orchestration instances execute and the message is
processed twice (ugh). Other adapters don't have this problem; the HTTP
adapter, for example, locks the incoming message's underlying file so other
adapters cannot process it.

Can anyone give some guidance as to how to make such a scenario work? I
understand that there is a VBScript document (BTSAdapterAvailability.vbs)
that helps manual failover situations, but I am looking for something more
automatic.


Jon Flanders[DevelopMentor]

2005-03-03, 5:53 pm

I am not sure there is anything to do. The FTP adapter is a polling
adapter - so this is really expected behaviour (like if the SQL adapter in
two server received the same rows from a SQL receive adapter poll). The
HTTP adapter is a passive adapter (it doesn't actually use files) so the
messages it receives are whatever is sent to it (you'd have the same effect
if the HTTP client sent the same message twice).

If the automatic failover is what you are looking for - you could have a
seperate host registered as the handler for the FTP Receive Adapter, install
the host on both machines, but only start it on a single machine. Then
monitor that host and turn it on via WMI on the other server. Kind of a
hack - but I can't think of anything else that would do that job
automatically.

--
Jon Flanders [DevelopMentor]
http://staff.develop.com/jfland/
http://www.develop.com/courses/biztalk
"Jeff Ferguson" <JeffF@magenic.com> wrote in message
news:%23wHT%23cDIFHA.3072@tk2msftngp13.phx.gbl...
>A client has two BizTalk servers running in a clustered failover
> architecture. The client's team has deployed an orchestration, which lives
> on both servers. So far, so good.
>
> The receive port for the orchestration has been bound to an FTP adapter.
> The
> problem is that both instances of the FTP adapter grab the incoming
> message,
> which means that both orchestration instances execute and the message is
> processed twice (ugh). Other adapters don't have this problem; the HTTP
> adapter, for example, locks the incoming message's underlying file so
> other
> adapters cannot process it.
>
> Can anyone give some guidance as to how to make such a scenario work? I
> understand that there is a VBScript document (BTSAdapterAvailability.vbs)
> that helps manual failover situations, but I am looking for something more
> automatic.
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com