Do You Have Any Tips About Load Balancing, Failover and Clustering for ActiveADAPTER?

Active Directory Send Adapter

If you create multiple host instances for the host that acts as the send handler for ActiveADAPTER, BizTalk will generally take care of failover for you with send ports.  BizTalk will distribute messages to the host instances in a round robin fashion, and if one is down it will try the next. See your BizTalk documentation for more information.

Active Directory Receive Adapter

The best way to think about ActiveADAPTER receive locations and failover is to treat them like FTP receive locations. Microsoft has a number of documents dealing with failover and clustering solutions for FTP receive locations and these architectures will typically apply to ActiveADAPTER receive locations. See your BizTalk documentation for more information.

The use of Host load balancing in NOT recommended for receive locations. The queries performed by your ActiveADAPTER receive locations do not lock Active Directory results and if run on different host instances as part of load balancing may result in duplicate messages into your receive ports.

Clustering

As mentioned above, the best way to think about ActiveADAPTER in terms of clustering architecture is like the FTP adapter. There are a couple of useful resources about adapters and clustering at:

http://msdn.microsoft.com/en-us/library/aa561801(v=bts.20).aspx

http://kentweare.blogspot.com/2009/04/clustering-biztalk-hosts.html

In the second article Kent Weare discusses Active/Passive clustering that can offer redundancy with just the one BizTalk host – “host clustering”.

FAQs
My Solicit-Response Send Port Query Is Only Returning 1000 Results

Try adding the setting PageSize="1000" to your query parameters. For example:

<ActiveDirectoryQuery><Directives WhereToBind="LDAP://CN=Users, DC=test, DC=com" Filter="(objectCategory=user)" SearchScope="onelevel" PropertiesToReturn="cn" PageSize="1000"/></ActiveDirectoryQuery>

By default Active Directory only allows for a single page of 1000 results. By explicitly setting this value multiple pages (and hence all results) are returned.

See the entire answer

What is ActiveADAPTER?

ActiveADAPTER is a set of BizTalk adapters for working with Active Directory from BizTalk Server. We offer you:

  • A BizTalk Send Adapter that you can use to:
    • Create, move and delete Active Directory objects
    • Change object properties such as email addresses, office locations, home folder locations...
    • Set user passwords and add objects to security groups
  • A BizTalk Receive Adapter that you can use to query Active Directory and receive the results in an XML message into BizTalk Server
  • The input and output schemas for all ActiveADAPTER operations
  • Sample orchestrations and example XML input
  • Complete documentation

See the entire answer

Can I use ActiveADAPTER components in multiple BizTalk applications?

Yes. Once installed, ActiveADAPTER Active Directory Send and Receive Adapters will be an available option for all Send Ports and Receive Locations.

See the entire answer