How To Set Up a COM+ Application on a Cluster Server (271844)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q271844

SUMMARY

This article describes how to set up a COM+ application on a cluster server.

MORE INFORMATION

Prepare the Server DLL

  1. Move all resources to node 1 to set node 1 as the active node.
  2. Create a folder on a local drive of node 1 (for example, E:\MyDlls).
  3. Copy the server dynamic link library (DLL) to the folder that you created in step 2.

Set Up COM+ Application

  1. Create a new COM+ Server Application named ExpTest on node 1.
  2. Add the server DLL that you prepared in the preceding steps as a new component in ExpTest.
  3. Test the installation locally on node 1 to verify that the COM+ application is set up correctly.
  4. Export ExpTest as a Server Application to a shared drive on the cluster (for example, X:\Share\Tst.msi).
  5. Move resources to node 2.
  6. On node 2, install the .msi file that was saved to the shared drive (for example, X:\Share\Tst.msi). This operation replicates the COM+ application to node 2.
  7. Test the COM+ application installation locally on node 2.
NOTE: The location of the COM+ application on node 2 is not E:\MyDlls; instead, it is C:\ProgramFiles\COM Plus Applications\<GUID of Component>.

Deploy the COM+ Application and Test

  1. On either node 1 or node 2, open Component Services.
  2. Right-click My Computer, and click Properties.
  3. On the Options tab, set the Application Proxy RSN value to the virtual cluster name.
  4. Export ExpTest as an Application proxy to Client.msi
  5. Copy and install Client.msi on the client computer, which registers the COM+ application on the client computer.
  6. Test your client before and after failover to verify that you have completed these steps successfully.
NOTE: If you get an "Access Denied" error message, make sure that your client identity can be authenticated by the cluster server. When you cross a mistrusted domain, you need to match user name and password.

Modification Type:MinorLast Reviewed:8/30/2004
Keywords:kbhowto KB271844