Hi All,
I’m using SharePoint Server 2010. There are three SharePoint farms having their own my site hosts. Each my site host uses its own User Profile Service Application. Each farm is set to synchronize user profiles from the active directory. Due to its structuring the need to geo replicate the user profiles has risen. So here is the approach I used.
The Audiences has to be set and compiled in each farm. Since the audience is compiled in a periodic manner (E.g. Weekly), no need to worry about new additions to the audiences. Trusted host locations has to be configured in each farm.
The incremental replication is the tricky one. The replication is carried out as depicted in the below diagram.
In order to replicate to multiple farms the destination my site host url’s can be comma separated. For an instance the command could be as below:
$mycredential = Get-Credential
get-spprofilepropertycollection –source http://FarmA_MySiteHostUrl | start-spprofileserviceincrementalreplication -source http:// FarmA_MySiteHostUrl -destination http:// FarmB_MySiteHostUrl,http:// FarmC_MySiteHostUrl -EnableInstrumentation -Credential $mycredential
And the deed is done !
In the “log” folder you will be able to see two new folders created as Inc_UPS_Farm-B-MysiteHost-Url and Inc_UPS_Farm-C-MysiteHost-Url which holds logs on the incremental replication status and related errors.
Yet, one thing is to be noted. When a user profile image is changed in one farm the respective image gets changed in the other farms. But when the image is removed, the image doesn’t get removed in the other farms. Hopefully this will be resolved in future.
Feel free to add comments.
References:
http://technet.microsoft.com/en-us/library/ff823733(v=office.14).aspx
The same post is available in my blog http://shaamil.blog.com/.
I’m using SharePoint Server 2010. There are three SharePoint farms having their own my site hosts. Each my site host uses its own User Profile Service Application. Each farm is set to synchronize user profiles from the active directory. Due to its structuring the need to geo replicate the user profiles has risen. So here is the approach I used.
The Audiences has to be set and compiled in each farm. Since the audience is compiled in a periodic manner (E.g. Weekly), no need to worry about new additions to the audiences. Trusted host locations has to be configured in each farm.
Initially a full replication is executed.
The log files available in the “C:\Program Files\Microsoft\SharePoint 2010 Administration Toolkit\Replication Engine\log” location can be used to troubleshoot errors during replication.The incremental replication is the tricky one. The replication is carried out as depicted in the below diagram.
In order to replicate to multiple farms the destination my site host url’s can be comma separated. For an instance the command could be as below:
$mycredential = Get-Credential
get-spprofilepropertycollection –source http://FarmA_MySiteHostUrl | start-spprofileserviceincrementalreplication -source http:// FarmA_MySiteHostUrl -destination http:// FarmB_MySiteHostUrl,http:// FarmC_MySiteHostUrl -EnableInstrumentation -Credential $mycredential
And the deed is done !
In the “log” folder you will be able to see two new folders created as Inc_UPS_Farm-B-MysiteHost-Url and Inc_UPS_Farm-C-MysiteHost-Url which holds logs on the incremental replication status and related errors.
Yet, one thing is to be noted. When a user profile image is changed in one farm the respective image gets changed in the other farms. But when the image is removed, the image doesn’t get removed in the other farms. Hopefully this will be resolved in future.
Feel free to add comments.
References:
http://technet.microsoft.com/en-us/library/ff823733(v=office.14).aspx
The same post is available in my blog http://shaamil.blog.com/.
No comments:
Post a Comment