none
Public folder content replication issues RRS feed

  • Question

  • Hi,

    I have recently added a replica to the public folders using the Exchange 2010 Powershell script AddReplicaToPFRecursive.ps1. This completed successfully, and I checked through the public folders to ensure that the new Exchange 2010 server had been added as a replica and confirmed it had.  I also added the new server to the system public folders.

    However, the problem I am having is that none of the content is replicating to the new server, the database is mounted.  Using Get-PublicFolderStatistics I can see however that some folders have items in them whereas the majority do not and have a value of 0.  The replication interval set on the public folders is configured to "Always Run". 

    I have increased the logging level on the public folders and can see incoming and outgoing replication messages, but most of these appear to be for the FREE/BUSY information rather than the actual public folders. I can also see the following error repeated;

    Error -2147221233 reading property 0x67010003 on object type tbtReplication from database "UK-PFDB4".

    The total size of the public folder is only around 10Gb, and this replica is a local replica so it does not need to go across any WAN links.  I would expect it to have fully replicated within 24 hours?  Looking at the physical file and log directory for the new PF database they total up about 2.8Gb so certainly some data is being replicated? 

    Can anyone offer any assistance as to things I may be able to check or look out for? I cant seem to figure out why the content isnt replicating

    Saturday, January 12, 2013 12:23 PM

Answers

  • Hi,

    I have now managed to resolve this issue so thought I would post back incase anyone else has similar issues.  Essentially, I went through each public folder in turn and change the replication settings to "Always replicate" from what they were configured - "Use public folder database schedule".  This was only half of the fix, I then had to perform "Update Content" on each one.  Once I did this they all started to replicate!

    Bit of a pain and I'm certain not the way you should have to do it but it works.  Thanks to all the replies who have helped me along the way

    Cheers,

    Brian

    • Marked as answer by cara chen Monday, January 21, 2013 8:44 AM
    Friday, January 18, 2013 3:22 PM

All replies

  • PF replicatio can take up to 72 hours, I wouldnt simply rely on those schedules. It is a waiting game & it seems to have started. Wait for another day or 2 and check. Use the pf Get-PublicFolderStatistics command to compare items rather than size.

    Sukh

    Saturday, January 12, 2013 12:34 PM
  • PF replicatio can take up to 72 hours, I wouldnt simply rely on those schedules. It is a waiting game & it seems to have started. Wait for another day or 2 and check. Use the pf Get-PublicFolderStatistics command to compare items rather than size.

    Sukh

    Hi Sukh, thanks for your response.  It does appear to have started so I will leave it for another couple of days.  The Get-PublicFolderStatistics does return more items now.  Guess I just need to be more paitient!

    Cheers,

    Brian

    Saturday, January 12, 2013 4:40 PM
  • Hi,  it appears as if something is certainly not working correctly because it's been over 72 hours now and only 1/4 of the data seems to have replicated.  Looking at the Get-PublicFolderStatistics the item count hasnt gone up much since I last ran in Sunday evening.  The logs also do not show any errors that may highlight why the content is not coming through.

    Is there anything I can check to see if there is a backlog of replication messages?  There is nothing on the Email queues that I can see...

    thanks

    Brian.

    Monday, January 14, 2013 2:36 PM
  • Can you maybe run hourly or every 4 hr stats to see the change in items?  As for the logging you can turn up diagnostic logging for the pf db using diagnostic logging via emc. Lets see how much data is actually being replicated.

    Sukh

    Monday, January 14, 2013 8:03 PM
  • Hello,

    Here is the thread. Hope it is useful.

    http://social.technet.microsoft.com/Forums/en/exchange2010/thread/8fd335e6-05dd-4922-87eb-754f8f170a30


    Cara Chen
    TechNet Community Support

    Tuesday, January 15, 2013 8:21 AM
  • Can you maybe run hourly or every 4 hr stats to see the change in items?  As for the logging you can turn up diagnostic logging for the pf db using diagnostic logging via emc. Lets see how much data is actually being replicated.

    Sukh

    Hi Sukh,

    I've checked the PFs today using the cmdlet, and have kept a record over the past few days comparing the item counts for each.  The majority still show as zero but some do have values in them, and they are changing each day - some going up, some down.  I have enabled diagnostic logging for the following items;

    MSExchangeIS\9001 Public\Transport General                                                                   Expert
    MSExchangeIS\9001 Public\General                                                                             Expert
    MSExchangeIS\9001 Public\Replication Incoming Messages                                                       Expert
    MSExchangeIS\9001 Public\Replication Outgoing Messages                                                       Expert
    MSExchangeIS\9001 Public\Replication NDRs                                                                    Expert
    MSExchangeIS\9001 Public\Replication Backfill                                                                Expert
    MSExchangeIS\9001 Public\Replication Errors                                                                  Expert
    MSExchangeIS\9001 Public\Replication General                                                                 Expert

    And the only error that is reported is the one from the original post.  I can see multiple incoming and outgoing replication messages, but they are always for FREE+BUSY rather than any actual content.  I'm at a loss as to why it's taking so long? I would expect less than 10gb of public folders to replicate quicker?

    Cheers,

    Brian

    Wednesday, January 16, 2013 10:11 AM
  • I certainly agree 10GB should be quick. In my experience PF replication isn't as reliable in terms of fast replication. However, this may sound silly, But I'd continue to wait.

    As for possible things to check, I assume both are on the same LAN and there is no AV scanning for internal SMTP traffic?


    Sukh

    Wednesday, January 16, 2013 10:36 AM
  • Yeah both on the same LAN. We do have AV on the hub transport servers so I will check that but we have setup alerting on this to fire if there are any issues..

    Wednesday, January 16, 2013 10:37 AM
  • Can we disable the AV and test? In some cases you need to completly reove the AV.  Once it's been disabled check using

    Get-TransportAgent

    And make sure it's disabled. Then monitor for few hours/a day against your stats and check.

    Sukh

    Wednesday, January 16, 2013 10:58 AM
  • Hi,

    I have now managed to resolve this issue so thought I would post back incase anyone else has similar issues.  Essentially, I went through each public folder in turn and change the replication settings to "Always replicate" from what they were configured - "Use public folder database schedule".  This was only half of the fix, I then had to perform "Update Content" on each one.  Once I did this they all started to replicate!

    Bit of a pain and I'm certain not the way you should have to do it but it works.  Thanks to all the replies who have helped me along the way

    Cheers,

    Brian

    • Marked as answer by cara chen Monday, January 21, 2013 8:44 AM
    Friday, January 18, 2013 3:22 PM