Microsoft KB Archive/324868

= HOW TO: Manage COM+ Partitions and Partition Sets in Windows Server 2003 =

PSS ID Number: 324868

Article Last Modified on 10/30/2003

-

The information in this article applies to:


 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Standard Edition

-



This article was previously published under Q324868



IN THIS TASK

 * SUMMARY
 * ** COM+ Partitions
 * COM+ Partition Sets
 * Create a COM+ Partition
 * Create a COM+ Partition Set
 * Map a User or Organizational Unit to a COM+ Partition Set
 * View COM+ Partitions and Partition Sets



SUMMARY
This article describes how to manage COM+ partitions in a Windows Server 2003 Enterprise Edition environment or a Windows Server 2003 Standard Edition environment. The following tasks are performed by a member of the administrators group on a computer running Windows Server 2003 Enterprise Edition or Windows Server 2003 Standard Edition.

back to the top

COM+ Partitions
COM+ partitions that are stored in Active Directory are used to map a local COM+ partition, which stores the actual COM+ application, to specific users or organizational units in your enterprise. COM+ applications are groups of COM components developed to work together to use COM+ services such as queuing, and role-based security.

There are two types of COM+ partitions: COM+ partitions stored in Active Directory and local COM+ partitions stored on application servers. With COM+ partitions stored in Active Directory, you can assign domain users and whole organizational units to applications stored in local COM+ partitions. Local COM+ partitions are application containers that are used to manage multiple instances of COM+ applications on a single application server.

A local COM+ partition can only store one instance of an application. In other words, if you have to make two or more versions of the same application (AppX 1.0 and AppX 2.0) available to domain users, you would have to create two separate local COM+ partitions on an application server and associate (or link) them with two separate COM+ partitions in Active Directory.

back to the top

COM+ Partition Sets
COM+ partition sets can contain one or more COM+ partitions (stored in Active Directory). COM+ partition sets are used to assign one or more applications, which reside on an application server, to domain users or organizational units. Each COM+ partition set defines the COM+ partitions for which a domain user is permitted to access.

COM+ partition sets provide the following advantages to both administrators and application programmers:
 * It is easier to administer distributed applications because you can tailor access of a particular set of domain users to a specific set of applications.
 * You can apply security policies to domain users and organizational units in each partition set.

Before you assign COM+ partition sets, you must first logically group one or more COM+ partitions into a single COM+ partition set. After a COM+ partition set has been defined, you can make applications available throughout the domain by mapping COM+ partition sets to domain users or organizational units. To do this, you must perform tasks on both the domain controller where Active Directory resides and on the application server where the COM+ application is installed.

back to the top

Create a COM+ Partition

 * 1) Click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.
 * 2) Click the domain node, expand System, click ComPartitions, and then click New Partition.
 * 3) In the General Properties for New Partition dialog box, type a name for the new partition under Partition Name.NOTE: After you have created a COM+ partition using Active Directory Users and Computers, you must then create an empty partition on an application server and associate it with the appropriate COM+ partition in Active Directory.

When you are creating a new COM+ partition, a partition ID is automatically generated and displayed under Partition ID in the Properties dialog box. If you want to specify a different GUID for the new COM+ partition, delete the existing partition ID, and then type a new one.

back to the top

Create a COM+ Partition Set

 * 1) Click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.
 * 2) Click the domain node, expand System, click ComPartitionSets, and then click New Partition Set.
 * 3) On the General Properties on New Set page, type the name and description of the new partition set, and then click Next.
 * 4) On the Configure Partition for New Set page, click the partitions that you want to include in the partition set, click Add, and then click Next.
 * 5) On the Configure Users for New Set page, click Add User and Add Org Unit to add the users and organizational units that are to be mapped to the partition set, and then click Finish.NOTE: To display the System folder, click Advanced Features on the View menu of Active Directory Users and Computers.

By using COM+ partition sets, you can associate multiple users or organizational units with a COM+ partition set at one time instead of having to map multiple user identities or organizational units. A COM+ partition set is available to users or organizational units that are mapped to it.

When creating a new COM+ partition set, a partition ID is automatically generated and displayed under ID in the Properties dialog box. If you want to specify a different GUID for the new COM+ partition set, delete the existing partition ID, and then type a new one.

back to the top

Map a User or Organizational Unit to a COM+ Partition Set
 Click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers. Do one of the following:  From the user or organizational unit:

 In the console tree, right-click the user name or organizational unit that you want to map to a partition set, and then click Properties. On the COM+ tab, under Partition Set, click the partition set to which you want to map the user or organizational unit.  From the COM+ partition set:

 Open Active Directory Users and Computers, click the domain node, expand System, click ComPartitionSets, and then click Configure Set Members.</li> In the Add/Remove Users dialog box, click Add User and Add Org Unit to add the users and organizational units that are to be mapped to the partition set, and then click OK.</li></ol>

NOTE: To display the System folder, click Advanced Features on the View menu of Active Directory Users and Computers.</li></ul> </li></ol>

back to the top

View COM+ Partitions and Partition Sets
 Click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.</li> Do one of the following: <ul> To view partitions, click the domain node, expand System, and then click ComPartitions.</li> To view partition sets, click the domain node, expand System, and then click ComPartitionSets.</li></ul>

NOTE: To display the System folder, click Advanced Features on the View menu of Active Directory Users and Computers.

To view the properties of a COM+ partition or partition set, right-click it, and then click Properties.</li></ol>

back to the top

Additional query words: kbactivedirectory

Keywords: kbWebServices kbAppServices kbhowto kbHOWTOmaster KB324868

Technology: kbWinServ2003Ent kbWinServ2003EntSearch kbWinServ2003Search kbWinServ2003St

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.