Tuesday, March 22, 2016

Event 1034, LS File Transfer Agent Service fail after server removal

After a pool and his associated Edge server were decommissioned, I consistently receiving this error:


Error:

Skype for Business Server 2015, File Transfer Agent service encountered an error while accessing a file share and will continuously attempt to access this file share until this issue is resolved. While this condition persists, replication to replica machines might not occur.

Access denied. (\\RemovedServer.ad.local\xds-replica\from-master\data.zip)

Cause: Possible issues with file share permissions. This can occur if the computer hosting the file share has outdated cached credentials for the computer that is trying to access the file share.

Resolution:

For details about how to resolve file share permission issues, see the product documentation.


Event ID: 1034
Task Category: 1121


Next I need to check some leftovers from the decommissioning.
Checking the Central Management Store Status gave me a hint:


PS C:\Windows\system32> Get-CsManagementStoreReplicationStatus -CentralManagementStoreStatus

LastUpdatedOn                        : 22/03/2016 6:48:58 PM
ActiveMasterFqdn                     : ActiveServer.ad.local
ActiveMasterLastHeartBeat            : 22/03/2016 6:52:18 PM
ActiveFileTransferAgentFqdn          : ActiveServer.ad.local
ActiveFileTransferAgentLastHeartBeat : 22/03/2016 6:52:17 PM
ActiveReplicas                       : {ActiveServer.ad.local, EdgeServer.ad.local}
DeletedReplicas                      : {RemovedServer.ad.local, RemovedEdgeServer.ad.local}



PS C:\Windows\system32>


I was able and saw the DeletedReplicas.


Normal the Invoke-CsManagementStoreReplication should solve the problem, but simply it didn't work out.




Even if you had decommission a server proper, which is:
1. remove from Topology
2. must Disable-CsComputer








Note:
If you run Bootstrapper, the Disable/ Uninstallation is not working.


They stuck still in the DeletedReplicas.


The only solution,(but not support if you can run Disable-CsComputer any longer) is, you have to remove them manually from the XDS database.


Go the SQL CMS Server and execute the script finding the left over servers:


USE xds
GOSELECT [ReplicaId]
,[Fqdn]
,[Supports]
,[LastUpdateCreation]
,[LastStatusReport]
,[DeletedOn]
,[ProductVersion]
,[UpdateThrottleDuration]
FROM [dbo].[Replica]
GO


Than identify the DeletedReplica Server and delete them with:


delete [dbo].[Replica] where [ReplicaId] in (1,4)
where (1,4) are the column identified with the DeletedReplicas server.

This should support this issue.







1 comment:

  1. Corporate events and activities are impressive tools for promotion and in developing popularity with the customers - both new and old. Successful event at seattle convention center employ creative ideas and the prosperity of the social media opportunities that are available.

    ReplyDelete