Moving the ENTSSO service to a new cluster in an existing BizTalk server environment
Recently I came across a requirement to move master secret to a separate cluster where one of the BizTalk servers are presently acting as the master secret server.
Most of the articles available over internet talk about creating a new ENTSSO environment which compelled me to create a step by step guide to achieve this requirement.
Current Environment setup:
BTSNODE1
and BTSNODE2 are the existing BizTalk nodes in the environment.
Let’s call the new clustered nodes as Node1 and Node2.
Currently BTSNODE1 is the master secret server in this BizTalk group.
Steps to be done before the downtime window (assuming that the windows nodes are clustered):
- Determine if MSDTC CID values for new nodes are unique, check the values for the entries under the HKEY_CLASSES_ROOT\CID registry key on both computers. If these values are not unique for each computer then uninstall and reinstall MSDTC using the below commands from an elevated command prompt:
msdtc -uninstall
msdtc –install
Make sure the MSDTC settings are properly set as on the existing BizTalk nodes. Refer, How to Enable MSDTC on the BizTalk Server : https://msdn.microsoft.com/en-us/library/aa544733(v=CS.70).aspx
Install BizTalk Server 2010 on each cluster node. In the Component Installation dialog box of the Microsoft BizTalk Server Installation Wizard, select to install the Enterprise Single Sign-On Administration Module and Enterprise Single Sign-On Master Secret Server components. After installation has completed successfully you have the option to run the BizTalk Server 2010 Configuration program but do not do so at this time.
Designate a domain account that is a member of the SSO Administrators domain group. The Enterprise SSO service on each node will be configured to log on as this domain account. This account must have the Log on as a service right on each node in the cluster.
Start the BizTalk Server 2010 Configuration program. Click Start, point to Programs, point to Microsoft BizTalk Server 2010, and then click BizTalk Server Configuration to display the Microsoft BizTalk Server 2010 Configuration dialog box.
Choose the Custom Configuration option and enter the appropriate values for the Database server name, User name and Password fields. After entering these values click the Configure button to continue.
Since you will be moving the existing master secret server to the cluster do not choose the option to Create a new SSO system when configuring Enterprise SSO on the cluster nodes. When configuring each cluster node, set the following options for the Enterprise SSO feature in the BizTalk Server Configuration screen
Check the box next to Enable Enterprise Single Sign-On on this computer.
Click the option to Join an existing SSO system.
Enter values for the existing SSO Database Server Name and Database Name.
Enter the existing SSO Service account when specifying the account to use for the Enterprise Single Sign-On Service.
- Click the Apply Configuration option to display the Microsoft BizTalk Server 2010 Configuration Wizard Summary dialog box.
- Click Next to apply the configuration.
- Click Finish to close the Microsoft BizTalk Server 2010 Configuration Wizard.
- Close the Microsoft BizTalk Server 2010 Configuration program.
- Copy the existing master secret backup file from BTSNODE1 to the \Enterprise Single Sign-On folder on each cluster node.
- Create a clustered MSDTC resource.
- Right-click the clustered service or application, point to Add a resource, and click Generic Service to display the New Resource Wizard dialog
- In the Generic Service Parameters dialog box, if you do not click to select the Use Network Name for computer name check box, SSO client computers will generate the following error when they try to contact this clustered instance of the Enterprise SSO service.
ERROR: 0xC0002A0F : Could not contact the SSO server 'XXXXXX'. Check that SSO is configured and that the SSO service is running on that server. (RPC: 0x800706D9: There are no more endpoints available from the endpoint mapper.) - Continue with the steps and add the dependency for the name and disk.
- Failover the service from Node 1 to Node2 and back to make sure the service is coming online on both the nodes.
Steps to be performed during downtime
18. To update the master secret server name in the SSO database
Type the following commands from a command prompt on the active cluster node to stop and restart the Enterprise SSO service:|
net stop ENTSSO
net start ENTSSO
Change the master secret server name in the SSO database to the cluster name by following these steps:
The cluster name is the name defined for the network name resource that you have created in the cluster group / clustered service or application that will contain the clustered Enterprise SSO service.
For example, the name may be BIZTALKCLUSTER. BIZTALKCLUSTER is a placeholder for the actual network name resource that is created in the cluster group / clustered service or application.
Paste the following code in a text editor :
<sso>
<globalInfo>
<secretServer>BIZTALKCLUSTER</secretServer>
</globalInfo>
</sso>
Save the file as an .xml file. For example, save the file as SSOCLUSTER.xml.
19. At a command prompt, change to the Enterprise SSO installation folder. By default, the installation folder is <drive> :\Program Files\Common Files\Enterprise Single Sign-On. Type the following command at the command prompt to update the master secret server name in the database:
ssomanage -updatedb SSOCLUSTER.xml
20. Restore the master secret on the active node :
From an elevated command prompt, go to the Enterprise Single Sign-On installation directory. The default installation directory is <drive> :\Program Files\Common Files\Enterprise Single Sign-On.
Type ssoconfig –restoreSecret <restore file> , where <restore file> is the path and name of the file where the master secret is stored.
22. Failover the cluster and peform step 20 on the current active node.
21. Failover the cluster resource to make sure the service is coming online on both the servers.
22. Restart the DTC services(local and\or clustered) on all the concerned nodes
23. Restart ENTSSO service on BTSNODE1 and BTSNODE2.
24. From the BTSNODE1 and BTSNODE2, make sure we are able to create a receive port and send port successfully. If yes, we are good.
Hope this helps!!!
Written by
Jainath Ramanathan
Reviewed by
Chirag Pavecha
Microsoft India GTSC
Comments
- Anonymous
October 28, 2014
Hello,So looks like the clustered nodes - NODE1 and NODE2 also need BizTalk Server installed. Will that also be considered for licensing (even though we use only SSO functionality).Thanks! - Anonymous
November 30, 2014
The comment has been removed