Public Folder Replication


Public folders can be copied to other Exchange servers. Each copy of a public folder is called a replica . Each replica contains the same information as the original public folder but resides on a different Exchange server. Replicas can reside in the same routing group as the home server of the original public folder, and they can reside on servers in different routing groups.

Reasons for using public folder replicas include the following:

Load balancing If a large number of users access a particular public folder, access times could be slow. A solution is to create public folder replicas and disperse user access to the various replicas.

Fault tolerance Having a public folder replicated eliminates a single point of failure.

Easier access for remote users If routing groups are geographically separated and users are accessing public folders in a remote group, it can make sense to distribute those public folders to the other routing groups through the use of replicas. This can be especially useful when users in one routing group are accessing public folders in another routing group over an unreliable network connection. Creating replicas in each remote group would allow users to access the public folders on their own local networks.

The following is a scenario that could warrant the use of public folder replicas. Suppose your organization has four routing groups, each group consisting of two Exchange servers and 500 users. The four routing groups are connected with a 256-KB wide area network (WAN). The available bandwidth during the workday is less than 64 KB, while at night the available bandwidth is 128 KB or more. You have created a public folder that contains 600 MB of data that is not time critical. Users access that folder approximately every 15 minutes, and the folder data is updated only twice a week. A good strategy would be to create a replica of that public folder on an Exchange server in each of the four routing groups.

Internet Newsgroups and Public Folder Servers

Your organization has six Exchange Server 2003 computers located in one routing group and one administrative group. Your entire network is located at one physical site in a building with 12 floors. Departments are organized on a floor-by-floor basis, and one Exchange server is configured to hold the mailbox for two departments. Each department has between 1,000 and 1,200 employees with the exception of the executives group, which has only around 100 employees total. In the past, you have used the Exchange server that hosts the executive mailboxes as your single public folder server. The public folder store within the organization is currently used only to post job openings that are to be announced to all employees .

You have been asked to investigate making several hundred Internet newsgroups available within your organization using a public folder. The newsgroups will be used by employees in various departments for various reasons. Although none of your current Exchange servers are overly taxed by their current configuration, you are concerned about the impact on performance if you place a large number of Internet newsgroups on the server that is currently hosting your public folder tree. As well, you would like to configure circular logging to occur in order to save disk space because the ability to restore items in this public folder is not required.

To solve all of your problems, you have asked for, and received, a seventh server to be installed into your Exchange organization. This server will be configured as a public folder store server only and will have the default mailbox store removed from it. On this server you will also be able to configure circular logging to occur for the public folder store to decrease disk space usage by the public folder store. As well, none of your current servers will be negatively impacted by the large volume of traffic that is likely to occur on the new public folder server (Internet newsgroups can be very busy and generate large amounts of messages).

 

Public folder replication follows the multimaster replication model , in which every replica of a public folder is considered a master copy. When you decide which folders you want to replicate, you manually create and configure those replicas. Any change made to a public folder is automatically replicated to other replicas of that folder by the Exchange Public Folder Replication Agent (PFRA) service based on settings you configure. Replication is a mail-based process that uses SMTP as its transport mechanism.

Creating Public Folder Replicas

The method for configuring replication involves pushing replicas from one public folder store to other public folder stores using the property pages of the public folder that you want to replicate. Exercise 6.10 outlines the steps for creating a replica of a public folder.

EXERCISE 6.10: Creating a Replica of a Public Folder
  1. In Exchange System Manager, open the property page of the public folder for which you want to create replicas, and switch to the Replication property page.

  2. On this property page, you ‚ ll find a list of public stores that already contain a replica of the public folder. Click the Add button to open a dialog that contains a list of available public stores in your organization that do not already have replicas of the folder.

  3. Select the store to which you want to replicate the folder, and click OK.

  4. The public store is added to the list of stores that contain replicas. Below the list of public folder stores, you ‚ ll find a drop-down menu named Public Folder Replication Interval. Use this menu to schedule the replication of the public folder to the other public folder stores. You have several options here:

    • The Never Run option turns off replication of the public folder, which is handy if you want to stop the replication temporarily to do something like troubleshoot a bad connector.

    • The Always Run option essentially keeps replication going all of the time. Because this would cause excessive traffic, it is generally a poor option to choose. However, there is one time when it is a useful option. When you first configure a new replica and you want the public folder content of that new replica to be transferred as soon as possible, you can turn on the Always Run option to ensure that the content will be replicated quickly. Be sure that you set the schedule to something more reasonable afterward, however.

    • The Run Every 1, 2, Or 4 Hours options cause replication to occur at the defined intervals.

    • The Use Custom Schedule option allows you to click the Customize button to bring up a dialog with a calendar of hours that you can use to set up the replication schedule.

    • The Use Public Store Schedule option is the default setting and causes the folder to replicate according to the default replication schedule set for the public folder store to which the public folder belongs.

  5. Click the Details button to bring up a dialog with information about the last replication message Exchange Server generated regarding the current public folder, as seen below.

  6. Use the Replication Message Priority drop-down list to set the priority that replication messages concerning this folder should take in your Exchange system.

 

Once you have created replicas of a public folder and configured how replication should behave at the folder level, you can also configure how replication should behave at the public store level. To do this, open the property page for the Public Folder Store object, and switch to the Replication property page, shown in Figure 6.10.


Figure 6.10: Configuring replication for a public folder store

The first action you can perform on this page is to configure replication defaults that apply to all of the folders in that store. Do this using the same type of drop-down menu that you used to configure a schedule for the individual folder. If you do not specifically set a schedule for an individual folder (if you leave it at its default setting), the folder will use the schedule set for the public folder store to which the folder belongs. If you set a schedule for an individual folder, that schedule overrides the public folder store schedule.

The second action you can perform on the Replication property page is to define limits for replication. By default, no limits are defined, but you can specify the maximum time, in minutes, that replication is allowed to go on when replication occurs. You can also define the maximum size , in kilobytes, that a single replication message may be.

Synchronizing Replicas

The Public Information Store uses three primary constructs to keep track of replication throughout an organization and to determine whether a public folder is synchronized. These constructs include the following:

  • A change number is made up of a globally unique identifier for the Information Store and a change counter that is specific to the server on which a public folder resides. When a user modifies (or creates) a message in a public folder, the PFRA for that Information Store assigns a new change number to the message.

The PFRA also assigns a time stamp to messages as soon as they arrive in a public folder and a new time stamp whenever a message is modified.

The predecessor change list for a message is a list of all of the Information Stores that have made changes to a message and the most recent change number assigned by each Information Store on the list.

Together, these constructs are referred to as message state information and play a role in message creation, deletion, and modification.

Message Creation

When a new message is created in a folder, the Information Store receiving the message assigns a change number to the message and deposits it in the folder. The message is replicated to other replicas of the folder during the normal replication schedule.

Message Deletion

When a message is deleted from a folder, the Information Store running the replica in which the message is deleted sends a replication message to all other Information Stores that host a replica of the folder. When each Information Store receives the replication message, it removes the deleted message from its own replica.

Message Expiration

When a message expires ( reaches the configured age limit for messages in the folder), the Information Store deletes the message from the folder but does not send a replication message to other Information Stores. Each Information Store removes expired messages from its own folders based on settings made for the store itself and for the folder. Thus, it is possible for different stores to expire a message at different times.

Message Modification

When a change is made to a message in one replica of a public folder, the PFRA for that Information Store updates the message state information for that message and sends a replication message to other Information Stores on which replicas of the folder exist. This replication message contains the modified message and all of its attachments.

When another Information Store receives such a replication message, the modified message inside is used to replace the original message in that store if the message state information determines that the message is indeed newer than the original, based on its time stamp.

While the PFRA sends out replication messages, there is no mechanism in place for ensuring that replication messages reach their destination. The logic behind this is that generating an extra confirmation message for each replication message would unnecessarily double the amount of traffic involved in replication. Thus, it is possible for a message in different replicas of a public folder to become out of sync. A process known as backfill is used to remedy this situation. During regular maintenance, status messages are sent between servers, and change numbers for messages on different replicas are compared. If a server is found to be out of sync, it then generates a backfill request for any changes that have not yet been received.




MCSA[s]MCSE
MCSA[s]MCSE
ISBN: 735621527
EAN: N/A
Year: 2004
Pages: 160

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net