BizTalk Deployment Framework WCF service deployment in multiserver deployment

Topics: IIS and Web Services, Server Deployment
Dec 14, 2011 at 9:03 PM

Hi,

We have multiserver environmet set up in testing environment which has two biztalk receive servers,two biztalk send server and two processing biztalk servers.

My pacakge works fine in my local machine(One BTS server) with the below settings in InstallWizard.xml.Can you please let us know how to configure our Deployment BTDF to be able to deploy the WCF services on Receive side BizTalk servcers.

Your help is greatly appreticated.

  <SetEnvUIConfigItem>
    <PromptText>    
      Enter a domain-qualified account name for virtual directory (HTTP and SOAP) identities.
      For Windows Server 2003 (IIS6), ensure this user is in the IIS_WPG group.
    </PromptText>
    <PromptValue />
    <ValueType>Text</ValueType>
    <EnvironmentVarName>VDIR_UserName</EnvironmentVarName>
  </SetEnvUIConfigItem>
  <SetEnvUIConfigItem>
    <PromptText>Enter the password for the account specified:</PromptText>
    <PromptValue />
    <ValueType>Password</ValueType>
    <EnvironmentVarName>VDIR_UserPass</EnvironmentVarName>
  </SetEnvUIConfigItem>

Coordinator
Dec 15, 2011 at 7:33 AM

You'll probably want to add a wizard page (SetEnvUIConfigItem) to ask whether to deploy the web services or not.  In your .btdfproj, you can create a PropertyGroup with a Condition attribute that tests the environment variable that comes from the new wizard page.  You can move the IncludeVirtualDirectories property to that new PropertyGroup, so that it will only be true when the matching value was chosen in the wizard.  You'll have to do a slight variation to account for local deployments too (when '$(Configuration)' != 'Server').  In the InstallWizard.xml, you can use Checkbox as the ValueType to collect a true/false value.

Thanks,
Tom