I have been working on this for the past week with no resolution. The setup is a Windows Server 2012 R2 as the APP server, Windows Server 2012 R2 as the WFE server, Windows Server 2012 R2 as the Outlook Web Access server, Windows Server 2012 R2 as
the Workflow Server and a Windows Server 2008 R2 SQL Server running SQL 2008 R2. This is the powershell shell script that I am running for the User Profile Service:
#User Profile Service Creation
#Get Managed Account
$acct = get-spmanagedaccount "DOMAIN\SP_UserProfile"
#Create App Pool
$AppPool = New-SPServiceApplicationPool -Name "UserProfileAppPool" -Account $acct
#New Profile Service Application
$UPA = New-SPProfileServiceApplication -Name "User Profile Service Application" -ApplicationPool $AppPool -ProfileDBName "SP_ProfileDB" -ProfileSyncDBName "SP_ProfileSyncDB" -SocialDBName "SP_SocialDB"
#New Proxy
New-SPProfileServiceApplicationProxy -Name "User Profile Service Application Proxy" -ServiceApplication $upa
#Set Synchronization machine
$UPS=Get-SPServiceInstance -Server APPSVR | ? {$_.Typename -eq "User Profile Synchronization Service"}
$username = read-host "User name"
$password = read-host -assecurestring "Password"
$upa.SetSynchronizationMachine("APPSVR", $UPS.Id, $UserName, $Password)
#Start the User Profile Services up
Get-SPServiceInstance -Server APPSVR | ? {$_.Typename -eq "User Profile Service"} | Start-SPServiceInstance
$ups | Start-SPServiceInstance
One issue is the instance is residing on the WFEIIS instead of the APP server (AppSvr specificied in the script above) and I am getting this error in Event Viewer on the WFEIIS Server every 5 minutes:
-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <ProviderName="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}"
/>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated
SystemTime="2014-05-06T20:25:00.429931900Z" />
<EventRecordID>1905</EventRecordID>
<Correlation
ActivityID="{2C568E9C-E7EF-10DA-2F2D-FFBA7090C572}" />
<ExecutionProcessID="1376" ThreadID="2836" />
<Channel>Application</Channel>
<Computer>WFEIIS.domain.com</Computer>
<SecurityUserID="S-1-5-21-1757981266-1303643608-682003330-4045" />
</System>
<Data Name="string0">Microsoft.Office.Server.UserProfiles.LMTRepopulationJob</Data>
<Data Name="string1">43521649-0fdd-4602-b904-4cc7da6dc455</Data>
<Data Name="string2">System.ServiceModel.ProtocolException</Data>
</EventData>
</Event>
This is what is displaying on the AppSVR:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<ProviderName="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}"
EventSourceName="Perflib" />
<EventID Qualifiers="49152">1008</EventID>
<Keywords>0x80000000000000</Keywords>
<TimeCreated
SystemTime="2014-05-06T19:43:38.000000000Z" />
<EventRecordID>2121</EventRecordID>
<ExecutionProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>APPSVR.domain.com</Computer>
</System>
-<EventXML xmlns="Perflib"> <param1>FIMSynchronizationService</param1>
<param2>C:\Program Files\Microsoft Office Servers\15.0\Synchronization Service\Bin\mmsperf.dll</param2>
<binaryDataSize>8</binaryDataSize>
<binaryData>0200000000000000</binaryData>
</EventXML>
</UserData>
</Event>
AND
-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <ProviderName="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}"
EventSourceName="Perflib" />
<EventID Qualifiers="49152">1008</EventID>
<Keywords>0x80000000000000</Keywords>
<TimeCreated
SystemTime="2014-05-06T19:43:38.000000000Z" />
<EventRecordID>2120</EventRecordID>
<ExecutionProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>APPSVR.domain.com</Computer>
</System>
-<EventXML xmlns="Perflib"> <param2>C:\Windows\System32\bitsperf.dll</param2>
<binaryDataSize>8</binaryDataSize>
<binaryData>0200000000000000</binaryData>
</EventXML>
</UserData>
</Event>
There is one other critical item on the APPSVR Event Viewer that has to do with Search, but that is not setup yet.
-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <ProviderName="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}"
/>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated
SystemTime="2014-05-06T20:19:22.074598600Z" />
<EventRecordID>2141</EventRecordID>
<Correlation
ActivityID="{DA558E9C-B753-10DA-0720-9A778F279F96}" />
<ExecutionProcessID="1464" ThreadID="3696" />
<Channel>Application</Channel>
<Computer>APPSVR.domain.com</Computer>
<SecurityUserID="S-1-5-21-1757981266-1303643608-682003330-4045" />
</System>
<Data Name="string0">Microsoft.Office.RecordsManagement.Preservation.PreservationJobDefinition</Data>
<Data Name="string1">6519d584-b87e-4c40-a039-d210b3bf63f5</Data>
<Data Name="string2">The search request was unable to connect to the Search Service.</Data>
</EventData>
</Event>
The Farm account is set in the Local Administrators group and given allow log on locally privileges.
I am at a loss where to look next..