Today I was asked by a colleague whether we can run User Profile Service instance and Profile Synchronization service on more than one server in the farm and the answer is Yes!
Q1) Assume that you have started the UPA instance on your app server (e.g. APP1) and the Profile Synchronization job, what happens if APP1 goes down?
A) Like other SharePoint 2010 service applications, UPA can be load balanced so you can start the User Profile service instance on a second app server (e.g. APP2). If APP1 goes down APP2 can handle the request and there wont be any outage.
Q2) What about Profile Synchronization service?
A) You can start the Profile Synchronization service on APP2.
Q3) What about Sync connections and other related configuration, do we still have access or should we start from scratch?
A) All those setting should be available after you successfully started the Profile Synchronization service on APP2, as all those settings are stored in Configuration database.
Q4) What happens if I already started the Profile Synchronization service on APP1 and by mistake start the service on APP2?
A) Provisioning process will stop the Synchronization service on APP1 and start it on APP2.
Q5) Can I run more than one Profile Synchronization service in the farm.
A) If you have more than one UPA, you can start the Profile Synchronization service on separate servers, i.e. running the sync service on APP1 for UPA1 and APP2 for UPA2 simultaneously.
Can you run multiple MySite host within a single farm? Our goal is to split MySite into two...one for location A and one for location B. Can this be done?
There is really a lack on information on this subject so any help would be much appreciated.
Answer for Zgembo.
Yes you can run multiple Mysite host withing a single farm. By a UPSA can only be consumed by one MySiste Host. Howerver you can add multiple UPSA instances on separate SP2010 application servers and run synch jobs pointing to separate directory containers such as AD. Each UPS service can only be run per server. Hope this helps.
i have 2 APP server, User Profile Service instance and Profile Synchronization service running on APP1, please clear me, if APP1 goes off than i should start both services on APP2 or can i start both services on both server simultaneously.
No issues in starting both the services on the second server if the first goes down.
If you want services running on both servers, you can provision a separate UPSA running on the second server so that true failover is available.
The points given above by Ali should just about cover it.
Thank you very much for this information. It was very useful for me because we are looking for a way to implement User Profile Service (not Synchronization) redundancy in our SharePoint farms.
But I've encountered a problem when I've tried to run the User Profile Service on the second server, Web Front End.
Since that, the timer job "User Profile Service Application — User Profile Incremental Synchronization" tries to start on that Web Front End server and fails, probably because User Profile Synchronization Service runs on the other server.
Did you encounter the same problem?
@Egor: See the 2nd bullet point here: technet.microsoft.com/.../ee721049%28v=office.14%29.aspx
I have to access user profile application for user profile manipulation by Power shell.
I have two user profile application installed in my farm.
I wrote this code:
$site = new-object Microsoft.SharePoint.SPSite("http://XXXXXX/_layouts/15/ManageUserProfileServiceApplication.aspx?&ApplicationID=XXXXXXX GUID XXXXXXXXXX);
$ServiceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($site);
$ProfileManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileManager($ServiceContext)
The Problem is this code always point to the same (first created user profile).
I changed the GUID to point to the second profile application but it point that.