Thursday, August 26, 2021

Splitting BizTalk Server from the same group

 BizTalk Server Split from the same group

1: Open the BizTalk Configuration wizard run as admin as shown below screenshot

Now it will open Configuration window of BizTalk as shown in below screenshot, click on Un-Configure Features

 

2: Re-Configure the BizTalk

1- Copy the all PowerShell script files and BizTalk Configuration XML into “C:\Temp” folder as shown in below screenshot,

 

 

2- To Run PowerShell Script file find the below screenshot.

Open PowerShell Command Prompt Run as Administrator either from taskbar or windows search.

 

Taskbar

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OR

 

 

 

 

 

 

 

 

 

 

 

Windows Search


3- Syntax to execute PowerShell script

 

PowerShell <PowerShell script file path>   Hit Enter Button

 

Example: Here I am using 3-BiztalkSilentInstall-Configuration.ps1 script file to show how to execute PowerShell script. 

 

PowerShell C:\Temp\ 3-BiztalkSilentInstall-Configuration.ps1 Hit enter button

 

 

Step 3: BizTalk Server 2016 Configuration (New Group)    

 

BizTalk Server 2016 Configuration Prerequisites (New Group)

Note*: Refer to table for naming convention for domain groups and service account based on environment

a)       Create a domain user. In this guide "SVC_BizTalk_Dev" user account has been used.

b)      Add following domain groups:-

·         SSO Administrators Dev

·         SSO Affiliate Administrators Dev

·         BizTalk Server Administrators Dev

·         BizTalk Server Operators Dev

·         BizTalk Server B2B Operators Dev

·         BizTalk Application Users Dev

·         BizTalk Isolated Host Users Dev

 

c)        Add the domain user "SVC_BizTalk_Dev" in all the above domain groups.

d)      Configure "DTC Properties" on BizTalk Server 2016 machine and SQL Server machine. Refer the steps and screen shot given below.

 

 

To configure BizTalk Open the 3-BiztalkSilentInstallConfigurationXml.xml in notepad.

 

Search for biztalkssopwd and replace all the instances with the actual password

 

Search for biztalkserviceaccountpwd and replace all the instances with the actual password

 

Below are the changes require into Configuration file

Note: Please make change in yellow marked places, According to your environment

<Configuration>

  <Feature Name="SSOServer,Engine" DisplayName="Enterprise Single Sign-On" Version="1.0" Description="Enterprise Single Sign-On configuration" ConfigByDefault="true">

    <Question ID="IsSecretServer" Text="&amp;Create a new SSO system;&amp;Join an existing SSO system" Answers="Create,Join" Default="Create">

      <Answer Value="Create" GUID="{FB7268BE-82D4-4cad-8CFF-6930303DA7E2}" Selected="Yes">

        <NTCredential ID="SSOAdminGroup" DisplayName="SSO Administrator(s)" Description="This is the Administrator of the Enterprise Single Sign-On (SSO) system.">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147516422">DOMAIN\SSO Administrators UAT</NTAccount>

        </NTCredential>

        <NTCredential ID="SSO

AffiliateAdminGroup" DisplayName="SSO Affiliate Administrator(s)" Description="The SSO Affiliate Administrator must be able to create Affiliate Applications.">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147516422"> DOMAIN \SSO Affiliate Administrators UAT</NTAccount>

        </NTCredential>

        <FILE ID="SSO_ID_BACKUP_SECRET_FILE" DisplayName="&amp;Backup file location:" Filter="Backup files (*.bak)|*.bak|All files (*.*)|*.*" DefaultExtension="bak" Title="" Description="Location where the master secret will be backed up" OpenFile="true">

          <Value>C:\Program Files\Common Files\Enterprise Single Sign-On\ssoBT2016.bak</Value>

        </FILE>

        <Name ID="SSO_ID_BACKUP_SECRET_PASSWORD" DisplayName="&amp;Secret backup password:" Description="Enter a password used to protect the secret backup file" Hidden="true">

         <Value>password1234</Value>

        </Name>

        <Name ID="SSO_ID_BACKUP_SECRET_PASSWORD_CONFIRM" DisplayName="&amp;Confirm password:" Description="Confirm the secret backup password" Hidden="true">

          <Value>password1234</Value>

        </Name>

        <Name ID="SSO_ID_BACKUP_SECRET_REMINDER" DisplayName="Password &amp;reminder:" Description="Enter a phrase to help you remember the secret backup file password" Hidden="false">

          <Value>password1234</Value>

        </Name>

      </Answer>

      <Answer Value="Join" GUID="{B9432756-1620-4bec-8CD9-E6D0B7805AA5}" />

    </Question>

    <NTService ID="ENTSSO" DisplayName="Enterprise Single Sign-On Service" Description="Specify the name of the account under which the Single Sign-On (SSO) service should run. This account must be a member of the SSO Administrator(s) group.">

      <UserName>TypeServiceAccountNameHere</UserName>

      <Domain>TRAFGLOBAL</Domain>

      <Password><![CDATA[TypePasswordHere]]></Password>

    </NTService>

    <SQL ID="SSO_DB_ID" DisplayName="SSO Database" Description="Specify the name of the SQL Server and Database that will be used as the credential store.">

      <Server> SQLServerName/Instance </Server>

      <Database>SSODB</Database>

      <WindowsSecurity Editable="no">yes</WindowsSecurity>

      <UserName />

      <Password />

    </SQL>

  </Feature>

  <Feature Name="WMI" DisplayName="BizTalk Server Group" Version="1.0" Description="The Microsoft Windows Management Instrumentation (WMI) layer encapsulates all administrative functions and management capabilities for BizTalk Server." ConfigByDefault="true">

    <SQL ID="{D757DBF9-5D71-4995-9F20-A552B7DFE7F1}" DisplayName="BizTalk Management Database" Description="This database is the central meta-information store for all BizTalk Servers.">

      <Server>SQLServerName/Instance</Server>

      <Database>BizTalkMgmtDb</Database>

      <WindowsSecurity Editable="no">yes</WindowsSecurity>

      <UserName />

      <Password />

    </SQL>

    <Question ID="CREATEORJOIN" Text="Create a &amp;new BizTalk Group;&amp;Join an existing BizTalk Group" Answers="Create,Join" Default="Create">

      <Answer Value="Create" GUID="{C4DEF4B8-163E-4a8d-AB01-6C43917248B1}" Selected="Yes">

        <SQL ID="{84ADD76E-EBEB-4bb8-B9EB-64F87E483C39}" DisplayName="BizTalk MessageBox Database" Description="This database stores subscriptions predicates. It is a host platform, where the queues and state tables for each BizTalk Server host are kept. The MessageBox database also stores the messages and message properties.">

          <Server> SQLServerName/Instance </Server>

          <Database>BizTalkMsgBoxDb</Database>

          <WindowsSecurity Editable="no">yes</WindowsSecurity>

          <UserName />

          <Password />

        </SQL>

        <SQL ID="{1033195A-3C23-4750-BBD0-06BC12A175D4}" DisplayName="BizTalk Tracking Database" Description="This database stores business and health monitoring data tracked by the BizTalk Server tracking engine.">

          <Server> SQLServerName/Instance </Server>

          <Database>BizTalkDTADb</Database>

          <WindowsSecurity Editable="no">yes</WindowsSecurity>

          <UserName />

          <Password />

        </SQL>

        <NTCredential ID="BTS_ADMIN_GROUP" DisplayName="BizTalk Administrators Group" Description="The BizTalk Server Administrators Group has the least privileges necessary to perform administrative tasks included in the Configuration Framework Wizard and to administer the BizTalk Server environment after installation.">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147483654"> DOMAIN \BizTalk Server Administrators UAT</NTAccount>

        </NTCredential>

        <NTCredential ID="BTS_OPERATOR_GROUP" DisplayName="BizTalk Operators Group" Description="The BizTalk Server Operators Group has the least privileges necessary to perform tasks required for operating the BizTalk Server environment after installation.">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147483654"> DOMAIN \BizTalk Server Operators UAT</NTAccount>

        </NTCredential>

        <NTCredential ID="BTS_B2B_OPERATOR_GROUP" DisplayName="BizTalk B2B Operators Group" Description="The BizTalk Server B2B Operators Group has the least privileges necessary to perform tasks required for operating the BizTalk Server B2B environment after installation.">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147483654"> DOMAIN \BizTalk Server B2B Operators UAT</NTAccount>

        </NTCredential>

      </Answer>

      <Answer Value="Join" GUID="{4D12E6A3-552E-4936-9DD3-59E1190FA324}" />

    </Question>

  </Feature>

  <Feature Name="Engine,BTSCfg" DisplayName="BizTalk Server runtime components" Version="1.0" Description="These settings determine the manner in which the BizTalk hosts and host instances are created." ConfigByDefault="true">

    <Question ID="HOST" Text="&amp;Create In-Process Host and Instance" Answers="Yes,No" Default="Yes">

      <Answer Value="Yes" GUID="{8E714C78-05B8-45d1-9B50-D737EF7AD682}" Selected="Yes">

        <Question ID="TRUSTEDHOST" Text="&amp;Trusted" Answers="Yes,No" Default="No">

          <Answer Value="Yes" GUID="{D460CE6D-CCF1-4ebf-BDC9-3149021B91ED}" />

          <Answer Value="No" GUID="{F507BD3D-2205-47bc-A7EF-0E45603BB6C4}" Selected="Yes" />

        </Question>

        <Question ID="GENERICHOST" Text="32-bit on&amp;ly" Answers="Yes,No" Default="No">

          <Answer Value="Yes" GUID="{5D3B2217-D744-4D50-B931-FED9E259628D}" />

          <Answer Value="No" GUID="{CBF077AE-2771-473E-9E0C-D955D5EB5692}" Selected="Yes" />

        </Question>

        <NTCredential ID="BTS_HOST_GROUP" DisplayName="BizTalk Host Users Group" Description="Windows group for accounts with access to the In-Process BizTalk  hosts (hosts processes in the BizTalk Server).">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147483654">TRAFGLOBAL\BizTalk Application Users UAT</NTAccount>

        </NTCredential>

        <Name ID="BTS_HOST_NAME" DisplayName="Ho&amp;st name:" Description="Name of the In-Process BizTalk  host (eg, BizTalkServerApplication)" Hidden="false">

          <Value>BizTalkServerApplication</Value>

        </Name>

        <NTService ID="{B64F63FA-E24E-4991-86F0-ED9F65B68A98}" DisplayName="BizTalk Host Instance Account" Description="Windows account with access to a specific In-Process BizTalk host instance. This account will be given Log on as Service rights.">

          <UserName>ServiceAccountName</UserName>

          <Domain>TRAFGLOBAL</Domain>

          <Password><![CDATA[TypeServiceAccountPasswordHere]]></Password>

        </NTService>

      </Answer>

      <Answer Value="No" GUID="{D9164C48-8179-4a40-912D-1BF4C3EFE70B}" />

    </Question>

    <Question ID="ISOHOST" Text="Cr&amp;eate Isolated Host and Instance" Answers="Yes,No" Default="Yes">

      <Answer Value="Yes" GUID="{5638D8B2-58C9-4b2a-B5B1-3771ADECC327}" Selected="Yes">

        <Question ID="TRUSTEDIHOST" Text="Truste&amp;d" Answers="Yes,No" Default="No">

          <Answer Value="Yes" GUID="{D460CE6D-CCF1-4ebf-BDC9-3149021B91ED}" />

          <Answer Value="No" GUID="{F507BD3D-2205-47bc-A7EF-0E45603BB6C4}" Selected="Yes" />

        </Question>

        <Question ID="GENERICIHOST" Text="32-bit onl&amp;y" Answers="Yes,No" Default="Yes">

          <Answer Value="Yes" GUID="{5D3B2217-D744-4D50-B931-FED9E259628D}" Selected="Yes" />

          <Answer Value="No" GUID="{CBF077AE-2771-473E-9E0C-D955D5EB5692}" />

        </Question>

        <NTCredential ID="BTS_IHOST_GROUP" DisplayName="BizTalk Isolated Host Users Group" Description="Windows group for accounts with access to the Isolated BizTalk hosts (hosts processes not running on BizTalk Server, such as HTTP and SOAP)">

          <NTAccount ScopeType="105" UpLevelFlags="672" DownLevelFlags="2147483654"> DOMAIN \BizTalk Isolated Host Users UAT</NTAccount>

        </NTCredential>

        <Name ID="BTS_IHOST_NAME" DisplayName="Is&amp;olated Host name:" Description="Name of the Isolated BizTalk host (eg BizTalkServerIsolatedHost)" Hidden="false">

          <Value>BizTalkServerIsolatedHost</Value>

        </Name>

        <NTService ID="{D0A37CEE-F24E-4193-A19F-47B05D7EDA21}" DisplayName="BizTalk Isolated Host Instance Account" Description="Windows account with access to a specific Isolated BizTalk  host instance. This account will be given Log on as Service rights.">

          <UserName>ServiceAccountName</UserName>

          <Domain>TRAFGLOBAL</Domain>

          <Password><![CDATA[TypeHereServiceAccountPassword]]></Password>

        </NTService>

      </Answer>

      <Answer Value="No" GUID="{5782A1A5-8578-4942-9CBB-E443A15A0B99}" />

    </Question>

  </Feature>

  <Feature Name="MOT" DisplayName="BAM runtime" Version="1.0" Description="Tracking data decoding service used to move tracked data and persist it for query use." />

  <InstalledFeature>MsEDIAS2</InstalledFeature>

  <InstalledFeature>MsEDIAS2StatusReporting</InstalledFeature>

  <InstalledFeature>WCFAdapter</InstalledFeature>

  <InstalledFeature>InfoWorkerApps</InstalledFeature>

  <InstalledFeature>BAMPortal</InstalledFeature>

  <InstalledFeature>WcfAdapterAdminTools</InstalledFeature>

  <InstalledFeature>PAM</InstalledFeature>

  <InstalledFeature>Development</InstalledFeature>

  <InstalledFeature>MsEDISchemaExtension</InstalledFeature>

  <InstalledFeature>MsEDISDK</InstalledFeature>

  <InstalledFeature>MsEDIMigration</InstalledFeature>

  <InstalledFeature>Documentation</InstalledFeature>

  <InstalledFeature>SDK</InstalledFeature>

  <InstalledFeature>WMI</InstalledFeature>

  <InstalledFeature>BizTalk</InstalledFeature>

  <InstalledFeature>MOT</InstalledFeature>

  <InstalledFeature>Engine</InstalledFeature>

  <InstalledFeature>MSMQ</InstalledFeature>

  <InstalledFeature>Runtime</InstalledFeature>

  <InstalledFeature>RfidEventForwarderMessageTransform</InstalledFeature>

  <InstalledFeature>AdminAndMonitoring</InstalledFeature>

  <InstalledFeature>MonitoringAndTracking</InstalledFeature>

  <InstalledFeature>AdminTools</InstalledFeature>

  <InstalledFeature>BizTalkAdminSnapIn</InstalledFeature>

  <InstalledFeature>HealthActivityClient</InstalledFeature>

  <InstalledFeature>BAMTools</InstalledFeature>

  <InstalledFeature>Migration</InstalledFeature>

  <InstalledFeature>BizTalkExplorer</InstalledFeature>

  <InstalledFeature>BizTalkExtensions</InstalledFeature>

  <InstalledFeature>OrchestrationDesigner</InstalledFeature>

  <InstalledFeature>Designer</InstalledFeature>

  <InstalledFeature>PipelineDesigner</InstalledFeature>

  <InstalledFeature>XMLTools</InstalledFeature>

  <InstalledFeature>AdapterImportWizard</InstalledFeature>

  <InstalledFeature>VSTools</InstalledFeature>

  <InstalledFeature>WCFDevTools</InstalledFeature>

  <InstalledFeature>DeploymentWizard</InstalledFeature>

  <InstalledFeature>TrackingProfileEditor</InstalledFeature>

  <InstalledFeature>SSOAdmin</InstalledFeature>

  <InstalledFeature>AdditionalApps</InstalledFeature>

  <InstalledFeature>SSOServer</InstalledFeature>

  <InstalledFeature>RulesEngine</InstalledFeature>

  <InstalledFeature>OLAPNS</InstalledFeature>

  <InstalledFeature>FBAMCLIENT</InstalledFeature>

  <InstalledFeature>BAMEVENTAPI</InstalledFeature>

  <InstalledFeature>ProjectBuildComponent</InstalledFeature>

</Configuration>

 

Type the following command to run the PowerShell command prompt under service account which has the admin rights on SQL to configure BizTalk

 

Start-Process PowerShell -Credential DOMAIN \SVC_BizTalk_Dev

 

 

Here new PowerShell window will be open and then type the following command and press enter button

 

PowerShell C:\Temp\ 3-BiztalkSilentInstall-Configuration.ps1

 

 

Note: You must be a member of the local Administrators group to install and configure BizTalk Server.

User account used for installing BizTalk need to have Database Administrator rights on SQL server

 

 

No comments:

Post a Comment