Tài liệu Lab B: Creating Templates to Import Data into the Metadirectory - Pdf 10


Lab B: Creating Templates to Import
Data into the Metadirectory
Objectives
After completing this lab, you will be able to:
!
Create and configure an instance of the Generic management agent to
integrate information from a data source (for which there is no predefined
MA) into the metadirectory.
!
Use template language to create Parsing and Construction templates to
import the connected directory data into the metadirectory.

Prerequisites
Before working on this lab, you must have:
!
Knowledge about attribute flow rules.
!
Experience joining connector namespace entries with metaverse entries.
!
Experience operating management agents.
!
Knowledge about logging levels.
!
Knowledge about connector namespace holograms.

Lab Setup
To complete this lab, you need the following:
!
MMS Server and MMS Compass installed.
!

b.
Start MMS Compass, and then log on to your MMS server as
[email protected] with a password of password.
2.
Create an instance of the
Generic management agent
called Telephone Number
MA and configure it to run
in association mode.
a.
On the control pane of MMS Compass, click Bookmarks, click
Management Agents, and then click Create New Management
Agent.
b.
In the Create Management Agent dialog box, in the Name of the
Management Agent box, type Telephone Number MA and in the
Type of the Management Agent box, click Generic Management
Agent, and then click Create.
c.
In the Configure Management Agent dialog box, on the Connected
Directory Specifics tab, on the Mode and Namespace Management
tab, under Management Agent Mode, click Association, and then
click OK.
3.
Copy the cdir_oledb.vbs
script from
c:\moc\2062a\labfiles folder
to the working folder of the
Telephone Number MA.
a.

b.
In the Design MA dialog box, on the Control MA Operations tab, on
the MA Control Script tab, right-click in the data box, and then click
Manage Editor.
c.
In the Manage editor dialog box, in the Path of the executable box,
type notepad.exe select the Set as default editor check box, click
Add, and then click OK.
5.
Modify the MA control
script to use the Visual
Basic custom discovery
procedure.
a.
On the MA Control Script tab, right-click in the data box, and then
click Edit.
b.
In Notepad, find the script block for %zcMAProcessUsers%. In this
script block, replace the series of echo statements between the asterisks
with the following line.
EXECUTE cmd /c cscript
!%zcDSDirectory%\cdir_oledb.vbs
!/action:discovery /debug:%zcDSMALoggingLevel%
Note: The previous text must be typed on one line.
c.
Save and then close Notepad.
d.
Click OK to close the Design MA dialog box.
6.
Operate the MA to only

Exercise 2
Updating the Connector Namespace
Scenario
At Northwind Traders, a SQL server database stores the employee telephone numbers. This
information needs to be integrated into the metaverse namespace. A connection has already been
established by using a custom discovery script, and an import file has already been created. The
connector namespace needs to be updated with the information in the import file.
Goal
In this exercise, you will analyze the record format of the import file and create Parsing and
Connector Namespace templates to populate the connector namespace with the employee's
telephone numbers.

Tasks Detailed Steps
1.
Analyze the record format
by reviewing the import file.
a.
In Notepad, open the file called import with no extension located in the
working directory of the MA.
What type of format does this data set represent?

Label/value pairs.

2.
Create an Add Parsing
template to parse the records
in the import file.
a.
In the directory pane of MMS Compass, ensure that Telephone
Number MA is selected, and then in the control pane, click Design

3.
Create a Connector
Namespace Construction
template to construct the
distinguished name and the
object class.
a.
In the Design MA dialog box, on the Control Metadirectory tab, on
the Construction Templates tab, on the Connector Space tab, right-
click in the data box, and then click Edit.
b.
In the Notepad window, create the DN entry by typing the following:
$cs.dn = uid=$cd.uid,$MA()
c.
In the Notepad window, assign an object class of zcAliasThing to the
entry by typing the following:
$cs.zcoc = zcAliasThing
d.
Save the document, close the Notepad window containing the
connector namespace construction template, and then click OK to close
the Design MA dialog box.
4.
Operate the management
agent and verify that the
entries were created in the
connector namespace.
a.
In the control pane, click Operate MA.
b.
In the Operate the Management Agent dialog box, on the

At Northwind Traders, a SQL server database stores the employee telephone numbers. This
information needs to be integrated into the metaverse namespace. A connection has already been
established by using a custom discovery script, and an import file has already been created. The
Parsing and Connector Namespace Construction templates have also been created. The employee
telephone numbers are already in the connector namespace. The metaverse namespace needs to be
updated with the information from the connector namespace and joined with the existing metaverse
namespace entries.
Goal
In this exercise, you will create the Metaverse Construction template and then join the connector
namespace entries with the existing metaverse namespace entries.

Tasks Detailed Steps
1.
Create the Metaverse
Construction template by
assigning the DN, object
class, and all telephone
number attributes.
a.
In the directory pane of MMS Compass, click Telephone Number
MA, and then in the control pane, click Design MA.
b.
In the Design MA dialog box, on the Control Metadirectory tab, on
the Construction Templates tab, on the Metaverse tab, right-click in
the data box, and then click Edit.
c.
Create the DN for the entry by typing the following:
$mv.dn = cn=$cd.cn,$MA($zcMAUNSBase)
d.
Assign an object class by typing the following:


Lab B: Creating Templates to Import Data into the Metadirectory 7 BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY

Tasks Detailed Steps
3.
Join the Telephone Number
MA connector namespace
entries into the metaverse.
a.
On the Operational Settings tab, on the Limits tab, delete the value in
the Process maximum of box.
b.
On the Operational Settings tab, on the Logging tab, under Logging
Details, in the Logging detail level box, select 2, and then click OK.
c.
In the control pane, click Join.
d.
In the Server-Based Join dialog box, on the Configure the join tab, in
the Search using these attributes box, type the following:
$cd.uid
e.
Click OK to close the Server-Based Join dialog box.
4.
Configure Attribute Flow
rules and update the
telephone numbers in the
metaverse with the SQL

Click OK to close the Aarika Quek dialog box.
5.
Close MMS Compass, and
then log off of
Windows 2000.
a.
Close MMS Compass, and then close any open windows.
b.
Log off of Windows 2000.
THIS PAGE INTENTIONALLY LEFT BLANK


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status