Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 32 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
32
Dung lượng
0,92 MB
Nội dung
Module 11: Maintaining and Optimizing MMS Contents Overview Examining the MMS Database Backing Up and Restoring the MMS Database Compacting the MMS Database Optimizing MMS Database Searches Lab A: Maintaining the MMS Database 17 Distributing the Metadirectory Across Multiple MMS Servers 18 Best Practices 26 Lab B: Creating Referrals and Replication Agreements 27 Review 28 Information in this document is subject to change without notice The names of companies, products, people, characters, and/or data mentioned herein are fictitious and are in no way intended to represent any real individual, company, product, or event, unless otherwise noted Complying with all applicable copyright laws is the responsibility of the user No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Microsoft Corporation If, however, your only means of access is electronic, permission to print one copy is hereby granted Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property 2000 Microsoft Corporation All rights reserved Microsoft, BackOffice, MS-DOS, Windows, Windows NT, are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A and/or other countries Other product and company names mentioned herein may be the trademarks of their respective owners BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS Overview Topic Objective To provide an overview of the module topics and objectives ! Examining the MMS Database Lead-in ! Backing Up and Restoring the MMS Database ! Compacting the MMS Database ! Optimizing MMS Database Searches ! Distributing the Metadirectory Across Multiple MMS Servers ! Best Practices In this module, you will learn about how to maintain and optimize MMS After you have implemented Microsoft® Metadirectory Services (MMS) version 2.2 for your organization, there are a number of tasks that you should perform to maintain the functionality of the metadirectory These tasks include backing up and restoring the MMS database, and compacting the database to recover storage allocated to deleted records It is also important to optimize MMS database searches from time to time to accommodate the modifications that occur to the information in the metadirectory In addition, you can improve server and network performance by distributing the metadirectory across multiple MMS servers Understanding how to maintain and optimize MMS is essential to ensuring the ongoing functionality of the metadirectory After completing this module, you will be able to: ! Describe the components of the MMS database ! Backup and restore the MMS database by using the MMS Online Backup Utility ! Maintain the MMS database by using the MMS Compaction Utility ! Optimize database searches by using the MMS Hash Configuration Utility ! Distribute the metadirectory across multiple MMS servers ! Describe best practices for maintaining and optimizing the MMS database BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS Examining the MMS Database Topic Objective To identify the components of the MMS database File File DB500.p DB500.p The MMS database consists of a set of files in the \Zoomserv\Data\Db directory DB500.dat DB500.dat DB500.lok DB500.lok Lead-in DB500.ndx DB500.ndx Description Description Make up the relational database component of the Make up the relational database component of the metadirectory and must always be stored in the metadirectory and must always be stored in the same location same location X500.db X500.db Contains the entire metadirectory ASN.1 database Contains the entire metadirectory ASN.1 database Hash.db Hash.db Contains the hashed index to the database that is Contains the hashed index to the database that is used for searching used for searching Hashwild.db Hashwild.db Contains the wildcard search index Contains the wildcard search index VIATran.* VIATran.* Contain a transaction stack of operations Contain a transaction stack of operations performed on the database and its index files performed on the database and its index files Before you begin to the tasks associated with maintaining and optimizing the MMS database, it is important to know about the structure and files that comprise the database The MMS database consists of the following files in the \Zoomserv\Data\Db directory: ! DB500.p, DB500.lok, DB500.dat, and DB500.ndx These files comprise the relational database component of the metadirectory and must always be stored in the same directory ! X500.db This file contains the entire metadirectory Abstract Syntax Notation (ASN.1) database The size of the X500.db file is limited to two gigabytes ! Hash.db This file contains the index that is used for searching the database ! Hashwild.db This file contains the wildcard search index, which enables partial-word searches ! VIATran.* These files contain a “transaction stack” of operations performed on the database and its index files Note The \Zoomserv\Data\Db directory also contains a subdirectory, \Fileattr, which is designed to store the contents of files, such as Microsoft Word documents or Microsoft Excel spreadsheets, that are referenced in the MMS database The entire \Fileattr tree must be stored in one location, which cannot be changed without reinitializing MMS Typically, the MMS Server database files are all contained in the \Zoomserv\Data\Db directory on the MMS server However, you can distribute the database files over multiple disks and multiple computers, for example if your MMS server has limited hard disk space To store the database files in a location other than the \Zoomserv\Data\Db directory on the MMS server, move the files to the new location and then edit the DB5CFG file in \Zoomserv\Data\Config to reflect that new location BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS As installed, the DB5CFG file contains a series of lines that serve as placeholders for specifying the location of the MMS database components By default, these lines are commented out (the # sign indicates a comment) and the location of the MMS database is in the \Zoomserv\Data\Db directory If you move any of the database files, you must uncomment the appropriate line and provide a full path to the new location The following table describes the lines in the DB5CFG file and the components associated with each line Line Component db5_rel_db_dir All four DB500 files db5_asn_db_dir X500.db db5_hash_db_dir Hash.db, Hashwild.db db5_tran_db_dir VIATran.nn, VIATran.idx db5_fileattr_dir \Fileattr directory Note You must restart the MMS Server service before changes to the DB5CFG file take effect BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS Backing Up and Restoring the MMS Database Topic Objective To describe how to back up and restore the MMS database \zoomserv\data Lead-in MMS includes the MMS Online Backup Utility, which you can use to make a copy of the MMS database Write Backup MMS Database Delivery Tip Demonstrate the use of the MMS Online Backup Utility \Viabackup Local Hard Disk or Disk Storage MMS includes the MMS Online Backup Utility, which you can use to make a copy of the MMS database and related files This utility copies the contents of the \Zoomserv\Data directory to a local hard disk or to disk storage accessible over the network Note The MMS Online Backup Utility does not back up the \Zoomserv\Data\logs directory because the contents of this directory are not essential to restoring the MMS database and because of the potential size of the log files In addition, you must also back up the contents of the \Zoomserv\Bin directory to be able to restore the MMS Server service fully The MMS Online Backup Utility blocks modifications to the \Zoomserv directory while the utility is making backup copies All other MMS services (ldap and http requests) will remain active As a result, you can use the MMS Online Backup Utility regardless of whether the MMS Server service is running or not Starting the MMS Online Backup Utility You can launch the MMS Online Backup Utility from the Start menu, which runs the utility with the default options With the default options set, the utility performs an incremental backup replacing, in the backup directory, only those files that are different from those in the source The utility creates backup files in a \Viabackup subdirectory in the user's temp directory BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS You can also run the MMS Online Backup Utility (viabackup.exe), which is located in the \Zoomserv\bin directory, from the command line When you run the MMS Online Backup Utility from the command line, you can include any or all of the following switches: ! -path arg Specifies the directory location in which the backed up files are placed For example: viabackup.exe -path g:\MMS\backups ! -restore Restores the database from a set of backup files If you not specify a value for the –path switch, the utility uses the default backup location, which is the user's temp directory For example: viabackup.exe -restore -path g:\MMS\backups ! -force Backs up or restores all files, regardless of timestamp If you not use this switch with the viabackup.exe command, the MMS Online Backup Utility performs incremental backups and restores viabackup.exe -force Scheduling the Operation of the MMS Online Backup Utility You can schedule the operation of the MMS Online Backup Utility by typing viabackup –path path (where path is the path to the destination of the back up files) in the Command box in the Schedule dialog box associated with a management agent You can also schedule the operation of the MMS Online Backup Utility by using Scheduled Tasks in Control Panel in Microsoft Windows® 2000 BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS Compacting the MMS Database Topic Objective MMS Compaction Utility To identify the topics associated with using the MMS Compaction Utility Start View Logs Advanced… Exit Status Messages Lead-in Options MMS includes the MMS Compaction Utility, which you can use to maintain the integrity of the MMS database Actions Logging Stop MMS Server Current pass: Overall progress: Verify ASN database Compact ASN database Verify Meta-Directory links Restart server when done as a service as a program Description This action will perform a verification of the ASN store (x500.db) and verify consistency between the relational index and the ASN store OK Delivery Tip Demonstrate the use of the MMS Compaction Utility Cancel Apply Help MMS includes the MMS Compaction Utility, which you use to maintain the integrity of the MMS database You can configure the MMS Compaction Utility to perform one or more of the following tasks: ! Verify ASN database Examines the MMS database for anomalies (such as duplicate records that were created when a server crashed during a modify operation) and repairs them ! Compact ASN database Renames the existing MMS database file X500.db to X500.sav Then, the MMS Compaction Utility copies active records to a new X500.db file, thereby recovering the space occupied by deleted records Finally, the utility rebuilds all index files, including the hashed database that is used for searching ! Verify Meta-Directory links Checks and verifies all internal links between directory entries Important You must stop the MMS Server service before running the MMS Compaction Utility You can configure the utility to restart the MMS Server service automatically at the conclusion of the compaction process Starting the MMS Compaction Utility You can launch the MMS Compaction Utility from the Start menu You can also run the MMS Compaction Utility (viacompact.exe), which is located in the \Zoomserv\bin directory, from the command line Note When you run the MMS Compaction Utility from the command line, you cannot specify any advanced configuration options; therefore, the utility performs by using default parameters BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS When you run the MMS Compaction Utility from the command line, you can specify one or both of the following switches: ! -unattended Runs the MMS Compaction Utility in unattended mode No message boxes appear and all prompts receive a Yes reply ! -start Starts the MMS Compaction Utility immediately When you run the MMS Compaction Utility, the MMS Compaction Utility dialog box appears The following table describes the buttons available in the MMS Compaction Utility dialog box Button Description Start Starts the compaction process View Logs Displays the logs associated with the operation of the MMS Compaction Utility Advanced Displays the Options dialog box, which you use to specify which of the functions you want the utility to perform Exit Closes the MMS Compaction Utility The MMS Compaction Utility dialog box also contains a Status Message section When you run the MMS Compaction Utility, the Status Message section displays messages that allow you to follow the progress of the compaction operation and to note any error conditions At the bottom of the MMS Compaction Utility dialog box are two status bars One bar displays the status of the current operation The second bar displays the status of the entire process Scheduling the Operation of the MMS Compaction Utility You can schedule the operation of the MMS Compaction Utility by creating a batch file designed to stop the MMS Server service, run the viacompact – unattended –start command, and then restart the MMS Server service You would specify the batch file to run in the Schedule dialog box for a management agent You can also schedule the batch file to run by using Scheduled Tasks in Control Panel in Windows 2000 BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS # Optimizing MMS Database Searches Topic Objective To describe the topics associated with optimizing MMS database searches Lead-in With a default installation of MMS, you can search for entries based on selected attributes in the metadirectory ! Introduction to Indexing in MMS ! Indexing Attributes by Configuring Hash Types ! Indexing Attributes for Wildcard Searches ! Tuning Hashing Parameters Using the MMS Hash Configuration Utility With a default installation of MMS, you can search for entries in the MMS database based on selected attributes in the metadirectory However, depending on the type of information that your organization needs to search for on a regular basis, you may want to index additional attributes to increase search efficiency You can also index attributes for wildcard searches In MMS, search functionality is implemented through the use of a series of indexes MMS provides the MMS Hash Configuration Utility to help you make your indexing as efficient and useful as possible BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 16 Module 11: Maintaining and Optimizing MMS When you run the MMS Hash Configuration Utility, you can specify that the utility operate in one of three ways The following table describes the options that you can choose regarding the operation of the MMS Hash Configuration Utility Option Description Analyze hash databases, then display recommended configuration Finally, regenerate the databases Performs the entire cycle under user control You advance from step to step by clicking Next and you can cancel at any time You can also modify the recommended parameters This is the default option Skip analysis and go directly to the configuration and regeneration Performs only the last two phases, again under user control Because this option does not perform an analysis, the recommended parameters are the same as the current parameters, but you can modify them before regenerating the hashed indexes Run unattended: analyze the databases, then regenerate them based on the recommended configuration parameters Performs the entire cycle without user intervention The hashed indexes are regenerated automatically by using the recommended parameters Starting the MMS Hash Configuration Utility You can launch the MMS Hash Configuration Utility from the Start menu, which runs the utility with the default options You can also run the MMS Hash Configuration Utility (mmshashtool.exe), which is located in the \Zoomserv\bin directory, from the command line When you run the MMS Hash Configuration Utility from the command line, you can include any or all of the following switches: ! -unattended Specifies to run unattended; perform analysis, then regenerate the databases with the recommended parameters ! -regenerate Specifies to regenerate the database with the existing configuration ! -temp arg Specifies the location for temporary file; the default location is the directory containing the hash database ! -num_threads arg Specifies the number of processor threads; the default value is 0, which represents one thread per processor BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 17 Lab A: Maintaining the MMS Database Topic Objective To introduce the lab Lead-in In this lab, you will maintain the MMS database Explain the lab objectives Lab.doc BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 18 Module 11: Maintaining and Optimizing MMS # Distributing the Metadirectory Across Multiple MMS Servers Topic Objective To identify the topics associated with distributing the metadirectory across multiple servers Lead-in In MMS, you can distribute the contents of a large directory structure over many servers ! Determining When to Distribute a Metadirectory ! Determining the Method of Distribution ! Establishing a Referral to an MMS Server ! Creating Replication Agreements Between MMS Servers In MMS, you can distribute the contents of a large directory structure over many MMS servers by using referrals or replication The directory structure, as represented by the directory tree, remains a single unified hierarchy, but different subtrees of the overall directory tree are physically located on different servers When a user accesses the metadirectory by using an MMS Compass client, the user connects to a specific server, but can view and search the entire directory tree (subject to security controls) Understanding when and how to distribute the metadirectory across multiple MMS servers is important to ensuring an optimal MMS implementation for your organization BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 19 Determining When to Distribute a Metadirectory Topic Objective To identify factors that determine whether or not you should consider distributing a metadirectory Lead-in Distributing a metadirectory typically occurs when you have geographically dispersed servers and network latency issues ! Consider Distributing the Metadirectory When: $ $ Your organization is geographically dispersed and experiencing network latency issues The metaverse contains over 250,000-275,000 objects A metadirectory containing 100,000 entries occupies between one-half gigabyte (GB) and on GB of disk space A common question when planning to implement MMS is whether to deploy it on one server or multiple servers Metadirectory servers are limited by the physical constraints of disk storage, the performance constraints of acceptable response, and the organizational constraints of local administration Typically, you will want to consider distributing the metadirectory across multiple MMS servers when your organization is geographically dispersed and experiencing network latency issues Tip Consider distributing MMS on multiple servers if the metaverse has over 250,000 to 275,000 objects As a guideline (depending upon the number of attributes per object and the attribute size), a metadirectory containing 100,000 entries occupies between one-half gigabyte (GB) and one GB of disk space BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 20 Module 11: Maintaining and Optimizing MMS Determining the Method of Distribution Topic Objective To describe the difference between referrals and replication ! Referrals $ Lead-in $ The two ways to distribute a metadirectory are by using referrals or replication $ ! Present current information Require user agent to access two or more different servers Can impact performance as a result of increased network traffic Replication $ Copies information from host server $ Increases storage requirements on the host server Referrals require the client application to access multiple MMS servers When a user issues a query, the client application must retrieve results that satisfy the query from both the connected server and the referral server As a result, distributing the metadirectory by using referrals can impact network performance You can also establish replication agreements between MMS servers Replication agreements allow the MMS servers to create (and periodically update) a locally stored copy of portions of the directory tree that is hosted on another server The replicated data is only guaranteed to be as current as the last time it was copied Note You can also provide data redundancy by using replication BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 21 Establishing a Referral to an MMS Server Topic Objective To describe how to establish a referral to an MMS server Lead-in You can establish a referral on an MMS server that instructs an LDAP client to connect to a different server for information located at or under that node ! Create a Referral Node to Represent a Subtree on Another MMS Server ! Define the Referral Server by Providing That Server’s LDAP or HTTP Address as an Attribute of the Node Requests Marketing Info Requests Marketing Info Referral Node Returns Marketing Info Returns Marketing Info Compass Compass Client Client Server A Requests Marketing Info Requests Marketing Info Returns Marketing Info Returns Marketing Info Subtree Server B Delivery Tip Demonstrate the process of establishing a referral between two MMS servers You can establish a referral on an MMS server that instructs a Lightweight Directory Access Protocol (LDAP) client, such as MMS Compass or a Hypertext Transfer Protocol (HTTP) Web browser, to connect to a different MMS server for information To establish a referral to another MMS server, you must: Create a referral node that represents the subtree you want to reference on the other server Define the referral server by providing that server's LDAP or HTTP address as an attribute of that node Creating a Referral Node To create a referral node, you must add a domain component entry on the local MMS server This domain component entry will become the referral node and must occupy the same position in the global directory tree as the corresponding entry on the remote server Depending on the structure of your directory tree, you might need to insert additional parent entries to provide the appropriate structure This newly created domain component entry has no children and little attribute information, other than what you provided when you created it To see entries below this entry, you must specify information that defines the referral server holding those entries Defining the Referral Server To define a referral server, you must specify the LDAP or HTTP Uniform Resource Locator (URL) of the server to which you want to refer requests for information about the referral node BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 22 Module 11: Maintaining and Optimizing MMS When you define the referral server, you can include more than one referral For example, you can specify the same server with two different access methods to accommodate different kinds of clients You can also specify additional servers that have replicated copies of the original information In this case, the client software interrogates each in turn until it receives the requested information When you define the referral server, you can also specify the circumstances under which the client will follow up, or chase, referrals The following table describes the options that you can specify for chasing referrals Option Description Always chase Specifies that the server will always issue continuation references Chase from here down Specifies that the server will issue continuation references only when the specified portion of the directory tree is reached while navigating or when this point is set as the base of your directory search This option is generally used to disable continuation references Disable Specifies that the server will disable referrals on this entry without removing the referral server URLs To define a referral server, perform the following steps: In the directory pane of MMS Compass, navigate to and select the entry for the referral node In the control pane, click Administration, and then in the Entry Administration dialog box, display the References tab In the Referral LDAP and HTTP Server URLs text box, specify the LDAP or HTTP URL of the server to which you want to refer requests for information about this node Under Chasing Referrals, select an option to define the circumstances under which the client should follow up referrals BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 23 Creating Replication Agreements Between MMS Servers Topic Objective To describe how to create replication agreements between MMS servers ! Lead-in You can specify that one MMS server copy directory entries from another MMS server, store those copies locally, and present those copies to users as local entries Cooperative Replication $ $ ! Consumer Replication Agreement Provides Request for Copy of a Portion of Supplier Server’s Tree Supplier Replication Agreement Provides Authentication Contact Replication $ Contact Replication Agreement specifies which attributes are copied from remote servers and which are managed locally You can specify that one MMS server copy directory entries from another MMS server, store those copies locally, and present those copies to users as local entries Copying is controlled by an agreement between the two MMS servers The agreement is defined in replication agreement entries on one or both of the servers In general, metadirectory replication is cooperative, with one server supplying information and the other consuming it MMS also supports a special form of cooperative replication specifically designed for contact management Note It is usually best to create a special replication account with only the necessary privileges The account can be an existing entry or one you create specifically for replication purposes Examining Cooperative Replication In cooperative replication, one server supplies information and the other consumes it The server on which the original entries reside is the supplier, while the server onto which they are copied is the consumer When equivalent entries exist on both servers, the replication process performs attribute flow, copying specific attributes only The consumer server initiates the replication, subject to any restrictions imposed by the supplier The supplier server, however, exercises no control over the replicated entries after the consumer has copied them, except through the access permissions copied with the entries Caution You can make changes to the replicated data on the consumer server, but those changes may be overwritten during the next replication cycle BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 24 Module 11: Maintaining and Optimizing MMS Copied entries become a physical part of the consumer server’s MMS database, although they are marked as shadow copies Therefore, even though information may be widely scattered, the entire metadirectory can still be presented transparently to users as a single structure Creating Cooperative Replication Agreements A consumer replication agreement specifies what to copy, from where to copy it, and how often to copy it The consumer server identifies a portion of the supplier server's tree to be copied and the supplier server agrees to provide it However, you not need to provide the supplier's agreement if the consumer is satisfied with what can be seen with anonymous access, because the supplier server has implicitly agreed to make that information available to anyone If a consumer server wants to replicate information that is not available to anonymous users, the replication agreement must be two-sided The supplier must agree to supply the information to that particular consumer The primary purpose of a supplier agreement is to allow for authentication, so you only need to provide the logon name and password that the consumer server uses The consumer server actually logs on to the supplier by using the name and password of a specific entry in the supplier directory The consumer server can then access all of the information that the supplier's security scheme allows to that entry To create a cooperative replication agreement, perform the following steps: In the directory pane of MMS Compass, create an entry for the subtree you want to replicate from the supplier server This entry will become the junction node, and must occupy the same position in the global directory tree as the corresponding entry on the supplier server Select the newly created entry, and then in the control pane, click New Replication Agreement In the Create Replication Agreement dialog box, in the Type of Agreement box, click Replicate a zone from another LDAP server to create a consumer replication agreement, or click Allow another LDAP server to access metaverse data to create a supplier replication agreement, and then click OK If you specify to create a consumer replication agreement, the Consumer Replication Agreement dialog box appears, prompting you for the URL of the server holding the master copy If you specify to create a supplier replication agreement, the Supplier Replication Account dialog box appears, prompting you for the login name and password that the consumer replication process will use to authenticate You must use credentials for an account that has access to the desired data on the supplier server After you supply the required configuration information for the replication agreement, click OK to close the dialog box, or click Start Replication to initiate the replication process BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 25 Examining Contact Replication Contact replication searches for and copies information about your contacts even though they are on multiple different servers, usually outside the organization The replication program determines where to look for information on a specific contact based on the contact’s e-mail address Directory entries are replicated from other servers, but some of their attribute information is supplied locally This kind of replication allows you to replicate up-to-date contact information (for example, phone, fax, e-mail, and so on) about people in other organizations The entry for which you create a contact replication agreement marks the beginning of the contact zone, that is, the part of the tree where you create directory entries for the corporate contacts that you want to maintain through contact replication Typically, it is a folder or organizational unit entry When you initiate contact replication, MMS scans the contact zone and seeks to replicate information about the contacts it finds from their home servers Creating Contact Replication Agreements To create a contact replication agreement, perform the following steps: In the directory pane of MMS Compass, create an entry for the subtree you want to replicate from the supplier server This entry will become the junction node for the contact zone, must occupy the same position in the global directory tree as the corresponding entry on the supplier server Select the newly created entry, and then in the control pane, click New Replication Agreement In the Create Replication Agreement dialog box, in the Type of Agreement box, click Update contact records by querying other LDAP servers In the Replication Agreement for Contact Records dialog box, on the Configure tab, under Attributes to Replicate, specify the attributes that you want to replicate from the remote LDAP servers, specify the attributes that you want to manage locally, preceding them with a forward slash, and then click OK In the control pane of MMS Compass, click Bookmarks if necessary, and then click Replication Agreement In the directory pane, right-click the entry for the contact replication agreement, and then insert an entry of the object class zcContactServer for each server hosting any of the contacts you want to replicate You configure these entries to map LDAP servers to e-mail domains (for example, a given server knows about one or more e-mail domains) You can also provide any authentication information the other server requires BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 26 Module 11: Maintaining and Optimizing MMS Best Practices Topic Objective Back Up the MMS Server by Using a File Backup Utility Back Up the MMS Server by Using a File Backup Utility To identify best practices for maintaining and optimizing MMS Run the MMS Online Backup Utility as a Scheduled Event by Run the MMS Online Backup Utility as a Scheduled Event by Creating and Configuring a Maintenance Management Agent Creating and Configuring a Maintenance Management Agent Lead-in Next, we will review the best practices for maintaining and optimizing MMS Use the Windows 2000 Schedule Service to Run the MMS Use the Windows 2000 Schedule Service to Run the MMS Compaction Utility Every Three Months Compaction Utility Every Three Months Regenerate the Hash Databases by Using the MMS Hash Regenerate the Hash Databases by Using the MMS Hash Configuration Utility Configuration Utility Limit the Number of Attributes Enabled for Wildcard Hashing Limit the Number of Attributes Enabled for Wildcard Hashing Create a Special Replication Account with only the Necessary Create a Special Replication Account with only the Necessary Privileges Privileges Emphasize the reason for each best practice The following list provides best practices for maintaining and optimizing MMS: ! Back up the MMS server by using a file back up utility after you run the MMS Online Backup Utility to copy the MMS database ! Create a Maintenance management agent, and schedule the operation of the MMS Online Backup Utility as part of the operation of this management agent ! Run The MMS Compaction Utility as a scheduled event every three months to compact the MMS database and recover space occupied by deleted records Include the MMS Compaction Utility as part of a batch file that stops the MMS Server service and then use the Windows 2000 Schedule service to run the batch file ! Regenerate the hash databases by using the MMS Hash Configuration Utility The utility creates the new databases and gives them a tmp extension Stop the MMS Server service, rename the files, and then restart the service ! Limit the number of attributes enabled for wildcard hashing, particularly attributes that are likely to have the same value for many records ! Create a special replication account with only the necessary privileges BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 27 Lab B: Creating Referrals and Replication Agreements g Topic Objective To introduce the lab Lead-in In this lab, you will create referrals and replication agreements Explain the lab objectives Lab.doc BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY 28 Module 11: Maintaining and Optimizing MMS Review Topic Objective To reinforce module objectives by reviewing key points Lead-in The review questions cover some of the key concepts taught in the module ! Examining the MMS Database ! Backing Up and Restoring the MMS Database ! Compacting the MMS Database ! Optimizing MMS Database Searches ! Distributing the Metadirectory Across Multiple MMS Servers ! Best Practices What directory holds the files that comprise the MMS database? The files comprising the MMS database are stored in the \Zoomserv\Data\Db directory Do you have to stop the MMS Server service before using the MMS Online Backup Utility to create a copy of the MMS database? Why or why not? No The MMS Online Backup Utility blocks writes to the \Zoomserv directory while the utility is making backup copies As a result, you can use the MMS Online Backup Utility whether the MMS Server service is running or not What tasks can you configure the MMS Compaction Utility to perform? You can configure the MMS Compaction Utility to verify the ASN database, to compact the ASN database, and to verify metadirectory links You can also configure the utility to restart the MMS Server service upon completion Within the context of MMS, what is hashing? Hashing consists of applying a mathematical function to a piece of data to produce a number within a fixed range Hashing is a technique that is widely used to produce indexes that permit rapid retrieval of specific records in a file or database BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS 29 What are the primary the differences between referrals and replication? Referrals require the client application to access multiple MMS servers When a user issues a query, the client application must retrieve results that satisfy the query from both the connected server and the referral server As a result, distributing the metadirectory by using referrals can impact network performance Replication agreements allow MMS servers to make (and periodically update) a locally stored copy of portions of the directory tree hosted on the supplier servers The data is only guaranteed to be as current as the last time it was copied BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY THIS PAGE INTENTIONALLY LEFT BLANK BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY ... PURPOSES ONLY Module 11: Maintaining and Optimizing MMS Overview Topic Objective To provide an overview of the module topics and objectives ! Examining the MMS Database Lead-in ! Backing Up and Restoring... for maintaining and optimizing the MMS database BETA MATERIALS FOR MICROSOFT CERTIFIED TRAINER PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS Examining the MMS Database Topic... PREPARATION PURPOSES ONLY Module 11: Maintaining and Optimizing MMS # Optimizing MMS Database Searches Topic Objective To describe the topics associated with optimizing MMS database searches Lead-in