Classic Metadirectory Walkthrough: Implementation Steps
Applies To: Windows Server 2003 with SP1
Previous Steps in This Walkthrough
Scenario Walkthrough
This scenario walkthrough describes how to use Microsoft Identity Integration Server 2003 to create the management agents (MAs) used in the scenario, run the MAs to import data into Microsoft Identity Integration Server 2003, and then check the results in the metaverse.
The steps in this walkthrough use the Identity Manager to administer the MAs and view the contents of the metaverse. You will create the MAs in the following order:
Fabrikam HR MA
Fabrikam LDAP Data Interchange Format (LDIF) MA
Fabrikam AD MA
Fabrikam Sun ONE Directory Server 5.1 MA
Fabrikam Telephone MA
The steps involved in creating and using each MA in this scenario demonstrate features of Microsoft Identity Integration Server 2003 and the Identity Manager. The steps for the different MAs adhere to the following outline:
Configure the MA.
Create a profile to run the MA.
Review the results of the MA process to verify that the MA configuration is correct.
The Fabrikam HR MA
The purpose of the Fabrikam HR MA is to manage the flow of data from the Fabrikam HR system into Microsoft Identity Integration Server 2003. No data from the HR system will be directly exported to the other connected data sources.
You do not need to set the attribute precedence on the Fabrikam HR MA because it is the first MA to import data into Microsoft Identity Integration Server 2003. Attribute precedence will be set when you create the Fabrikam LDAP Data Interchange Format (LDIF) MA. The HR system is authoritative for all its attributes except telephoneNumber and displayName.
In this step of the walkthrough, you will perform the following tasks:
Create the Fabrikam HR MA and run profile.
Run the Fabrikam HR MA using the run profile.
Verify the results of the Fabrikam HR MA run.
Create the Management Agent
When you create the Fabrikam HR MA you will use the management agent for SQL Server 7.0 or 2000. Using this management agent to create the Fabrikam HR MA involves the following steps:
Create a management agent
Connect to database
Configure columns
Configure a connector filter
Configure join and projection rules
Configure attribute flow
Configure deprovisioning
Configure extensions
Creating the Fabrikam HR MA does not require that you configure MA settings for each of these steps.
To create the Fabrikam HR MA
Open Identity Manager.
On the Tools menu, click Management Agents.
On the Actions menu, click Create.
In Create Management Agent, in Management agent for, select SQL Server 7.0 or 2000.
In Name, type Fabrikam HR MA.
In Description, type a description for the management agent.
Click Next.
In Connect to Database, in Server, type the SQL server name or the IP address and port number.
In Database, type the database name MIIS_Scenario_CM.
In Table/View, type the table name EmployeeData.
In Authentication mode, select SQL authentication or Windows integrated authentication, and then type a user account, password and logon domain. You may use the Domain Admin account. For Windows integrated authentication, you may substitute the computer name of the server for the domain.
Click Next.
In Configure Columns, under Columns, verify that all of the attributes that are contained in the database table/view appear in the list.
The table below lists the attributes that should be contained in the database table EmployeeData.
Name | Native Type | Limit | Nullable | Type |
---|---|---|---|---|
c |
DBTYPE_WSTR |
3 |
No |
String |
co |
DBTYPE_WSTR |
50 |
No |
String |
company |
DBTYPE_WSTR |
50 |
No |
String |
branchID |
DBTYPE_WSTR |
5 |
No |
String |
displayName |
DBTYPE_WSTR |
50 |
No |
String |
employeeID |
DBTYPE_WSTR |
10 |
No |
String |
fileAs |
DBTYPE_WSTR |
50 |
No |
String |
givenName |
DBTYPE_WSTR |
50 |
No |
String |
samAccountName |
DBTYPE_WSTR |
20 |
No |
String |
sn |
DBTYPE_WSTR |
50 |
No |
String |
telephoneNumber |
DBTYPE_WSTR |
20 |
No |
String |
title |
DBTYPE_WSTR |
30 |
No |
String |
hireDate |
DBTYPE_DBTIMESTAMP |
16 |
No |
String |
employeeType |
DBTYPE_WSTR |
20 |
No |
String |
employeeStatus |
DBTYPE_WSTR |
10 |
No |
String |
manager |
DBTYPE_WSTR |
10 |
Yes |
String |
In Configure special attributes, click Set Anchor.
In Set Anchor dialog, in Available attributes, click the employeeID attribute, and then click Add.
The employeeID attribute is the only attribute from the HR system that is unique and immutable. It is the primary key for the table and will be the only anchor attribute for this MA.
Click OK.
Scroll down the list of attributes until you locate the manager attribute.
Click Edit.
Select Reference (DN), then click OK.
Click Next.
On the Configure Connector Filter page, you are not required to modify any settings.
Click Next.
On the Configure Join and Projection Rules page, click New Projection Rule.
In the Projection dialog box, in Projection type, select Declared.
In Metaverse object type, click person, as shown in the figure below.
Figure 1.5 Projection Type Dialog Box
To add the projection rule, click OK.
Click Next.
On the Configure Attribute Flow page, in Build Attribute Flow, in Data source object type, select person.
In Data source attribute, select the branchID as the connected directory attribute that you want to map.
To specify a simple attribute flow where the connected directory attribute is mapped to a metaverse attribute as a whole, click Direct (default setting).
In Metaverse object type, click the metaverse object type person.
In Metaverse attribute, click the metaverse attribute department.
In Flow Direction, to specify the connected directory attribute to have precedence over the metaverse attribute, click Import.
Click New.
Continue mapping the attributes until you have completed all of the mappings shown in the table below.
HR System (Employee Data object) | Metaverse (person object) | Mapping Type | Flow |
---|---|---|---|
branchID |
department |
Direct |
Import |
c |
c |
Direct |
Import |
co |
co |
Direct |
Import |
company |
company |
Direct |
Import |
employeeID |
employeeID |
Direct |
Import |
employeeStatus |
employeeStatus |
Direct |
Import |
employeeType |
employeeType |
Direct |
Import |
fileAs |
displayName |
Direct |
Import |
givenName |
givenName |
Direct |
Import |
manager |
manager |
Direct |
Import |
sn |
sn |
Direct |
Import |
telephoneNumber |
telephoneNumber |
Direct |
Import |
title |
title |
Direct |
Import |
Click Next.
On the Configure Deprovisioning page, you are not required to modify any settings. Click Next.
On the Configure Extensions page, you are not required to modify any settings.
Click Finish to create the Fabrikam HR MA.
Run the Management Agent
Before running the Fabrikam HR MA, you will create a run profile. The Fabrikam HR MA will be performing a full import and delta synchronization of the data from the HR system, and therefore you will use the Full Import and Delta Synchronization step in the run profile. The Full Import and Delta Synchronization step will run a full import of all objects included in the connected data source import file you specify.
To create the Fabrikam HR MA run profile
On the Tools menu, click Management Agents.
In Management Agents, click Fabrikam HR MA.
On the Actions menu, click Configure Run Profiles.
On the Configure Run Profiles for Fabrikam HR MA page, click New profile.
In Configure Run profile, on the Profile name page, in Name, type Full Import for the name of the run profile, and then click Next.
In Configure Run Profile, on the Configure Step page, in Specify step type, in Type, click Full Import and Delta Synchronization.
In Threshold, ensure that Specify number of objects to process is not selected.
The threshold number of objects to process is used for testing. It will let you import a portion of a table and verify the results before importing the entire table. When the option is not selected, Microsoft Identity Integration Server 2003 will process the entire table.
Click Next.
On the Management agent configuration page, in Partition, select default.
Click Finish, and then click OK.
To run the Fabrikam HR MA
On the Tools menu, click Management Agents.
In the Management Agents, click the Fabrikam HR MA management agent.
On the Actions menu, click Run.
On the Run Management Agent page, in Run profiles, click the Full Import run profile, and then click OK.
While the MA is running, the status in the State column in the Management Agents view will indicate Running. After the MA is finished running, the status will switch to Idle.
Verify Results
After the Fabrikam HR MA has run the Full Import run profile, you can verify that the import has performed correctly by using Operations and Metaverse Search in Identity Manager.
Use Operations to Verify Run Profile Results
Operations is used to display and keep status on each run of a management agent. For every management agent run, information is logged, including the time of the run, the success of the run, synchronization statistics and errors. You will use Operations to view the run history of the Fabrikam HR MA and confirm that the import operation performed correctly.
To view the run history of the Fabrikam HR MA
On the Tools menu, click Operations.
In Management Agent Operations, click the Fabrikam HR MA management agent.
In Synchronization Statistics, under Staging, the Adds statistic should be 100.
This indicates that the 100 new objects were added to the connector space.
Under Inbound Synchronization, the Projections and Connectors with Flow Updates statistics should each be 100.
This indicates that 100 new objects were added to the Microsoft Identity Integration Server 2003 metaverse.
Use Metaverse Search to Verify Run Profile Results
By using Metaverse Search, you can search the metaverse for objects, attributes, or values. All metaverse attributes can be used as search criteria in Metaverse Search. You will use Metaverse Search to search for the 100 objects that should now be in the metaverse.
Additionally, a search filter is provided in the files that came with this scenario. The file name is CM emp active.qry.
To use Metaverse Search to verify that a MA operation has performed correctly:
Identify the object attributes you want to see in the search results.
Set up the criteria for your search.
Execute the search and review the results.
To create a Metaverse Search query
On the Tools menu, click Metaverse Search.
In Metaverse Search, in Scope by Object Type, select person.
On the Actions menu, click Column Settings.
In Search Result Columns Settings, in Available Columns, add the following attributes to the Selected Columns by selecting the attribute from the list on the left and clicking Add (as shown in the figure below):
givenName
sn
telephoneNumber
employeeID
employeeStatus
mail
description
comment
Figure 1.6: Fabrikam HR MA Metaverse Search Columns Settings
Click OK.
On the Actions menu, click Add Clause.
In Attribute, click employeeStatus.
In Operator, click Equals.
In Value, type active.
On the Actions menu, click Search.
After the search is completed, you should see 100 objects listed in Search Results.
To sort the results by their givenName attribute, click the givenName column heading.
To view the details of any object in the search results, double-click the object in the Search Results.
In Metaverse Object Properties, click the Connectors tab, as shown in the figure below.
Figure 1.7: Connectors Tab
The Connectors tab shows information about the connector space objects that exist for this metaverse object. This shows that the Fabrikam HR MA has a connector object.
Note
In the object properties dialog box, you can see that the displayName attribute has the syntax lastname, firstname. In this scenario, you want the displayName to have firstname lastname as its syntax. This will be corrected later in the scenario.
The Fabrikam LDAP Data Interchange Format MA
The Fabrikam LDAP Data Interchange Format MA is configured for both group and person object types. The LDAP Data Interchange Format file from the Fabrikam Exchange system contains both distribution lists and mailboxes. The distribution lists will be imported to the metaverse as group objects, and the mailboxes will be imported as person objects.
In this step of the walkthrough, you will perform the following tasks:
Create the Fabrikam LDAP Data Interchange Format MA.
Configure attribute precedence for the Fabrikam LDAP Data Interchange Format MA.
Run the Fabrikam LDAP Data Interchange Format MA run profile.
Verify the results.
During the configuration of the Fabrikam LDAP Data Interchange Format MA, you will also learn how to set up join rules to join import objects to objects in the metaverse. In this scenario, you will join objects from the Exchange system to objects that were projected to the metaverse from the HR system.
The Fabrikam LDAP Data Interchange Format MA configuration is different than the Fabrikam HR MA configuration performed previously. In the Fabrikam LDAP Data Interchange Format MA configuration, you will configure attribute precedence to establish the rules that determine whether the values of the HR or Exchange system take precedence in the event of a conflict.
Create the Management Agent
When you create the Fabrikam LDAP Data Interchange Format MA, you will use the management agent for LDAP Data Interchange Format (LDIF) to perform the following tasks:
Create a management agent
Select template input file
Configure attributes
Map object types
Define object types
Configure partitions
Configure a connector filter
Configure join and projection rules
Configure attribute flow
Configure deprovisioning
Configure extensions
To create the Fabrikam LDAP Data Interchange Format MA
On the Tools menu, click Management Agents.
On the Actions menu, click Create.
In Management agent for, click LDAP Data Interchange Format (LDIF).
In Name, type Fabrikam LDAP Data Interchange Format MA.
Click Next.
In Template Input File, click Browse.
Locate and select the fabrikam-exchange-sample-file.ldif sample file provided with the scenario.
If you copied the scenario files from the Microsoft Identity Integration Server 2003 installation media, the file should be located in the following directory:
C:\Scenarios\ClassicMetadirectory
Click Next.
Under Attributes, verify that all of the attributes that are contained in the template file appear in the list, as shown in the table below.
Name | Type | Multi-valued |
---|---|---|
Company |
String |
No |
Extension-Attribute-1 |
String |
No |
Extension-Attribute-2 |
String |
No |
Home-MTA |
String |
No |
MAPI-Recipient |
String |
No |
Cn |
String |
No |
Co |
String |
No |
department |
String |
No |
distinguishedName |
String |
No |
facsimileTelephoneNumber |
String |
No |
givenName |
String |
No |
String |
No |
|
mailPreferenceOption |
String |
No |
memberOf |
String |
No |
mobile |
String |
No |
otherMailbox |
String |
Yes |
pager |
String |
No |
Rdn |
String |
No |
rfc822Mailbox |
String |
No |
Sn |
String |
No |
telephoneNumber |
String |
No |
textEncodedORaddress |
String |
No |
Title |
String |
No |
Uid |
String |
No |
Report-To-Originator |
String |
No |
Report-To-Owner |
String |
No |
member |
String |
Yes |
Click Set anchor.
Select the Use distinguished name as anchor attribute check box.
In this scenario, the mailbox is never moved and always stays in the Recipient container. Therefore, you can use the distinguished name (DN) as an anchor. When a template file contains a DN that you want to use as an anchor attribute, you select the Use distinguished name as anchor attribute option.
Click OK.
On the Configure Attributes page, scroll down the list of attributes and select the member attribute from the Attributes list.
Click Edit to open the Edit Attribute dialog box, as shown in the following figure.
Figure 1.8: Edit Attribute Dialog Box
From Type, select Reference (DN).
Ensure that Attribute is multi-valued check box is selected.
Click OK, and then click Next.
Do not modify the settings on the Map Object Types page.
Click Next.
Do not modify the settings on the Define Object Types page.
Click Next.
On the Configure Partitions page, in Manage partitions, click Add.
The LDAP Data Interchange Format MA will have two partitions. One for individual mailboxes and one for the distribution lists.
In the Add Partition dialog box, in Partition Name, type mailboxes.
Click OK.
In Manage Partitions page, click Add again.
In the Manage Partition dialog box, in Partition Name, type distributionlists.
Click OK.
In the Partition column, configure the following:
For organizationalPerson, select mailboxes from the partition drop-down list.
For groupOfNames, select distributionlists from the partition drop-down list.
On the Configure Partitions page, in Manage partitions, select default, and then click Remove.
Click Next.
Do not modify the settings on the Configure Connector Filter page.
Click Next.
On the Configure Join and Projection Rules page, in the Data Source Object Type column, click the groupOfNames connected directory object.
This step is performed to configure the MA to handle both projection to the metaverse and to join data where appropriate. In this scenario, groupOfNames represents the Exchange distribution lists. You will project all of the Exchange distribution lists into the metaverse.
Click New projection rule.
Select Declared.
In Metaverse object type, select group.
Click OK.
In Data Source Object Type, click organizationalPerson.
The HR system will have information that is duplicated in the Exchange server. For example, both systems have givenName included in the attributes list. In this scenario, you want to join the information from these two systems in the metaverse. This join will be done by using the organizationalPerson object type from the Exchange import. You will set up the rule to match givenName and sn to the corresponding attributes in the metaverse.
Click New Join Rule.
From Metaverse object type, click person.
In Mapping Type, click Direct.
In both Data source attribute and Metaverse attribute, click sn.
Click Add Condition. A dialog will appear, warning that you are attempting a join mapping with a non-indexed metaverse attribute. Click OK to continue.
In both Data source attribute and Metaverse attribute, click givenName.
Click Add Condition (and click OK when the same warning dialog appears).
On Join Rule for organizationlPerson, click OK.
Click the plus sign (+) next to Mapping Group 1 to view details.
Click Next.
On the Configure Attribute Flow page, in Build Attribute Flow, in Data source object type, click the organizationalPerson data source object type.
As you did with the Fabrikam HR MA, you will map the attribute flow for the LDAP Data Interchange Format (LDIF) MA. The LDAP Data Interchange Format MA has two types of attributes to map: those that appear on organizationalPerson objects (mailboxes) and those that appear on groupOfNames objects (distribution lists). By having two types of attributes to map, the Fabrikam LDAP Data Interchange Format MA requires that you perform the step twice.
In Mapping Type, click Direct.
In Metaverse object type, click person.
In Data source attribute, click rdn.
In Flow Direction, click Import.
In Metaverse attribute, click displayName.
Click New.
Continue mapping the person attributes until you have completed all of the mappings listed in the table below.
Exchange Attribute | Metaverse Attribute | Mapping Type | Flow Direction |
---|---|---|---|
rdn |
displayName |
Direct |
Import |
Direct |
Import |
||
uid |
mailNickname |
Direct |
Import |
uid |
uid |
Direct |
Import |
From Metaverse attribute, click comment. This will flow the DN part selected to the metaverse comment attribute.
In Mapping Type, click Advanced.
Click New to create the new mapping.
Saving the name of the container, or some other part of the hierarchy, in a metaverse attribute can reduce the complexity of programming code required to parse the DN in rules extensions, or in other cases where the hierarchy determines some action to be taken. The mapping of DN parts solves the problem of saving container names without requiring a rules extension.
Next, you will map DN parts to save the name of the Exchange container where each recipient exists to the comment attribute of their metaverse entry.
Click Distinguished name, and then in Component, click the location number 2 where the name of the container object recipients exists in the distinguished name (DN) string.
The second DN part, Recipients, is where the mailbox exists in the Exchange system.
Click OK.
In Data source object, click groupOfNames.
In Mapping Type, click Direct.
In Flow Direction, click Import.
In Metaverse object type, click group.
Complete the mapping of the group attributes by using the Exchange group mapping in the table below (refer to the above section for the DN part mapping).
Exchange Attribute | Metaverse Attribute | Mapping Type | Flow Direction |
---|---|---|---|
rdn |
displayName |
Direct |
Import |
Direct |
Import |
||
member |
member |
Direct |
Import |
uid |
mailNickname |
Direct |
Import |
uid |
uid |
Direct |
Import |
description |
Advanced – Distinguished name Component 2 |
Import |
Click Next.
Do not modify the settings on the Configure Deprovisioning page.
Click Next.
On the Configure Extensions property page, click Finish to create the Fabrikam LDAP Data Interchange Format (LDIF) MA.
Establish Attribute Flow Precedence
Because information in the HR and Exchange systems is duplicated, the attributes in the metaverse have more than one potential source. Both the HR and Exchange systems contain the displayName attribute. Consequently, in this part of the Fabrikam LDAP Data Interchange Format MA configuration, you will establish rules in Microsoft Identity Integration Server 2003 that determine which of the systems take precedence when there is a conflict.
To establish the attribute flow precedence
On the Tools menu, click Metaverse Designer.
In Metaverse Designer, in Object types, click the person object, which contains the displayName attribute.
The metaverse attributes listed under Attributes are scoped by the Metaverse Object Type selected in the upper pane.
The Import Flow column under Attributes indicates the number of connected directories that can potentially flow values into a given attribute.
In Object Types, click person.
Under Attributes, click displayName.
On the Actions menu, click Configure Attribute Flow Precedence.
You will establish attribute flow precedence rules that allow you to specify that the Exchange server is the authoritative source for displayName and will overwrite values in the metaverse.
Select either of the MAs listed in the dialog box.
Click the up or down arrow to move the MAs to the order in the table below.
Metaverse Attribute | Management Agent Name | Rank |
---|---|---|
displayName |
Fabrikam LDAP Data Interchange Format MA |
1 |
Fabrikam HR MA |
2 |
- Click OK.
Run the Management Agent
The completed Fabrikam LDAP Data Interchange Format MA and the attribute precedence rules you created can now be used to create run profiles for importing the data from the Exchange LDIF files into Microsoft Identity Integration Server 2003. Before running the Fabrikam LDAP Data Interchange Format (LDIF) MA, you must copy the Exchange LDIF files to the Fabrikam LDAP Data Interchange Format MA working folder.
Every MA has its own working folder that is created when the MA is created. MAs process input and audit drop files in MA working folders. The working folder has the same name as the MA. If the MA is renamed, the working folder is also renamed. If the MA is deleted and the working folder contains data, it is renamed to mark it as a deleted directory.
All MA working folders are located in the Microsoft Metadirectory Services installation folder, under the MaData directory. For example, if you installed Microsoft Identity Integration Server 2003 on the C drive of the local server, the MA working folders are located in the following folder:
C:\Program Files\Microsoft Identity Integration Server\MaData
You must copy two Exchange LDIF files to the LDAP Data Interchange Format MA working folder:
Exchange mailboxes: fabrikam-exchange-users.ldif
Exchange distribution lists: fabrikam-exchange-groups.ldif
The first two files are used to import data into the two partitions of the Fabrikam LDAP Data Interchange Format MA.
If you followed the setup instructions for this scenario, the required files are located in the following directory on the server running Microsoft Identity Integration Server 2003:
C:\Scenarios\ClassicMetadirectory
Copy these files to the following directory on the server running Microsoft Identity Integration Server 2003:
C:\Program Files\Microsoft Identity Integration Server\MaData\Fabrikam LDAP Data Interchange Format MA.
Create the Run Profiles
To create the Fabrikam LDAP Data Interchange Format MA run profiles, perform the following tasks:
Create the run profile to supervise the import of mailboxes.
Create the run profile to supervise the import of distribution lists.
To create the Fabrikam LDAP Data Interchange Format MA run profiles
First, create the Fabrikam LDAP Data Interchange Format MA mailboxes run profiles. On the Tools menu, click Management Agents.
In Management Agents, click the Fabrikam LDAP Data Interchange Format MA.
On the Actions menu, click Configure Run Profiles.
Click New profile.
In Configure run profile, on the Profile name page, in Name, type the name Full Import Mailboxes for the run profile, and then click Next.
On the Configure Step page, in Specify step type, in Type, click Full Import and Delta Synchronization.
Ensure that Set log file options is None and that the Specify number of objects to process checkbox is not selected.
Click Next.
In Partition, click mailboxes.
In Input file name, type fabrikam-exchange-users.ldif or click Select to locate the file.
Click Finish, and then click OK.
After you create the Fabrikam LDAP Data Interchange Format MA mailboxes run profile, create the distribution lists run profile.
On the Tools menu, click Management Agents.
In Management Agents, click the Fabrikam LDAP Data Interchange Format MA.
On the Actions menu, click Configure Run Profiles.
Click New profile.
In Configure run profile, on the Profile name page, in Name, type the name Full Import DLs for the run profile, and then click Next.
In Configure Run Profile, on the Configure Step page, in Specify step type, in Type, click Full Import and Delta Synchronization.
Click Next.
In Partition, click distributionlists.
In Input file name, type fabrikam-exchange-groups.ldif or click Select to locate the file.
Click Finish, and then click OK.
Run the Management Agent
After you create the run profiles associated with the Fabrikam LDAP Data Interchange Format (LDIF) MA, import your Exchange data by running the run profiles. After you run the run profiles, use Operations to check the results.
To run the Fabrikam LDAP Data Interchange Format MA run profiles
First, run the Full Import Mailboxes run profile. In Management Agents, under Management Agents, click Fabrikam LDAP Data Interchange Format MA.
On the Actions menu, click Run.
In the Run Management Agent dialog box, click the Full Import Mailboxes run profile.
To run the run profile with the Fabrikam LDAP Data Interchange Format MA, click OK.
Running a run profile from the client user interface (UI) will cause the Run Management Agent dialog box to close and return you to the Management Agents view.
Now run the Full Import DLs run profile. In the Management Agents view, under Management Agents, wait until the Fabrikam LDAP Data Interchange Format MA State column switches to Idle.
The status will switch to Idle when the Full Import mailboxes run profile has finished running.
In the Management Agents view, click the Fabrikam LDAP Data Interchange Format MA.
On the Actions menu, click Run.
Click the Full Import DLs run profile, and the click OK.
Verify Results
To verify the run profile results for the Fabrikam LDAP Data Interchange Format (LDIF) MA, use Operations and Metaverse Search in the Identity Manager.
Use Operations to Verify Run Profile Results
By using Operations, you can see how many objects were added to the connector space and how many objects were added to the metaverse. You will verify the mailboxes and distribution lists (DLs) run profile results.
To verify the mailboxes and DLs run profiles by using Operations
On the Tools menu, click Operations.
Click the Fabrikam LDAP Data Interchange Format MA with the run profile name Full Import Mailboxes.
The Staging section of Synchronization Statistics should show 50 Adds.
This indicates that 50 new objects were added to the connector space when you ran the Full Import Mailboxes profile. The number 50 and the word Adds are both hyperlinks. Click either of the hyperlinks. The links display the Object Details dialog box, which shows the distinguished names of the objects that were added in this run.
The Inbound synchronization statistics should show 50 Joins and 50 Connectors with Flow Updates.
This indicates that all of the 50 imported mailboxes were joined to an object in the metaverse.
Click the Fabrikam LDAP Data Interchange Format MA with the run profile name Full Import DLs.
The Staging synchronization statistics should show 4 Adds.
This indicates that 4 new objects were added to the connector space.
The Inbound synchronization statistics should show 4 Projections and 4 Connectors with Flow Updates.
This indicates that all 4 of the imported distribution lists have been created as new objects in the metaverse.
Click the underlined 4 or Connector with Flow Updates to activate the hyperlink. This shows the 4 groups that were processed.
Click the entry that has cn=dep001,cn=Recipients,ou=MIIS,o=MS as its Distinguished Name and then click the Properties button. This displays the connector space object that corresponds to this entry.
Click the ellipsis (…) button in the Value column for the member attribute.
Because this is a multi-valued attribute, the multiple values of the member attribute do not appear in the list with the other attribute values. Clicking the ellipsis displays the members of this group.
The View attribute values dialog box shows the values for this attribute.
Click Close to close the View Attribute Values dialog box.
Click Close to close the Connector Space Object Properties dialog box.
Click Close to close the Object Details dialog box.
Use Metaverse Search to Verify Run Profile Results
By using Metaverse Search, you can search the metaverse for objects that were added by using the Fabrikam HR MA, and then verify that the attributes for those objects display the data and relationships introduced by using the Fabrikam LDAP Data Interchange Format (LDIF) MA.
The Metaverse Search filter settings for the search that you performed after running the Fabrikam HR MA are stored in the user profile of the user currently logged into Microsoft Identity Integration Server 2003. When you restart the Identity Manager, the last filter is loaded from the profile of the user. Additionally, Metaverse Search filters can be saved to a file.
Note
To save a Metaverse Search query, from the Actions menu, click Export Query.
To verify Fabrikam Exchange run profile results by using Metaverse Search
In the Microsoft Identity Integration Server 2003 Identity Manager, in the Tools menu, click Metaverse Search.
You should still see the search filter and search results from the Fabrikam HR MA. If not, refer to the search steps in the Fabrikam HR MA section to re-create it.
Beneath the Actions menu, click Search.
After the search is completed, you should see 100 objects listed in the Search Results list box.
Doubleclick the entry with the displayName of Amity Harty.
The mail and mailNickname attribute values for this object are now set on the objects for individuals who have a mailbox in the Fabrikam Exchange system. 50 individuals have mailboxes in Exchange and 50 individuals have mailboxes in the Sun ONE Directory Server 5.1 system. The values for the mail and mailNickname attributes reach their joined objects based on the attribute flow that you configured while creating the Fabrikam LDAP Data Interchange Format (LDIF) MA.
You can also see that the displayName attribute now has the desired syntax of firstname lastname. This syntax is a result of the attribute precedence rules configured when creating the Fabrikam LDAP Data Interchange Format (LDIF) MA. The Fabrikam LDAP Data Interchange Format MA took precedence over the existing displayName attribute that was imported by using the Fabrikam HR MA. As with the mail and mailNickname attributes, displayName was only corrected for the 50 users that have mailboxes in the Exchange system.
Finally, notice that the comment attribute now shows the name of the container from the Exchange system in which this mailbox of the user is located (Recipients).
View Connector Objects
To obtain a thorough understanding of the data flow involved in Microsoft Identity Integration Server 2003, view the connector space objects from which the metaverse attributes are derived.
To view the connector objects and the connector space objects for a metaverse object
In the Metaverse Object Properties dialog box for Amity Harty, click the Connectors tab.
There are now two connector objects for this metaverse object: one connector object from the Fabrikam HR MA connector space and one connector object from the Fabrikam LDAP Data Interchange Format MA connector space.
You can also see how the connector objects were created. The connector object for the Fabrikam HR MA was created as a result of a projection rule, and the connector object for the Fabrikam LDAP Data Interchange Format MA was created as a result of a join rule.
Under Management Agent, select Fabrikam LDAP Data Interchange Format MA.
Click Properties.
Under Value, click the ellipsis button next to the otherMailbox attribute.
The View Attribute Values dialog box shows all values for multi-valued attributes.
Click Close until all dialog boxes are closed.
The Fabrikam AD MA
The Fabrikam AD MA will be used to import user objects into the metaverse from the Fabrikam Active Directory. After the user objects are in the metaverse, that data will be used to populate group memberships in Active Directory by using the Microsoft Identity Integration Server 2003 export feature. You will also configure attribute precedence for the Fabrikam AD MA because it maintains authority for the uid attribute, which is also used by the Exchange system.
In this step of the walkthrough, you will perform the following tasks:
Create the Fabrikam AD MA.
Configure attribute precedence flow for an Active Directory attribute.
Monitor Microsoft Identity Integration Server 2003 performance by using Performance Monitor.
Run the Fabrikam AD MA.
Verify the results.
Create the Management Agent
When you create the Fabrikam AD MA, you will use the management agent for Active Directory. To use this management agent to create the Fabrikam AD MA, perform the following tasks:
Create a management agent
Connect to an Active Directory forest
Configure directory partitions
Select object types
Select attributes
Configure a connector filter
Configure join and projection rules
Configure attribute flow
Configure deprovisioning
Configure extensions
You will create and configure the Fabrikam AD MA so that information can flow from Active Directory into Microsoft Identity Integration Server 2003 without the use of a dump file. In addition, the Fabrikam AD MA is unique to this scenario in that it is the only MA that exports an attribute to a connected directory.
To create the Fabrikam AD MA
In Identity Manager, from the Tools menu, click Management Agents.
On the Actions menu, click Create.
From Management agent for, click Active Directory.
In Name, type Fabrikam AD MA.
Click Next.
In Forest name, type fabnoa.fabcorp.fabrikam.com.
If you named your Active Directory forest something other than fabnoa.fabcorp.fabrikam.com, type your forest’s name in the text box.
Type the Administrator’s credentials for the fabnoa.fabcorp.fabrikam.com forest.
Click Next.
Under Directory Partition, select the Fabrikam directory partition DC=fabnoa,DC=fabcorp,DC=fabrikam,DC=com from the list.
Note
If you click Show All, you will see the DomainDNSZones and ForestDNSZones application directory partitions. In Windows Server 2003, these partitions are used to limit the replication scope of DNS zones stored in Active Directory. Application directory partitions are a new feature available only in Windows Server 2003 forests. The DNS zone for the fabnoa.fabcorp.fabrikam.com domain name is stored in the application directory partition DomainDNSZones, which will replicate its DNS data to only those domain controllers running the DNS Server service in the Active Directory domain fabnoa.fabcorp.fabrikam.com.
Under Select Containers, click Containers.
In Select Containers, clear the checkbox for the topmost entry, which will clear the checkboxes next to all containers shown.
Expand the container that matches the local server name.
Expand the container named ClassicMetadirectory under the name of the local server name.
Expand the Fabrikam container to view its Groups and Users containers created earlier during the lab setup for this scenario.
Click the checkbox next to the Fabrikam container, as shown in the figure below.
Figure 1.9 Select Containers
Click OK.
Click Next.
From the Object types list, click group and user object types.
Microsoft Identity Integration Server 2003 preselects domain DNS,organizationalUnit, and container because they are required to provide the hierarchy context for the objects the MA will discover.
Click Next.
Click Show All.
Select the following attributes from the list: cn, employeeid, mail, member, sAMAccountName
Click Next.
Do not make any changes to the Configure Connector Filter settings. Click Next.
Under Data Source Object Type, click user.
Click New Join Rule.
The following steps create a join rule for the User object type. After you complete this rule, you will then create a join rule for the Group object type.
From Metaverse object type, click person.
In both the Data source attribute and Metaverse attribute lists, click employeeid.
Click Add Condition.
Click OK.
On Configure Joins and Projection Rules, from Data Source Object Type, click group.
Click New Join Rule.
From Metaverse object type, click group.
In both the Data source attribute and Metaverse attribute lists, click mail.
Click Add Condition.
Click OK.
Click Next.
Because this MA imports both Person object types and Group object types, you will need to map attributes in two steps. First perform the Person object type mapping.
On the Configure Attribute Flow page, in Data source object type, click user.
From Metaverse object type, click person.
In Mapping Type, click Direct.
In Flow Direction, click Import.
Create the attribute mappings indicated in the table below.
Data Source Attribute | Metaverse Attribute | Mapping Type | Flow Direction |
---|---|---|---|
sAMAccountName |
uid |
Direct |
Import |
cn |
cn |
Direct |
Import |
For both the Data source object type and Metaverse object type, click group.
Verify that Direct is selected for the Mapping Type and that Import is selected for the Flow Direction.
Create the attribute mappings indicated in the table below.
Data Source Attribute | Metaverse Attribute | Mapping Type | Flow Direction |
---|---|---|---|
cn |
cn |
Direct |
Import |
sAMAccountName |
uid |
Direct |
Import |
member |
member |
Direct |
Export |
Note
The Flow Direction for the member attribute should be Export rather than import. Group memberships are managed in the Exchange system and exported to Active Directory.
Click Next.
Do not make any modifications to the Configure Deprovisioning settings, and then click Next.
Do not make any modification to the Configure Extensions settings, and then click Finish.
Establish Attribute Flow Precedence
Attribute flow precedence will be set for the uid metaverse attribute because the attribute is used by both the Active Directory and Exchange connected data sources. Active Directory is the authoritative source for this attribute, and attribute flow precedence will be assigned to Active Directory to ensure that the value from Active Directory is used regardless of whether the Fabrikam LDAP Data Interchange Format MA has already imported the attribute.
To configure attribute flow precedence for Active Directory
In Metaverse Designer, in Object types, click person.
In Attributes, click uid.
In Actions, click Configure attribute flow precedence.
In the Configure attribute flow precedence dialog box, click a management agent with the source attribute, and then click the up or down arrow to adjust the ranking of the Management Agents to match the ranking listed in the table below
Metaverse Attribute | Management Agent Name | Rank |
---|---|---|
uid |
Fabrikam AD MA |
1 |
saMAccountName |
Fabrikam LDAP Data Interchange Format MA |
2 |
- Click OK.
Use Performance Logs and Alerts
Windows Server 2003 obtains performance data from components in your server. As a system component performs work on your system, it generates performance data. That data is described as a performance object and is typically named for the component generating the data. For example, the Processor object is a collection of performance data about processors on your system.
Before running the Fabrikam AD MA, configure the Performance console to view MA performance.
To configure the Performance console to view Fabrikam AD MA performance
To open the Performance console, click Start, point to Administrative Tools, and then click Performance.
With System Monitor selected, click the View Report button, or type Ctrl+R.
Click + (add), or type Ctrl+I.
In Performance object, click Microsoft Identity Integration Server.
Click All Counters.
Click Select Instances from list.
From the list of instances, click Fabrikam AD MA.
Click Close.
Do not close the Performance console.
Once the Fabrikam AD MA is run, you will use the Performance console to view the activity of the performance counters.
Run the Management Agent
The Fabrikam AD MA run profile will perform two actions:
Import attributes from Active Directory into the metaverse
Export the member attribute from the metaverse and use that attribute to populate Active Directory
You will create a single run profile to perform both of these actions.
Create the Run Profile
To create the Fabrikam AD MA run profile, perform the following tasks:
Configure the import from Active Directory to the metaverse.
Configure the export from the metaverse to Active Directory.
Run the Full Import-Export run profile.
To create the Fabrikam AD MA run profile
On the Tools menu, click Management Agents.
In Management Agents, click Fabrikam AD MA.
On the Actions menu, click Configure Run Profiles.
In Configure Run Profiles for Fabrikam AD MA, click New profile.
In Configure Run Profile, on the Profile name page, in Name, type Full ImportExport, and then click Next.
In Configure Run Profile, on the Configure Step page, in Specify step type, in Type, click Full Import and Delta Synchronization.
Click Next.
On the Management agent configuration page, in Partition, select the distinguished name (DN) for the Active Directory domain fabnoa.fabcorp.fabrikam.com (for example, DC=fabnoa,DC=fabcorp,DC=fabrikam,DC=com).
Click Finish.
After you configure the import, configure the export for the same run profile.
In Configure Run Profiles for Fabrikam AD MA, in Management agent run profiles, click the Full ImportExport run profile, and then click New step.
In Configure Run Profile, on the Configure Step page, in Specify step type, in Type, click Export.
Click Next.
On the Management agent configuration page, in Partition, select the distinguished name (DN) for the Active Directory domain fabnoa.fabcorp.fabrikam.com.
Click Finish. Verify that the run profile is configured as shown in the figure below.
Figure 1.10 Run Profiles for Fabrikam AD MA
Click OK.
Run the Management Agent
After you create the Fabrikam AD MA run profile, import your Active Directory data into the metaverse and export the metaverse data by running the run profile. While the run profile is running, use the Performance console to view the activity of the performance counters. After running the run profile, use Operations to check the results.
To run the Fabrikam AD MA run profile
On the Tools menu, click Management Agents.
In Management Agents, click Fabrikam AD MA.
On the Actions menu, click Run.
In Run Management Agent, in Run profiles, click the Full ImportExport run profile, and then click OK.
Switch to Performance to view the activity of the performance counters while the Fabrikam AD MA is running.
Verify Results
You will use Operations in the Identity Manager to verify the run profile results for the Fabrikam AD MA.
Use Operations to Verify Run Profile Results
By using Operations, you can see how many objects were imported to and exported from the metaverse. First, verify the statistics for the import step of the run profile. Next, verify the statistics for the export step of the run profile.
To verify the run profile by using Operations
On the Tools menu, click Operations.
Click Fabrikam AD MA with the run profile name Full ImportExport.
In the lower pane, you can see two steps to this profile: Step 1, which runs the full import; and step 2, which runs an export.
The results of the Step 1 should show the following:
The Staging synchronization statistics for Step 1 should show 110 Adds. This indicates 110 new objects are added to the connector space. There are 100 users, 4 groups, 5 organizationalUnit objects, and one domainDNS object that remain disconnector objects, but are required to complete the namespace hierarchy used by the Active Directory connected data source.
The Inbound Synchronization statistics for Step 1 should show 104 Joins. This indicates 104 connector space objects were joined to metaverse objects and that import attribute flow rules were used on these objects.
The results of the Step 2 should show the following:
- The Export statistics for Step 2 should show 4 Updates. This indicates that the 4 member attributes were exported from Microsoft Identity Integration Server 2003 and that the Active Directory groups were successfully populated with the members metaverse attribute.
To view the successful membership information update
Click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.
Navigate to the Groups container under the container that matches the local server name.
Double-click one of the groups to confirm that it was populated with members.
Figure 1.11: Active Directory Users and Computers
The four Active Directory groups were created during the setup of the scenario. After running the Fabrikam AD MA profile, the groups are no longer empty.
The Fabrikam Sun ONE Directory Server 5.1 MA
The Sun ONE Directory Server 5.1 connected data source maintains mailboxes for 50 of the 100 employees at Fabrikam. Mailboxes for the remaining 50 employees are in the Exchange connected data source. Earlier in this walkthrough, you configured the Fabrikam LDAP Data Interchange Format MA to contribute attributes for its 50 mailbox holders. You will now configure the Fabrikam Sun ONE Directory Server 5.1 MA to import inetOrgPerson objects and their attributes to the connector space and then join them to objects in the metaverse.
The addition of the Fabrikam Sun ONE Directory Server 5.1 MA results in two metaverse attributes having three potential data sources. To remedy this situation, you will set attribute precedence flow for the two attributes after you create the Fabrikam Sun ONE Directory Server 5.1 MA.
In this step of the walkthrough, you will perform the following tasks:
Create the Fabrikam Sun ONE Directory Server 5.1 MA
Configure attribute precedence flow for the Fabrikam Sun ONE Directory Server 5.1 MA
Run the Fabrikam Sun ONE Directory Server 5.1 MA run profile
Verify Results
Create the Management Agent
When you create the Fabrikam Sun ONE Directory Server 5.1 MA, you will use the management agent for Sun ONE Directory Server 5.1. To use the management agent for Sun ONE Directory Server 5.1 to create the Fabrikam Sun ONE Directory Server 5.1 MA, perform the following tasks:
Create a management agent
Specify logon information
Naming context configuration
Select object types
Select attributes
Select anchor attributes (Sun ONE Directory Server 5.1 version 4.0 only)
Configure a connector filter
Configure join and projection rules
Configure attribute flow
Configure deprovisioning
Configure extensions
To create the Sun ONE Directory Server 5.1 MA
On the Tools menu, click Management Agents.
On the Actions menu, click Create.
In Create Management Agent, in Management agent for, click Sun and Netscape directory servers.
In Name, type Fabrikam Sun ONE Directory Server 5.1 MA.
Click Next.
Specify logon information.
In Create Management Agent, on the Specify Logon Information page, in Server, type the name of the Sun ONE Directory Server 5.1 server that you want to connect to, and then type a port number, user name, and password.
Click Next.
Naming context configuration.
In Select a partition, select the partition for the naming context.
If you are using the scenario default setup this will be dc=fabrikam,dc=com.
Click Containers.
Select containers.
In Select Containers page, clear the checkboxes for all containers except the container where the scenario data was imported during setup. If you are using the scenario default setup, this will be People.
Click OK, and then click Next.
Select object types.
In Object Types, click inetOrgPerson.
Click Next.
Select attributes.
In Attributes, select Show All, and then select the following attributes:
description
displayName
givenName
mail
sn
uid
Click Next.
Do not modify the settings on the Configure Connector Filter page.
Click Next.
Configure join and projection rules.
In Data Source Object Type, select inetOrgPerson.
Click New Join Rule.
In Metaverse object type, select person.
In Mapping Type, click Direct.
In both the Data source attribute and the Metaverse attribute lists, select sn.
Click Add Condition.
In both the Data source attribute and the Metaverse attribute lists, click givenName.
Click Add Condition.
Click OK. Verify that the join and projection rules are configured as shown in the figure below.
Figure 1.12: inetOrgPerson Object Mapping
Click Next.
Configure attribute flow.
In Data source object type, select inetOrgPerson.
In Metaverse object type, select person.
In Mapping Type, click Direct.
In Flow Direction, click Import.
Create the attribute mappings as indicated in the table below.
Sun ONE Directory Server 5.1 attribute | Metaverse attribute | Mapping Type | Flow Direction |
---|---|---|---|
description |
description |
Direct |
Import |
displayName |
displayName |
Direct |
Import |
Direct |
Import |
||
uid |
mailNickname |
Direct |
Import |
uid |
uid |
Direct |
Import |
comment |
Advanced – DN component 2 |
Import |
From Metaverse attribute, select comment.
This will flow the DN part selected to the metaverse comment attribute.
In Mapping Type, select Advanced.
Click New.
In Advanced Import Attribute Flow Options, click Distinguished name.
In Component, select the location number 2, as shown in the figure below.
Figure 1.13: Advanced Import Attribute Flow Options
Click OK.
Click Next.
Do not modify the settings of the Configure Deprovisioning page.
Click Next.
Do not modify the settings of the Configure Extensions page.
Click Finish.
Establish Attribute Flow Precedence
The attribute precedence flow must be modified to give the Fabrikam Sun ONE Directory Server 5.1 MA second place in the ranking order. By adding the Fabrikam Sun ONE Directory Server 5.1 MA, the displayName and uid metaverse attributes now have three potential sources. For example, the displayName attribute could come from the HR, Exchange, or Sun ONE Directory Server 5.1 systems.
Currently, the ranking order of the HR, Exchange, and Sun ONE Directory Server 5.1 MAs follows the order in which the MA for each data source was created:
HR MA
LDAP Data Interchange Format (LDIF) MA
Sun ONE Directory Server 5.1 MA
You will reset the ranking order of the HR, Exchange, and Sun ONE Directory Server 5.1 MAs to support the correct attribute precedence flow.
Note
If the three MAs were created in an order that suited the attribute flow precedence, you would not need to modify the rank. With multiple systems contributing attributes, the order in which MAs are created can become complex. To mitigate this problem, you can specify the ranking order in which you want to process values for the same attribute from different connected directories.
To create the attribute precedence flow for the Fabrikam Sun ONE Directory Server 5.1 MA
Configure attribute precedence flow for the displayName attribute. In Identity Manager, from the Tools menu, click Metaverse Designer.
In Object Types, click person.
In Attributes, click displayName.
On the Actions menu, click Configure Attribute Flow Precedence.
Use the up or down arrow to match the ranking indicated in the table below.
Metaverse Attribute | Management Agent Name | Rank |
---|---|---|
displayName |
Fabrikam LDAP Data Interchange Format (LDIF) MA |
1 |
Fabrikam Sun ONE Directory Server 5.1 MA |
2 |
|
Fabrikam HR MA |
3 |
Click OK.
Configure attribute precedence flow for the uid attribute.
In Object types, click person.
In Attributes, select uid.
On the Actions menu, click Configure Attribute Flow Precedence.
In Configure Attribute Flow Precedence, use the up or down arrow to ensure that the uid attribute flow precedence matches the ranking listed in the table below.
Metaverse Attribute | Management Agent Name | Rank |
---|---|---|
uid |
Fabrikam AD MA |
1 |
Fabrikam LDAP Data Interchange Format (LDIF) MA |
2 |
|
Fabrikam Sun ONE Directory Server 5.1 MA |
3 |
- Click OK.
Run the Management Agent
The Fabrikam Sun ONE Directory Server 5.1 MA will import data directly from the Sun ONE Directory Server 5.1 server into Microsoft Identity Integration Server 2003, unlike the Fabrikam LDAP Data Interchange Format (LDIF) MA, which imported data from an input file. You will create a run profile that will enable the Fabrikam Sun ONE Directory Server 5.1 MA to import directly from Sun ONE Directory Server 5.1.
Create the Run Profile
To create the Fabrikam Sun ONE Directory Server 5.1 MA run profile, perform the following tasks:
Configure the Sun ONE Directory Server 5.1 MA run profile to import from the Sun ONE Directory Server 5.1 server.
Run the Full Import run profile.
To create the Fabrikam Sun ONE Directory Server 5.1 MA run profile
In Identity Manager, from the Tools menu, click Management Agents.
In Management Agents, click Fabrikam Sun ONE Directory Server 5.1 MA.
From the Actions menu, click Configure Run Profiles.
Click New Profile.
Name the run profile.
In Name, type Full Import.
Click Next.
Configure the run profile.
In Type, click Full Import and Delta Synchronization.
Click Next.
Configure the partition for the management agent.
In Partition, select the Sun ONE Directory Server 5.1 LDAP suffix dc=fabrikam,dc=com.
Click Finish, and then click OK.
Run the run profile.
In the Actions menu, click Run.
Select the Full Import run profile.
Click OK.
Verify Results
Use Operations in the Identity Manager to verify the run profile results for the Fabrikam Sun ONE Directory Server 5.1 MA.
Use Operations to Verify Run Profile Results
By using Operations, you can see how many objects were imported to the metaverse.
To verify the run profile by using Operations
In the Tools menu, click Operations.
In Name, click Fabrikam Sun ONE Directory Server 5.1 MA.
Operations should display the following results:
The Staging synchronization statistics should show 50 Adds. This indicates 50 new objects were added to the connector space.
The Inbound synchronization statistics should show 50 Joins. This indicates that all of the 50 imported inetOrgPerson objects have been joined to an object in the metaverse.
Of the 100 users in the Fabrikam scenario, 50 have mailboxes in Exchange and 50 have mailboxes in Sun ONE Directory Server 5.1. The Fabrikam LDAP Data Interchange Format MA imported and joined 50 objects to Microsoft Identity Integration Server 2003. The Fabrikam Sun ONE Directory Server 5.1 MA imported and joined the remaining 50 objects from Sun ONE Directory Server 5.1.
The Fabrikam Telephone MA
The Fabrikam Telephone MA is used to populate the person object in the metaverse with their various telephone numbers (telephone, mobile, pager, and fax). As with the HR system, the telephone system is emulated by a file dump of the data in the Telephone system. For the Fabrikam Telephone MA, you will be importing a fixed width text file.
In this step of the walkthrough, you will perform the following tasks:
Create the Fabrikam Telephone MA
Run the Fabrikam Telephone MA run profile
Verify Results
Create the Management Agent
Use the management agent for fixed width text file to create the Fabrikam Telephone MA. To use this management agent to create the Fabrikam Telephone MA, perform the following steps:
Create a management agent
Connect to the database
Configure columns
Configure a connector filter
Configure join and projection rules
Configure attribute flow
Configure deprovisioning
Configure extensions
Creating the Fabrikam Telephone MA does not require that you perform each of these steps.
To create the Fabrikam Telephone MA
Open Identity Manager.
On the Tools menu, click Management Agents.
On the Actions menu, click Create.
In Management agent for, click Fixed-width text file.
In Name, type Fabrikam Telephone MA.
Click Next.
Select template input file.
Select the fabrikam-telinfo-fw.txt sample file provided with the scenario.
Click Next.
Confirm fixed-width text format, as shown in the figure below.
Figure 1.14: Confirm Fixed-Width Text Format
Click Use first row for header names.
Click Next.
Configure attributes.
Click Set Anchor.
Set anchor.
In Set Anchor, click RECID and then click Add.
Click OK, and then click Next.
Do not modify the settings on the Define Object Types page.
Click Next.
Do not modify the settings on the Configure Connector Filter page.
Click Next.
Configure join and projection.
In Data Source Object Type, click person.
Click New Join Rule.
In the Metaverse object type drop-down list, click person.
In the Data source attribute list, click name.
In Metaverse attribute, click sn.
Click Add Condition, and verify that the join rule for the person object is configured as shown in the figure below.
Figure 1.15: Join Rule for Person Object
Click OK, and then click Next.
Configure attribute flow.
For both Data source object type and the Metaverse object type, click person.
In Mapping Type, click Direct.
In Flow Direction, click Import.
Using Data source attribute and Metaverse attribute, create the attribute mappings indicated in the table below.
Data Source Attribute | Metaverse Attribute | Mapping Type | Flow Direction |
---|---|---|---|
FAX |
facsimileTelephoneNumber |
Direct |
Import |
MOBILE |
mobile |
Direct |
Import |
PAGER |
pager |
Direct |
Import |
TELEPHONE |
telephoneNumber |
Direct |
Import |
Click Next.
Do not modify the settings on the Configure Deprovisioning page, and then click Next.
Do not modify the settings on the Configure Extensions page, and then click Next.
Click Finish.
Establish Attribute Flow Precedence
The Fabrikam Telephone system is the authoritative source for the telephoneNumber attribute. You will create the attribute precedence flow for this attribute so that the Fabrikam Telephone MA maintains authority for this attribute over the Fabrikam HR MA, which also uses this attribute.
To create the attribute precedence flow for the Fabrikam Telephone MA
Configure attribute precedence flow for the telephoneNumber attribute. In the Identity Manager, from the Tools menu, click Metaverse Designer.
In Object Types, click person.
In Attributes, click telephoneNumber.
On the Actions menu, click Configure Attribute Flow Precedence.
Use the up or down arrow to match the ranking listed in the table below.
Metaverse Attribute | Management Agent Name | Rank |
---|---|---|
telephoneNumber |
Fabrikam Telephone MA |
1 |
Fabrikam HR MA |
2 |
- Click OK.
Run the MA in Drop Audit File Mode
Microsoft Identity Integration Server 2003 allows you to import objects in stages in order to preview the data added to the connector space before connector space objects are joined to objects in the metaverse. First create a run profile that imports the telephone system objects into the connector space and creates a log file known as a drop audit file. This file allows you to preview the data added to the connector space.
After the integrity of the data is verified by using the drop audit file, run the synchronization run profile to join connector space objects with the metaverse objects. To implement this staged import, create two run profiles for the Fabrikam Telephone MA.
Note
As with the Fabrikam HR MA and the Fabrikam LDAP Data Interchange Format (LDIF) MA, you will need to copy the import file into the working folder for the MA.
Create Run Profiles
The Fabrikam Telephone MA run profiles will be created in the following steps:
Configure the Telephone MA run profile to import data from the fixed-width text file
Configure the drop audit file sub-step and enable staging
Create the Full ImportDelta Synchronization run profile
Run the Full ImportStage to CS run profile
To create the Fabrikam Telephone MA run profile
Copy the data file from the following location on the Microsoft Identity Integration Server 2003 installation media:
Scenarios\ClassicMetadirectory\fabrikam-telinfo-fw.txt
If you copied the file during the scenario setup instructions, this file will be located in the C:\Scenarios\ClassicMetadirectory folder on the Microsoft Identity Integration Server 2003 server. Note that depending on your Windows settings, the .txt extension may not be visible.
Copy the data file to the following location:
C:\Program Files\Microsoft Identity Integration Server\MaData\Fabrikam Telephone MA
Create the run profile. In Identity Manager, from the Tools menu, click Management Agents.
Click Fabrikam Telephone MA.
On the Actions menu, click Configure Run Profiles.
Click New Profile.
Name the run profile.
In Name, type Full ImportStage to CS, and then click Next.
Configure Step.
From the Type list, click Full Import (Stage Only).
Click Set log file options.
Set Log File Options.
In Set Log File Options -- Import, click Create a log file.
This will create an XML file of the data imported into the connector space when this run profile is run.
In Type or select Log file name, type full-import-staging.xml, as shown in the figure below.
Figure 1.16: Set Log File Options
Click OK and then click Next.
Management agent configuration.
In Partition, select default.
In Input file name, type fabrikam-telinfo-fw.txt,or click Select to select it.
Click Finish, and then click OK.
Run the connector space staging profile.
On the Actions menu, click Run.
Select Full Import – Stage to CS, and then click OK.
Examining the XML file.
From the Management Agents view, wait until the status of the Fabrikam Telephone MA indicates Idle, meaning that the profile run has completed.
Open Windows Explorer and view the Fabrikam Telephone MA’s working folder in the following location:
C:\Program Files\Microsoft Identity Integration Server\MaData\Fabrikam Telephone MA
Open the full-import-staging.xml file.
You can see that all of the data imported to the connector space has been exported to the XML drop file. This data was imported to the connector space only. It has not been joined to the metaverse.
Create the Full ImportDelta Synchronization run profile.
In Identity Manager, in the Management Agents view, click Fabrikam Telephone MA.
On the Actions menu, select Configure Run Profiles.
Click New Profile.
Name the run profile.
In Name, type Delta Synchronization, and then click Next.
Configure Step.
In Specify step type list, from the Type list, click Delta Synchronization.
When the Delta Synchronization option is enabled, Microsoft Identity Integration Server 2003 examines all normal disconnector objects in the connector space to determine if they should be joined to objects in the metaverse, and applies attribute precedence flow rules for those objects. In this mode, Microsoft Identity Integration Server 2003 will only evaluate attribute flow rules for those previously connected objects that have pending delta imports and exports. Delta imports and exports are attribute flows consisting only of the data that has been changed since the last synchronization.
Click Next.
Management agent configuration.
In Partition, select default.
Click Finish, and then click OK.
Run the Delta Synchronization run profile.
Click Run.
Select the Delta Synchronization run profile, and then click OK.
Verify Results
Use Operations and Metaverse Search in the Identity Manager to verify the run profile results for the Fabrikam Telephone MA.
Use Operations to Verify Run Profile Results
Operations displays how many objects were imported to the connector space.
To verify the run profile by using Operations
In Identity Manager, from the Tools menu, click Operations.
Click the Fabrikam Telephone MA with Full Import – Stage to CS.
The Staging synchronization statistics should show 100 Adds. This indicates that 100 new objects were added to the connector space. Unlike the other MAs you have created in this scenario, the Fabrikam Telephone MA shows only Staging statistics. No Inbound Synchronization statistics are shown because the Full Import – Stage to CS run profile only staged the objects in the connector space. When the profile Delta Synchronization is run, the objects from the connector space will be joined to metaverse objects, and then activity will be reported.
Click the Fabrikam Telephone MA with the Profile name Delta Synchronization.
The Inbound synchronization statistics should show 97 Joins and 3 Disconnectors. This indicates that 97 of the 100 telephone objects were joined to objects in the metaverse. Three of the objects have been left as disconnector objects.
The phone system has 3 objects for Smith and Microsoft Identity Integration Server 2003 could not resolve which of the employees with the last name of Smith should be joined to the metaverse because the phone system has no givenName or other attribute to use in the join rule. Therefore, Microsoft Identity Integration Server 2003 maintains the 3 phone system objects for Smith as normal disconnector objects in the connector space. Later in the scenario, you will learn how to join these normal disconnector objects to the appropriate metaverse objects.
Use Metaverse Search to Verify Run Profiles
Metaverse Search displays the number of objects that were imported to the metaverse.
To use Metaverse Search to verify run profiles
In Identity Manager, from the Tools menu, click Metaverse Search.
On the Actions menu, click Import Query.
Browse to the folder where you copied the scenario files:
C:\Scenarios\ClassicMetadirectory
Open the file CM emp active.qry.
On the Actions menu, click Search.
After the search is complete, you should see 100 objects listed in the Search Results list box.
In the search results, select Amity Harty, and then, from the Actions menu, click Properties.
The Metaverse Object Properties dialog box shows you all of the attributes and their set values. It also shows you the management agent that set the value (Contributing MA), and the time it was set (Last Modified).
Notice that the object has all the telephone number attributes set. This occurred when you ran the Delta Synchronization run profile with the Fabrikam Telephone MA. Prior to running this profile, the employee telephone numbers had an area code of 20 that was imported from the HR system. This value was overwritten with values that have an area code of 22 because the telephone system is the authoritative source for telephone numbers.
Click Close.