<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Doug Deitterick&amp;#39;s Blog</title><subtitle type="html">Information about Microsoft Lync, OCS, and Exchange UM.</subtitle><id>http://blogs.technet.com/b/dodeitte/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/dodeitte/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2013-02-10T23:32:00Z</updated><entry><title>Issue with Accessing CMS on Paired Standard Edition Server</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/04/28/issue-with-accessing-cms-on-paired-standard-edition-server.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/04/28/issue-with-accessing-cms-on-paired-standard-edition-server.aspx</id><published>2013-04-29T02:54:00Z</published><updated>2013-04-29T02:54:00Z</updated><content type="html">&lt;p&gt;I came across this issue while testing paired pool fail-over.&amp;nbsp; The issue is dependent on a couple of things, namely how you configure your base OS server build and when you paired the Standard Edition Servers.&amp;nbsp; For me this became an issue when I performed the following steps in this order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Created/Installed two Lync Server 2013 Standard Edition Servers that aren't paired together.&lt;/li&gt;
&lt;li&gt;Ran the Install-CsDatabase -CentralManagementStore cmdlet on the second Standard Edition Server.&lt;/li&gt;
&lt;li&gt;Setup pool pairing in Topology Builder and published the new topology from the second Standard Edition Server.&lt;/li&gt;
&lt;li&gt;Ran Step 2 from the Deployment Wizard on both Standard Edition Servers to install the Lync Server Backup Service.&lt;/li&gt;
&lt;li&gt;Followed the steps in the &lt;a href="http://technet.microsoft.com/en-us/library/jj721939.aspx"&gt;Managing Lync Server 2013 Disaster Recovery, High Availability, and Backup Service&lt;/a&gt; TechNet article to fail-over to the second Standard Edition Server.&lt;/li&gt;
&lt;li&gt;Tied to access the CMS from another Lync Server or bring the&amp;nbsp;first Standard Edition Server back online and try to access the CMS.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With the CMS failed over to the second Standard Edition Server, I was unable to access the CMS from any server except the second Standard Edition Server.&amp;nbsp; Trying to download the topology in&amp;nbsp;Topology Builder on the first Standard Edition Server returned the following:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6165.2013_5F00_04_5F00_28_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/410x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6165.2013_5F00_04_5F00_28_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Running Get-CsBackupServiceStatus on the first Standard Edition Server to check the state of the Lync Server Backup Service returned the following:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5100.2013_5F00_04_5F00_28_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5100.2013_5F00_04_5F00_28_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3566.2013_5F00_04_5F00_28_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3566.2013_5F00_04_5F00_28_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, running the same cmdlets on the second Standard Edition Server returned different results:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5315.2013_5F00_04_5F00_28_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5315.2013_5F00_04_5F00_28_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5148.2013_5F00_04_5F00_28_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5148.2013_5F00_04_5F00_28_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, the second Standard Edition Server was logging the following in the Lync Server Event Log every 2 minutes:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3582.2013_5F00_04_5F00_28_5F00_01_2D00_06.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3582.2013_5F00_04_5F00_28_5F00_01_2D00_06.png" alt="" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lync Server&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LS Backup Service&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/28/2013 11:21:01 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4090&lt;br /&gt;Task Category: (4000)&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Information&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST-LS15-SE2.test.deitterick.com&lt;br /&gt;Description:&lt;br /&gt;Microsoft Lync Server 2013, Backup Service central management backup module performs a full sync export.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At the same time the first Standard Edition Server was logging the following&amp;nbsp;errors in the Lync Server Eventlog:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/1145.2013_5F00_04_5F00_28_5F00_01_2D00_08.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/1145.2013_5F00_04_5F00_28_5F00_01_2D00_08.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lync Server&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LS Backup Service&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/28/2013 11:27:15 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4095&lt;br /&gt;Task Category: (4000)&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST-LS15-SE1.test.deitterick.com&lt;br /&gt;Description:&lt;br /&gt;Failed to read topology from Master Central Management database Microsoft Lync Server 2013, Backup Service will continuously attempt to retrieve the topology.&lt;/p&gt;
&lt;p&gt;While this condition persists, the module will not be able to perform backup.&lt;br /&gt;Exception: &lt;br /&gt;Could not connect to SQL server : [Exception=System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnectionOptions userOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlConnection.Open()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.Common.Data.DBCore.PerformSprocContextExecution(SprocContext sprocContext)&lt;br /&gt;ClientConnectionId:00000000-0000-0000-0000-000000000000]&lt;br /&gt;Cause: Possible issues with Master Backend database&lt;br /&gt;Resolution:&lt;br /&gt;Ensure that the SQL Server hosting the Master Central Management is running.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3146.2013_5F00_04_5F00_28_5F00_01_2D00_09.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3146.2013_5F00_04_5F00_28_5F00_01_2D00_09.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lync Server&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LS Backup Service&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/28/2013 11:27:15 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4082&lt;br /&gt;Task Category: (4000)&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST-LS15-SE1.test.deitterick.com&lt;br /&gt;Description:&lt;br /&gt;Microsoft Lync Server 2013, Backup Service central management backup module failed to complete import operation.&lt;/p&gt;
&lt;p&gt;Configurations: &lt;br /&gt;Backup Module Identity:CentralMgmt.CMSMaster&lt;br /&gt;Working Directory path:\\TEST-LS15-SE1.test.deitterick.com\share\1-BackupService-4\BackupStore\Temp&lt;br /&gt;Local File Store Unc path:\\TEST-LS15-SE1.test.deitterick.com\share\1-BackupService-4\BackupStore&lt;br /&gt;Remote File Store Unc path:\\TEST-LS15-SE2.test.deitterick.com\share\1-BackupService-3\BackupStore&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Additional Message: &lt;br /&gt;&amp;nbsp;Exception: Microsoft.Rtc.BackupService.ModuleUnavailableException: Backup module is temporarily unavailable at this point. Reason: CMS backup module is not initialized yet.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModules.CentralMgmtBackupModule.CheckModuleAvailability(Nullable`1 primaryPool)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModules.CentralMgmtBackupModule.ApplyChanges(Unzipper unzipper, String&amp;amp; newCookie, Boolean&amp;amp; forceSetErrorState)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModuleHandler.ReceiveBackupDataTask.ApplyChanges(Boolean&amp;amp; forceSetErrorState)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModuleHandler.ReceiveBackupDataTask.InternalExecute()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.Common.TaskManager`1.ExecuteTask(Object state)&lt;/p&gt;
&lt;p&gt;Cause: Either network or permission issues. Please look through the exception details for more information.&lt;br /&gt;Resolution:&lt;br /&gt;Resolution&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6404.2013_5F00_04_5F00_28_5F00_01_2D00_10.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6404.2013_5F00_04_5F00_28_5F00_01_2D00_10.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lync Server&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LS Backup Service&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/28/2013 11:30:45 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4080&lt;br /&gt;Task Category: (4000)&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST-LS15-SE1.test.deitterick.com&lt;br /&gt;Description:&lt;br /&gt;Microsoft Lync Server 2013, Backup Service central management backup module failed to complete export operation.&lt;/p&gt;
&lt;p&gt;Configurations: &lt;br /&gt;Backup Module Identity:CentralMgmt.CMSMaster&lt;br /&gt;Working Directory path:\\TEST-LS15-SE1.test.deitterick.com\share\1-BackupService-4\BackupStore\Temp&lt;br /&gt;Local File Store Unc path:\\TEST-LS15-SE1.test.deitterick.com\share\1-BackupService-4\BackupStore&lt;br /&gt;Remote File Store Unc path:\\TEST-LS15-SE2.test.deitterick.com\share\1-BackupService-3\BackupStore&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Additional Message: &lt;br /&gt;&amp;nbsp;Exception: Microsoft.Rtc.BackupService.ModuleUnavailableException: Backup module is temporarily unavailable at this point. Reason: CMS backup module is not initialized yet.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModules.CentralMgmtBackupModule.CheckModuleAvailability(Nullable`1 primaryPool)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModules.CentralMgmtBackupModule.ConfirmChanges(String cookie)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModuleHandler.SendBackupDataTask.ConfirmChanges(String cookie)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModuleHandler.SendBackupDataTask.ConfirmChangesAndPrepareCookieToSync(Boolean primaryDataExists, Boolean secondDataExists, CookieContainer&amp;amp; oldCookie, Boolean&amp;amp; forPrimaryBatch)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.BackupService.BackupModuleHandler.SendBackupDataTask.InternalExecute()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Rtc.Common.TaskManager`1.ExecuteTask(Object state)&lt;/p&gt;
&lt;p&gt;Cause: Either network or permission issues. Please look through the exception details for more information.&lt;br /&gt;Resolution:&lt;br /&gt;Resolution&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue is that the Windows Firewall is blocking access to SQL.&amp;nbsp; If you compare the Windows Firewall rules on the&amp;nbsp;first&amp;nbsp;Standard Edition Server to the rules on the second Standard Edition Server, you'll notice that 2 rules are missing on the second Standard Edition Server:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3005.2013_5F00_04_5F00_28_5F00_01_2D00_07.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/250x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3005.2013_5F00_04_5F00_28_5F00_01_2D00_07.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is why access to the CMS on the second Standard Edition Server is failing except from the second Standard Edition Server.&amp;nbsp; These two rules were added to the first Standard Edition Server when I ran the "Prepare first Standard Edition server" step in the Deployment Wizard.&amp;nbsp; This is why they're on the first Standard Edition Server, but not the second.&amp;nbsp; The fix is just to manually add these rules to the second Standard Edition Server.&amp;nbsp; Once the rules are added, you'll be able to access the CMS from other Lync Servers.&amp;nbsp; This will also resolve the ErrorState that Get-CsBackupServiceStatus is displaying for the first Standard Edition Server.&lt;/p&gt;
&lt;p&gt;If you had decided to pair the Standard Edition Servers when you first authored the topology, you could have just ran the "Prepare first Standard Edition server" step&amp;nbsp;in the Deployment Wizard on both Standard Edition Servers.&amp;nbsp; This would have created the required SQL instance and placed the&amp;nbsp;correct&amp;nbsp;rules in the Windows Firewall.&amp;nbsp; Of course, if you have the Windows Firewall disabled, you wouldn't run into this issue, but it's not recommended to disable the Windows Firewall!&lt;/p&gt;
&lt;p&gt;The important thing to remember is to make sure that the&amp;nbsp;Windows Firewall rules&amp;nbsp;on your paired Standard Edition Server&amp;nbsp;are setup correctly.&amp;nbsp; Otherwise you might be in for a surprise when practicing&amp;nbsp;your disaster recovery plan!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3567517" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>Archiving Options in Lync Server 2013</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/04/24/archiving-options-in-lync-server-2013.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/04/24/archiving-options-in-lync-server-2013.aspx</id><published>2013-04-25T02:36:00Z</published><updated>2013-04-25T02:36:00Z</updated><content type="html">&lt;p&gt;Lync Server 2013 has made a couple of changes to what can be archived and where that archived data can be stored.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What's New?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Collocation of Archiving on Front End Servers&lt;/li&gt;
&lt;li&gt;Exchange Server 2013&amp;nbsp;Integration&lt;/li&gt;
&lt;li&gt;SQL Store Mirroring&lt;/li&gt;
&lt;li&gt;Archiving of Whiteboard and Polls&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With the collocation of the Archiving Server&amp;nbsp;role onto the Front End Servers, we've eliminated the need for a separate Archiving Server in Lync Server 2013.&amp;nbsp; This will&amp;nbsp;help to reduce the server footprint required.&amp;nbsp;&amp;nbsp;The Archiving service uses Unified Data Collection Agents that are responsible for capturing data and are located on all Front End Servers and Standard Edition Servers.&amp;nbsp; This also means that MSMQ is no longer needed!&amp;nbsp; It has been replaces by LySS (Lync Storage Service).&amp;nbsp; Also,&amp;nbsp;you now have the choice to use Lync for the archiving store or Exchange Server 2013.&amp;nbsp; However, you can't archive to both locations at the same time.&amp;nbsp; Archiving to Lync is similar to previous versions.&amp;nbsp; The archived information is stored in the LcsLog database in SQL.&amp;nbsp; If you decide to use Exchange Server 2013 are the archiving store, you will be using OAuth and EWS to deliver the archived data to Exchange Server 2013.&amp;nbsp; Archiving also supports SQL mirroring for high availability and the database can be collocated in the same instance as the Front End Server databases, or it can be in a separate instance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What Information Can Be Archived?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The following types of content can be archived:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Peer-to-peer instant messages&lt;/li&gt;
&lt;li&gt;Conferences (meetings), which are multiparty instant messages&lt;/li&gt;
&lt;li&gt;Conference content, including uploaded content (for example, handouts) and event-related content (for example, joining, leaving, uploading sharing, and changes in visibility)&lt;/li&gt;
&lt;li&gt;Whiteboards and polls shared during a conference&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following types of content are &lt;strong&gt;not&lt;/strong&gt; archived:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Peer-to-peer file transfers&lt;/li&gt;
&lt;li&gt;Audio/video for peer-to-peer instant messages and conferences&lt;/li&gt;
&lt;li&gt;Desktop and application sharing for peer-to-peer instant messages and conferences&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Lync Server 2013 Archiving service&amp;nbsp;does not archive Persistent Chat conversations. To archive Persistent Chat conversations, you must enable and configure the compliance service, which is a component that can be deployed with&amp;nbsp;the Lync Server 2013&amp;nbsp;Persistent Chat Server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How Archiving to Lync Works&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The first thing is to enable archiving.&amp;nbsp; You can do that in the Lync Server 2013 Control Panel or via the Lync Server Management Console:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8666.2013_5F00_04_5F00_14_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8666.2013_5F00_04_5F00_14_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EnableArchiving&lt;br /&gt;&lt;/strong&gt;Indicates which items (if any) are saved to the archiving database. Valid values are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;None. Archiving is disabled. This is the default value. If EnableArchiving is set to None then nothing will be archived in either your Lync Server archiving database or in Exchange 2013.&lt;/li&gt;
&lt;li&gt;ImOnly. Only instant message transcripts are archived. If Exchange archiving is enabled these transcripts will be archived in Exchange 2013. If Exchange archiving is disabled then these transcripts will be archived to Lync Server.&lt;/li&gt;
&lt;li&gt;ImAndWebConf. Both instant message transcripts and Web conferencing transcripts are archived. If Exchange archiving is enabled these transcripts will be archived in Exchange 2013. If Exchange archiving is disabled then these transcripts will be archived to Lync Server.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once archiving is enabled and an Archiving Policy is applied to your users, the Archiving Data Collection Agent on each of the Front End Servers in the pool will monitor&amp;nbsp;for IMs and/or Web Conferences that need to be archived.&amp;nbsp; It will send those to be archived communications to the LySS.&amp;nbsp; The LySS will then write it to the appropriate repository, either SQL or Exchange Server 2013.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How Archiving to Exchange Server 2013&amp;nbsp;Works&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The process for archiving to Exchange Server 2013 works similarly to archiving to SQL.&amp;nbsp; When configuring the&amp;nbsp;archiving settings for Exchange Server 2013, remember to check the box for &lt;strong&gt;Exchange Server integration&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8546.2013_5F00_04_5F00_14_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8546.2013_5F00_04_5F00_14_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EnableExchangeArchiving&lt;br /&gt;&lt;/strong&gt;When set to True, Lync Server 2013 instant message and conferencing transcripts are stored in Microsoft Exchange Server 2013 rather than a separate SQL Server database. &amp;nbsp;Note that if you enable Exchange archiving then users will be managed by the Exchange archiving policies instead of Lync Server 2013 archiving policies.&amp;nbsp; The default value is False.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8130.2013_5F00_04_5F00_14_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8130.2013_5F00_04_5F00_14_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lync Server 2013&amp;nbsp;will&amp;nbsp;use OAuth to connect to the user's mailbox in Exchange Server 2013.&amp;nbsp; You will need to configure both&amp;nbsp;Lync Server 2013&amp;nbsp;and Exchange Server 2013 for Oauth.&amp;nbsp; You can refer to the &lt;a href="http://technet.microsoft.com/en-us/library/jj649094(v=exchg.150).aspx"&gt;Configure OAuth Authentication&lt;/a&gt; TechNet article for Exchange Server 2013 and the &lt;a href="http://technet.microsoft.com/en-us/library/jj204817.aspx"&gt;Managing Server-to-Server Authentication (Oauth) and Partner Applications&lt;/a&gt; TechNet article for Lync Server 2013.&amp;nbsp; For users with a mailbox on Exchange Server 2013 and on In-Place hold the Exchange Archiving Policies override Lync Server archiving policies.&amp;nbsp; You can also set the archiving policy manually for individual users using the&amp;nbsp;Set-CsUser to select the archiving policy:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2705.2013_5F00_04_5F00_14_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2705.2013_5F00_04_5F00_14_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ExchangeArchivingPolicy&lt;/strong&gt;&lt;br /&gt;Indicates where the user's instant messaging sessions are archived. Allowed values are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Uninitialized - Indicates that archiving will be based on the In-Place Hold settings configured for the user's Exchange mailbox; if In-Place Hold has not been enabled on the user's mailbox then the user will have his or her messaging and Web Conferencing transcripts archived in Lync Server.&lt;/li&gt;
&lt;li&gt;UseLyncArchivingPolicy - Indicates that the user's instant messaging and Web conferencing transcripts should be archived in Lync Server rather than in Exchange.&lt;/li&gt;
&lt;li&gt;NoArchiving - Indicates that the user's instant messaging and Web conferencing transcripts should not be archived at all. Note that this setting overrides any Lync Server archiving policies assigned to the user.&lt;/li&gt;
&lt;li&gt;ArchivingToExchange - Indicates that the user's instant messaging and Web conferencing transcripts should be archived to Exchange regardless of the In-Place Hold settings that have (or have not) been assigned to the user's mailbox.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Where in Exchange Server 2013 are Archived&amp;nbsp;Lync Messages Stored?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When the user is set to archive into Exchange Server 2013, the messages are stored in a hidden folder (Recoverable Items &amp;gt; Purges) in their mailbox.&amp;nbsp; One way to verify this is to use &lt;a href="http://ewseditor.codeplex.com/"&gt;EWSEditor&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7140.2013_5F00_04_5F00_14_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7140.2013_5F00_04_5F00_14_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5672.2013_5F00_04_5F00_14_5F00_01_2D00_06.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5672.2013_5F00_04_5F00_14_5F00_01_2D00_06.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Opening&amp;nbsp;up the Purges folder will show you all the conversations that have been archived for that user.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Best Practices&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;One thing to check when setting up archiving to either&amp;nbsp;SQL or Exchange Server 2013&amp;nbsp;is to run the&amp;nbsp;Get-CsArchivingConfiguration cmdlet&amp;nbsp;make sure that &lt;strong&gt;ArchiveDuplicateMessages&lt;/strong&gt; is set to &lt;strong&gt;True&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6266.2013_5F00_04_5F00_08_5F00_02_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6266.2013_5F00_04_5F00_08_5F00_02_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From the &lt;a href="http://technet.microsoft.com/en-us/library/gg413030.aspx"&gt;Set-CsArchivingConfiguration&lt;/a&gt; TechNet article:&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;ArchiveDuplicateMessages&lt;/strong&gt; parameter&amp;nbsp;specifies how "cross-pool" instant messages should be archived. Consider a simple example: Ken Myer (with an account in Pool 1) sends an instant message to Pilar Ackerman, who has an account in Pool 2. Pilar, in turn, sends a reply to Ken&amp;rsquo;s instant message. If ArchiveDuplicateMessages is set to False, then (based on a built-in algorithm) the session transcript will be logged in either Pool 1 or Pool 2, but not both. If ArchiveDuplicateMessages is set to True (the default value), the transcript will be logged in both pools.&lt;/p&gt;
&lt;p&gt;Another parameter to look at and possibly adjust depending on your company policies is&amp;nbsp;&lt;strong&gt;CachePurgingInterval&lt;/strong&gt;.&amp;nbsp; From the &lt;a href="http://technet.microsoft.com/en-us/library/gg413030.aspx"&gt;Set-CsArchivingConfiguration&lt;/a&gt; TechNet article:&lt;/p&gt;
&lt;p&gt;This parameter indicates how often (in hours) the system is purged of transcripts where none of the participants have been enabled for archiving. By design, all group IM sessions and conferencing sessions are recorded when they take place. At the specified interval, the system determines whether any of the participants in these sessions have been enabled for archiving. If the system finds a session where none of the participants have been enabled for archiving, then that transcript will be deleted from the database. The CachePurgingInterval property can be set to any integer value between 4 and 168, inclusive. The default value is 24.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3554807" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>Issue with Calling Number Translation Rules and E.164 Extensions</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/04/21/issue-with-calling-number-translation-rules-and-e-164-extensions.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/04/21/issue-with-calling-number-translation-rules-and-e-164-extensions.aspx</id><published>2013-04-22T03:42:00Z</published><updated>2013-04-22T03:42:00Z</updated><content type="html">&lt;p&gt;I came across this issue while troubleshooting dialing issues at a customer.&amp;nbsp; When a Lync 2013&amp;nbsp;user&amp;nbsp;placed an outbound call to the PSTN, the call failed.&amp;nbsp; On the gateway we could see that the calling party's number wasn't being translated properly.&amp;nbsp; The interesting thing was that we already had a trunk configuration setup with a calling number translation rule configured:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/0131.2013_5F00_04_5F00_19_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/0131.2013_5F00_04_5F00_19_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The above rule should be translating the calling party's number to:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8475.2013_5F00_04_5F00_19_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8475.2013_5F00_04_5F00_19_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, looking at the gateway, we can see that this isn't happening:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;INVITE sip:94255550105@mp114-red.lab.deitterick.com;user=phone SIP/2.0&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;FROM: "William Cooper"&amp;lt;sip:+14255550101;ext=0101@lab.deitterick.com;user=phone&amp;gt;;epid=3316DAF438;tag=861f7b5a&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;TO: &amp;lt;sip:94255550105@mp114-red.lab.deitterick.com;user=phone&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For some reason the full E.164 phone number is being sent to the gateway.&amp;nbsp; The reason this was happening was because when the user's line URI was configured, it&amp;nbsp;was configured with an E.164 extension (;ext=0101).&amp;nbsp; The calling number translation rule we configured is explicitly looking for 12 digits.&amp;nbsp; If you enter the full E.164 phone number including the extension, which is what Outbound Routing is sending, no match is found:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3835.2013_5F00_04_5F00_19_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3835.2013_5F00_04_5F00_19_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The solution is really simple, you just need to account for the E.164 extension in the calling&amp;nbsp;number translation&amp;nbsp;rule:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8204.2013_5F00_04_5F00_19_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8204.2013_5F00_04_5F00_19_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The pattern to match is:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;^\+1(42555501\d{2})(;ext=\d{4})?$&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As you can see I've added the E.164 extension to the pattern to match string.&amp;nbsp; I've also added the &lt;strong&gt;?&lt;/strong&gt; after it.&amp;nbsp; This means that this rule will also apply if the calling party's number doesn't have an E.164 extension assigned.&amp;nbsp; Now when testing the rule, you can see that it succeeds using both formats:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8546.2013_5F00_04_5F00_19_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8546.2013_5F00_04_5F00_19_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8475.2013_5F00_04_5F00_19_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Now when the gateway&amp;nbsp;receives the&amp;nbsp;call, the calling party's number is properly formatted properly:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;INVITE sip:94255550105@mp114-red.lab.deitterick.com;user=phone SIP/2.0&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;FROM: "William Cooper"&amp;lt;sip:4255550101@lab.deitterick.com;user=phone&amp;gt;;epid=3316DAF438;tag=f9a5772c0&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;TO: &amp;lt;sip:94255550105@mp114-red.lab.deitterick.com;user=phone&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are including the E.164 extension on your Lync 2013&amp;nbsp;users and you need to apply calling number translation rules, remember that you'll need to account for the extensions when building your rules.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3567039" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>Issue with Automatic Updates Enabled &amp; Office Web Apps Server 2013 Update</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/03/29/issue-with-automatic-updates-enabled-amp-office-web-apps-server-2013-update.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/03/29/issue-with-automatic-updates-enabled-amp-office-web-apps-server-2013-update.aspx</id><published>2013-03-30T01:33:00Z</published><updated>2013-03-30T01:33:00Z</updated><content type="html">&lt;p&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;Update 4/8/13 - Added information about change to KB2760445 automatically updating.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I came across this issue in my lab the other day.&amp;nbsp; I noticed that in Hyper-V Manager both of my Office Web Apps Servers had really high CPU utilization:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3554.2013_5F00_03_5F00_29_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/389x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3554.2013_5F00_03_5F00_29_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It's&amp;nbsp;pretty rare that one of my VMs would be doing that much to consume that much of the CPU, so I looked at Task Manager on both of the VMs and saw that they were both pegging the processor:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4341.2013_5F00_03_5F00_29_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4341.2013_5F00_03_5F00_29_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Neither&amp;nbsp;server should be this busy, so I checked out the Application Event Log to&amp;nbsp;find out what was going on and found the following errors:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3426.2013_5F00_03_5F00_29_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3426.2013_5F00_03_5F00_29_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .NET Runtime&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/29/2013 6:11:08 PM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1026&lt;br /&gt;Task Category: None&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LAB-OWA1.lab.deitterick.com&lt;br /&gt;Description:&lt;br /&gt;Application: WordViewerWfeWatchdog.exe&lt;br /&gt;Framework Version: v4.0.30319&lt;br /&gt;Description: The process was terminated due to an unhandled exception.&lt;br /&gt;Exception Info: System.TypeInitializationException&lt;br /&gt;Stack:&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Web.Common.ServiceInstanceFinder.GetLocalAgentInstance(Microsoft.Office.Web.Common.OfficeServiceType)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Web.Common.WatchdogHelper.PrepareRegistrations(Microsoft.Office.Web.Common.OfficeServiceType)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Web.Common.WatchdogHelper.WatchMachines(Microsoft.Office.Web.Common.OfficeServiceType, CheckServiceInstance, Microsoft.Office.Web.Common.OfficeServiceType, System.String)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Web.WordViewerWatchdog.Wfe.Program.Main()&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8540.2013_5F00_03_5F00_29_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8540.2013_5F00_03_5F00_29_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application Error&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/29/2013 6:11:08 PM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;br /&gt;Task Category: (100)&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LAB-OWA1.lab.deitterick.com&lt;br /&gt;Description:&lt;br /&gt;Faulting application name: WordViewerWfeWatchdog.exe, version: 15.0.4481.1000, time stamp: 0x50ee5a74&lt;br /&gt;Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988aa6&lt;br /&gt;Exception code: 0xe0434352&lt;br /&gt;Fault offset: 0x000000000003811c&lt;br /&gt;Faulting process id: 0x17e8&lt;br /&gt;Faulting application start time: 0x01ce2cca4f9a878f&lt;br /&gt;Faulting application path: C:\Program Files\Microsoft Office Web Apps\WordViewerWfeWatchdog\WordViewerWfeWatchdog.exe&lt;br /&gt;Faulting module path: C:\Windows\system32\KERNELBASE.dll&lt;br /&gt;Report Id: 8e4fbe96-98bd-11e2-93f0-00155d010f10&lt;br /&gt;Faulting package full name: &lt;br /&gt;Faulting package-relative application ID:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There were tons of these errors in the&amp;nbsp;Application Event Log.&amp;nbsp; Recently an update for Office Web Apps Server 2013 was installed:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2474.2013_5F00_03_5F00_29_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2474.2013_5F00_03_5F00_29_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: You may need to click on the image above in order to read the text.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Since I had&amp;nbsp;Microsoft Update enabled on the servers, the update was installed automatically:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3058.2013_5F00_03_5F00_29_5F00_01_2D00_06.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3058.2013_5F00_03_5F00_29_5F00_01_2D00_06.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately Office Web Apps Server 2013 has specific steps that need to be followed in order to correctly apply updates.&amp;nbsp; Those steps are detailed in the &lt;a href="http://technet.microsoft.com/en-us/library/jj966220.aspx"&gt;Apply software updates to Office Web Apps Server&lt;/a&gt; TechNet article.&amp;nbsp; Since I let Microsoft Update automatically install the updates, the machines weren't removed from the Office Web Apps Server farm before the update was applied, which is what caused the errors listed above.&amp;nbsp; Also unfortunate is that &lt;a href="http://support.microsoft.com/kb/2760445"&gt;KB2760445&lt;/a&gt; doesn't have an uninstall option.&amp;nbsp; This means that to fix this issue you will need to uninstall Office Web Apps Server 2013, reinstall, and setup the Office Web Apps Server farm again:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7103.2013_5F00_03_5F00_29_5F00_01_2D00_07.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7103.2013_5F00_03_5F00_29_5F00_01_2D00_07.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once Office Web Apps Server 2013 is installed again, and before you recreate the Office Web Apps Server farm, download and install &lt;a href="http://support.microsoft.com/kb/2760445"&gt;KB2760445&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You may need to restart the server in order for the Office Web Apps Server 2013 PowerShell cmdlets to be loaded back into PowerShell by default.&lt;/p&gt;
&lt;p&gt;After installing KB2760445 and recreating the Office Web Apps Server farm, CPU utilization on the servers is back to normal:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3527.2013_5F00_03_5F00_29_5F00_01_2D00_08.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/389x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3527.2013_5F00_03_5F00_29_5F00_01_2D00_08.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the future, to correctly install updates for Office Web Apps Server 2013, follow the steps listed in the &lt;a href="http://technet.microsoft.com/en-us/library/jj966220.aspx"&gt;Apply software updates to Office Web Apps Server&lt;/a&gt;&amp;nbsp;TechNet article.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; A change was made to the way Microsoft Update handles &lt;a href="http://support.microsoft.com/kb/2760445"&gt;KB2760445.&lt;/a&gt;&amp;nbsp; The update is no longer installed automatically during the Windows Update maintenance window.&amp;nbsp; An administrator will now need to manually installed the update:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7651.2013_5F00_04_5F00_08_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7651.2013_5F00_04_5F00_08_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6644.2013_5F00_04_5F00_08_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6644.2013_5F00_04_5F00_08_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before applying the update, you will still need to follow the steps listed in the&amp;nbsp;&lt;a href="http://technet.microsoft.com/en-us/library/jj966220.aspx"&gt;Apply software updates to Office Web Apps Server&lt;/a&gt;&amp;nbsp;TechNet article!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3561887" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /><category term="Office Web Apps Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Office+Web+Apps+Server+2013/" /></entry><entry><title>Issue Deploying Lync Server 2013 Monitoring Reports to SQL Mirror</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/03/09/issue-deploying-lync-server-2013-monitoring-reports-to-sql-mirror.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/03/09/issue-deploying-lync-server-2013-monitoring-reports-to-sql-mirror.aspx</id><published>2013-03-09T18:53:00Z</published><updated>2013-03-09T18:53:00Z</updated><content type="html">&lt;p&gt;I was playing around with the Lync Server 2013 Monitoring Reports and decided to deploy it to both of my SQL Servers in my lab.&amp;nbsp; I have a SQL mirror setup and I installed Reporting Services on both servers.&amp;nbsp; My initial thought was to use a hardware load balancer to distribute the traffic to both Reporting Services Servers.&amp;nbsp; This would also give me high availability within the site for the Monitoring Reports.&amp;nbsp; However, when I went to deploy the Monitoring Reports to the server acting as the SQL mirror, I received the following error:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3857.2013_5F00_03_5F00_05_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3857.2013_5F00_03_5F00_05_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3733.2013_5F00_03_5F00_05_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3733.2013_5F00_03_5F00_05_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cannot grant ReportsReadOnlyRole to user "LAB\srvLyncReports". For details, see the following error message:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Exception calling "Create" with "0" argument(s): "Create failed for User 'LAB\srvLyncReports'."&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;From the error message it looks like the Deploy Monitoring Reports wizard can't assign rights to the&amp;nbsp;service account in SQL.&amp;nbsp; Opening up the SQL instance in SQL Server Management Studio on the SQL mirror you can see that all of the databases are listed and mirroring is working correctly:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3716.2013_5F00_03_5F00_05_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/335x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3716.2013_5F00_03_5F00_05_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However when I go into the properties for the service account and click on the User Mapping page, I received the following message:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4718.2013_5F00_03_5F00_05_5F00_01_2D00_08.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4718.2013_5F00_03_5F00_05_5F00_01_2D00_08.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;One or more databases are inaccessible and will not be displayed in list.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When I tried the same thing on the primary SQL Server, all of the databases are listed correctly and you can see that the service account is assigned ReportsReadOnlyRole:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2555.2013_5F00_03_5F00_05_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2555.2013_5F00_03_5F00_05_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It appears that you can only assign permissions to databases on the primary SQL Server in the mirror and the Deploy Monitoring Reports wizard won't continue unless it can access the databases, even though the permissions are already set on the primary.&amp;nbsp; At this point&amp;nbsp;the Monitoring Reports are only deployed to the primary SQL Server.&amp;nbsp; They don't get replicated to the mirror, since&amp;nbsp;Reporting Services doesn't participate in the SQL mirroring that&amp;nbsp;is configured.&amp;nbsp; Looking at the SQL Server Reporting Services (SSRS) website on the SQL mirror, you can see that this is the case:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3465.2013_5F00_03_5F00_05_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3465.2013_5F00_03_5F00_05_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So in order to publish the Monitoring Reports to the SQL mirror you will need to fail the databases (LcsCDR and QoEMetrics) over to the SQL mirror.&amp;nbsp; You can accomplish this by running the Invoke-CsDatabaseFailover cmdlet:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2273.2013_5F00_03_5F00_05_5F00_01_2D00_12.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2273.2013_5F00_03_5F00_05_5F00_01_2D00_12.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will make just the Monitoring Server databases active on the SQL mirror.&amp;nbsp; You can confirm this in SQL Server Management Studio:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7220.2013_5F00_03_5F00_05_5F00_01_2D00_13.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/328x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7220.2013_5F00_03_5F00_05_5F00_01_2D00_13.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With the Monitoring Server databases active on the SQL mirror, you can now run the Deploy Monitoring Reports wizard and deploy the reports:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3857.2013_5F00_03_5F00_05_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/1348.2013_5F00_03_5F00_05_5F00_01_2D00_06.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/1348.2013_5F00_03_5F00_05_5F00_01_2D00_06.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can confirm the reports were published by going to the SSRS&amp;nbsp;website on the SQL mirror:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2047.2013_5F00_03_5F00_05_5F00_01_2D00_07.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2047.2013_5F00_03_5F00_05_5F00_01_2D00_07.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once you have successfully deployed the Monitoring Reports to the SQL mirror you can fail the Monitoring Server databases back to the primary SQL Server.&amp;nbsp; Now that both SQL Servers have the Monitoring Reports deployed, the Lync Server 2013 Control Panel will display both servers under the View Monitoring reports section:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7851.2013_5F00_03_5F00_05_5F00_01_2D00_09.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/335x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7851.2013_5F00_03_5F00_05_5F00_01_2D00_09.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, if you try to view the Monitoring Reports from the SQL Server that isn't currently the primary for the Monitoring Server database, you will receive&amp;nbsp;the following error message:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2844.2013_5F00_03_5F00_05_5F00_01_2D00_10.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/2844.2013_5F00_03_5F00_05_5F00_01_2D00_10.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="display: inline;"&gt;&lt;strong&gt;An error has occurred during report processing. &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;(rsProcessingAborted)&lt;/strong&gt;
&lt;ul&gt;
&lt;li style="display: inline;"&gt;&lt;strong&gt;Cannot create a connection to data source 'CDRDB'. &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;(rsErrorOpeningConnection)&lt;/strong&gt;
&lt;ul&gt;
&lt;li style="display: inline;"&gt;&lt;strong&gt;For more information about this error navigate to &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;the report server on the local server machine, or enable remote errors&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is because connection string data sources is pointing to the local SQL Server:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8765.2013_5F00_03_5F00_05_5F00_01_2D00_11.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8765.2013_5F00_03_5F00_05_5F00_01_2D00_11.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Connection string: &lt;strong&gt;data source=&lt;span style="background-color: #ffff00;"&gt;(local)&lt;/span&gt;;initial catalog=LcsCDR&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You could change this to point to the active copy of the Monitoring Server databases, but this means that you would need to change the connection string every time you failed over the databases.&amp;nbsp; I prefer to think to the Monitoring Server reports as active/passive.&amp;nbsp; While you won't be able to load balance connections to the reports in this configuration, you will get redundancy in case you need to view the reports while the Monitoring Server databases are failed over to the SQL mirror.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556651" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>Issue Configuring SQL Mirroring for Lync Server 2013 when SQL Witness is Defined But Not Available</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/03/05/issue-configuring-sql-mirroring-for-lync-server-2013-when-sql-witness-is-defined-but-not-available.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/03/05/issue-configuring-sql-mirroring-for-lync-server-2013-when-sql-witness-is-defined-but-not-available.aspx</id><published>2013-03-05T20:22:00Z</published><updated>2013-03-05T20:22:00Z</updated><content type="html">&lt;p&gt;I ran into an interesting issue while trying to setup SQL mirroring with a witness in my lab.&amp;nbsp; When installing the databases and setting up mirroring in Topology Builder:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6013.2013_5F00_03_5F00_03_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6013.2013_5F00_03_5F00_03_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The wizard&amp;nbsp;kept failing when trying to setup the mirror:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/1667.2013_5F00_03_5F00_03_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/1667.2013_5F00_03_5F00_03_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looking at the log file I saw the following errors listed:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error: DsRoleGetPrimaryDomainInformation failed with error "6BA".&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error: An error occurred: "Microsoft.Rtc.Management.ADConnect.CannotGetDomainInfoException" "DsRoleGetPrimaryDomainInformation failed with error "6BA"."&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/0160.2013_5F00_03_5F00_03_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/0160.2013_5F00_03_5F00_03_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: You may need to click on the image above in order to read the text.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately neither of the error messages provided much useful information on why the error was occurring.&amp;nbsp; I made sure that connectivity to Active Directory was OK and that my Domain Controllers were working properly since the error message made reference to AD.&amp;nbsp; With everything checking out OK and the Install Database wizard still failing in Topology Builder, I decided to run the command manually from the Lync Server&amp;nbsp;Management Shell.&amp;nbsp; Since I was setting up mirroring, Topology Builder was running the Install-CsMirrorDatabase cmdlet.&amp;nbsp; So, I ran that cmdlet from the Lync Server Management Shell using the appropriate parameters as well as including the Verbose parameter.&amp;nbsp; You can find all of the parameters documented in the &lt;a href="http://technet.microsoft.com/en-us/library/jj204986.aspx"&gt;Install-CsMirrorDatabase&lt;/a&gt; TechNet article.&amp;nbsp; Even though the cmdlet failed, this time the error message provided in PowerShell gave me enough information to help me solve the issue:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Install-CsMirrorDatabase : Command execution failed: Cannot setup mirroring because there is an error validating the version of the SQL Server instances. Verify that the SQL Server instances are available. Exception: Microsoft.SqlServer.Management.Common.ConnectionFailureException: &lt;span style="background-color: #ffff00;"&gt;Failed to connect to server LAB-SQL-WIT.lab.deitterick.com\SQLEXPRESS&lt;/span&gt;. ---&amp;gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is &lt;span style="background-color: #ffff00;"&gt;configured to allow remote connections&lt;/span&gt;. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;From the error message above, you can see that the error was actually happening while trying to connect to the SQL&amp;nbsp;witness. In this case I had installed SQL Express in my lab to act as the SQL witness.&amp;nbsp; Once I saw the error message I remembered that SQL Express doesn't allow remote connections by default.&amp;nbsp; In order to allow remote connections I needed to open SQL Server Configuration Manager, expand SQL Server Network Configurations, click on Protocols for SQLEXPRESS,&amp;nbsp;and set&amp;nbsp;TCP/IP to &lt;strong&gt;Enabled&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5661.2013_5F00_03_5F00_03_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/5661.2013_5F00_03_5F00_03_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With TCP/IP enabled, this time when running the Install Database wizard from Topology Builder, I was able to successfully complete setting up&amp;nbsp;SQL mirroring with&amp;nbsp;a witness:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3365.2013_5F00_03_5F00_03_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/3365.2013_5F00_03_5F00_03_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So while this time the log files weren't as much help in solving the issue, it is important to remember that when you are troubleshooting an issue in Lync, take advantage of all of the information that you can, between errors in the GUI, log files/tracing, and PowerShell, in order to help you solve any issues that you run into.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556059" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>How to Apply Lync Server 2013 Cumulative Updates</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/02/27/how-to-apply-lync-server-2013-cumulative-updates.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/02/27/how-to-apply-lync-server-2013-cumulative-updates.aspx</id><published>2013-02-28T03:36:00Z</published><updated>2013-02-28T03:36:00Z</updated><content type="html">&lt;p&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;Update 3/17/13 - Added information about additional update steps from KB2809243.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Just like previous versions of OCS/Lync, there are two methods to update the servers with OCS/Lync cumulative updates.&amp;nbsp; You can use Microsoft Update/WSUS or you can use LyncServerUpdateInstaller.exe.&amp;nbsp; Both ways accomplish the same thing, but what I find is that a lot of customers who use the Microsoft Update/WSUS method forget to then go back and apply any database updates that are needed.&amp;nbsp; This blog post focuses on&amp;nbsp;the LyncServerUpdateInstaller.exe method, as I prefer using it over the Microsoft Update/WSUS method:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Installing&amp;nbsp;Standard Edition Server Cumulative Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To apply the latest cumulative updates to a Standard Edition Server, all you need to do is run LyncServerUpdateInstaller.exe and click on &lt;strong&gt;Install Updates&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4503.2013_5F00_02_5F00_27_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;The installer will detect what Lync services have been installed on the server and will display whether or not the latest update has been applied.&amp;nbsp; Once the updates have been installed, restart the server if prompted to do so and then skip down to the "Installing Lync Database Updates" at the bottom of this article.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Installing&amp;nbsp;Enterprise Edition Pool Front End Server Cumulative Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;With the release of the &lt;a href="http://support.microsoft.com/kb/2809243"&gt;Lync Server 2013 Cumulative Updates&lt;/a&gt;, the process for updating Front End Servers in an Enterprise Edition Pool&amp;nbsp;has changed slightly.&amp;nbsp; Most of the changes have to do with the move to using Windows Fabric to replicate data between the Front End Servers in an Enterprise Edition Pool.&amp;nbsp; With the introduction of Windows Fabric a couple of other concepts were also introduced, User Groups and Upgrade Domains.&amp;nbsp; Both are created and managed by Windows Fabric automatically.&amp;nbsp; You can read more about these new features in the &lt;a href="http://www.windowsitpro.com/article/lync-2013/lync-server-2013-windows-fabric-user-groups-145176"&gt;Lync Server 2013: Windows Fabric &amp;amp; User Groups&lt;/a&gt; blog post.&amp;nbsp;&amp;nbsp;Because of these&amp;nbsp;new concepts in Lync Server 2013, you will need to update your Front End Servers one at a time, making sure that services are fully restored on that server before you move on to the next Front End Server in the pool&amp;nbsp;in order to make sure that you maintain quorum and at least one copy of all of the user groups.&amp;nbsp; The flow chart below, from the &lt;a href="http://technet.microsoft.com/en-us/library/jj204736.aspx"&gt;Upgrade or Update Front End Servers&lt;/a&gt; TechNet article, walks through the process:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4377.2013_5F00_02_5F00_26_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4377.2013_5F00_02_5F00_26_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Running&amp;nbsp;Get-CsPoolUpgradeReadinessState should return something similar to the following output:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4572.2013_5F00_02_5F00_27_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4572.2013_5F00_02_5F00_27_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the cmdlet returns True for IsReadyForUpgrade for the server you are going to update, you can then run LyncServerUpdateInstaller.exe and apply the necessary updates on the Front End Server:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4503.2013_5F00_02_5F00_27_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4503.2013_5F00_02_5F00_27_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This process is the same as updating a Standard Edition Server.&amp;nbsp; Once the updates have been installed, restart the server if prompted to do so.&amp;nbsp; Once the server has been restarted, make sure that all of the services have returned to the running state and then run the Get-CsPoolUpgradeReadinessState cmdlet again and&amp;nbsp;repeat the process until all of the Front End Servers in the pool have been updated.&amp;nbsp; You can&amp;nbsp;then skip to the "Installing Lync Database Updates" at the bottom of this article.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Installing Lync Database Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Also like previous version of OCS/Lync there Lync database updates that need to be applied.&amp;nbsp; The steps are detailed in the "Step 2: Apply the back end database updates" section in &lt;a href="http://support.microsoft.com/kb/2809243"&gt;KB2809243&lt;/a&gt;.&amp;nbsp; You apply the update&amp;nbsp;by running the following PowerShell cmdlet on one Front End Server in each Enterprise Edition Pool and all Standard Edition Servers in your environment:&lt;/p&gt;
&lt;p&gt;Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;New in Lync Server 2013, if you are using SQL Mirroring or you have setup paired pooling for the pool hosting your CMS, you&amp;nbsp;also need to remove and reinstall the mirror using the Uninstall/Install-CsMirrorDatabase cmdlets and the Install-CsDatabase cmdlet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional Update Steps&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Also make sure that you follow the steps in sections&amp;nbsp;"Step 3: Enable the Mobility service" and "Step 4: Enable the Unified Communications Web API" in &lt;a href="http://support.microsoft.com/kb/2809243"&gt;KB2809243&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Installing Updates on Other Lync Server 2013 Servers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To apply the latest cumulative updates on other Lync Server 2013 servers in your environment, just run LyncServerUpdateInstaller.exe and click on &lt;strong&gt;Install Updates&lt;/strong&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3554405" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>Lync 2013 Mobility</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/02/27/lync-2013-mobility.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/02/27/lync-2013-mobility.aspx</id><published>2013-02-27T21:04:00Z</published><updated>2013-02-27T21:04:00Z</updated><content type="html">&lt;p&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #ff0000;"&gt;Update 4/2/13 - Updated for release of&amp;nbsp;Android&amp;nbsp;client.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Update 3/12/13 - Updated for release of iOS client.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;With the release of the &lt;a href="http://support.microsoft.com/kb/2809243"&gt;Lync Server 2013: February 2013 Cumulative Updates&lt;/a&gt;, additional features are available with Lync mobility.&amp;nbsp; In order to take advantage of these new features, you will need to install the Lync 2013 version of the mobile client for the respective mobile platform.&amp;nbsp; The Lync 2013 mobile client will be released for Windows Phone, iOS, and Andriod through their respective marketplace.&amp;nbsp; The time and availability of the mobile apps will vary between each marketplace.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What's New?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There are a bunch of new features in both the Lync 2013 mobile client and the server.&amp;nbsp; The list below has some of the important changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mobile clients are built using the Unified Communications Web API&amp;nbsp;(UCWA).&amp;nbsp; This is the same API used to build the Lync 2013 Web App.&amp;nbsp; You can find out some more information about UCWA from&amp;nbsp;the &lt;a href="http://ucwa.lync.com"&gt;Unified Communications Web API website&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Support for Audio/Video over 3G/4G/Wi-Fi.&lt;/li&gt;
&lt;li&gt;Support for Application Sharing via the Lync 2013 iPad client.&lt;/li&gt;
&lt;li&gt;Layer 7 HLB no longer required.&amp;nbsp; The requirement for cookie-based persistence has been removed and only Layer 4 HLB is now required.&lt;/li&gt;
&lt;li&gt;Federation with O365 environment for push notifications on iOS clients is no longer required.&amp;nbsp; When using the Lync 2013 mobile client a VoIP socket is used instead of push notifications.&amp;nbsp; The Lync 2010 mobile client for iOS still uses push notifications, so if you still need to support legacy clients in your environment you will still need to enable federation with O365.&lt;/li&gt;
&lt;li&gt;Longer lived registration.&amp;nbsp; You won't be signed out of the mobile client if you haven't launched the application&amp;nbsp;in more than 3 days.&lt;/li&gt;
&lt;li&gt;HD photo support from Exchange 2013.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Deployment Considerations&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Since A/V is now supported over 3G/4G, or Wi-Fi the Edge Server plays a larger role in mobility deployments.&amp;nbsp; In the diagram below, you can see that the mobile client will still send signaling information via the Reverse Proxy, but it will now send&amp;nbsp;media via the A/V Edge interface on the Edge Server:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6305.2013_5F00_02_5F00_18_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/507x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6305.2013_5F00_02_5F00_18_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When in co-existence with Lync Server 2010, your Lync autodiscover URLs can still resolve to a Lync Server 2010 Front End Server or Director.&amp;nbsp; The Lync autodiscover service&amp;nbsp;will be return the correct external web services FQDN for your user based on your homed pool.&amp;nbsp; The media traffic from the Lync 2013 mobile client can also use a Lync Server 2010 Edge Server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Windows Phone Client Interoperability&lt;/strong&gt;&lt;/p&gt;
&lt;table border="0" cellpadding="4" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align: center;"&gt;&lt;strong&gt;Mobile&lt;br /&gt;Client&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align: center;"&gt;&lt;strong&gt;Install&lt;br /&gt; on WP 7.5&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align: center;"&gt;&lt;strong&gt;Install&lt;br /&gt; on WP 8&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align: center;"&gt;&lt;strong&gt;Connect to&lt;br /&gt;Lync Server&lt;br /&gt; 2010&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align: center;"&gt;&lt;strong&gt;Connect to&lt;br /&gt;Lync Server&lt;br /&gt; 2013&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lync 2010&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✔&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✔&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✔&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✔&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lync 2013&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✖&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✔&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✖&lt;/td&gt;
&lt;td style="text-align: center;"&gt;✔&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;From the table above, you can see that the Lync 2013 Windows Phone mobile client can only be installed on Windows Phone 8 and can only connect if the user is homed on a Lync Server 2013 pool that has the cumulative update installed.&amp;nbsp;&amp;nbsp;If you try to sign in to a Lync Server 2010 Front End Server or a Lync Server 2013 Front End Server without the cumulative update using the Lync 2013 mobile client you will see the following error message:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error: "You can't sign in with this version of Lync. Please install Lync 2010."&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;iOS and Android Client Interoperability&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Lync 2013 iOS client has been released for iPhone and iPad.&amp;nbsp; It is now available in the iTunes store.&amp;nbsp; You will need to be running&amp;nbsp;iOS 6.0 or later.&amp;nbsp; Keep in mind that for this client to work you will need to be homed on a Lync Server 2013 Standard Edition Server or Enterprise Edition Pool with at least the &lt;a href="http://support.microsoft.com/kb/2809243"&gt;Lync Server 2013: February 2013 Cumulative Updates&lt;/a&gt; installed.&amp;nbsp; Also the Lync 2013 Android client has been released.&amp;nbsp; It is now available in the Google Play store.&amp;nbsp; The list of supported Android phones is listed in &lt;a href="http://support.microsoft.com/kb/2829747"&gt;KB2829747&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3553329" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+2013/" /><category term="Lync Server 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+Server+2013/" /></entry><entry><title>Issue with Exchange UM Voicemails Being Delivered After Applying KB931125</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/02/11/issue-with-exchange-um-voicemails-being-delivered-after-applying-kb931125.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/02/11/issue-with-exchange-um-voicemails-being-delivered-after-applying-kb931125.aspx</id><published>2013-02-11T17:57:00Z</published><updated>2013-02-11T17:57:00Z</updated><content type="html">&lt;p&gt;I ran across this today with a customer.&amp;nbsp; We were setting up Exchange UM to connect to Lync and while that was working just fine, users could leave voicemail messages for other users, the email messages weren't being delivered to the user's mailbox.&amp;nbsp;&amp;nbsp;Looking at the Application Event Log on the UM Server we say the following error message:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4426.2013_5F00_02_5F00_11_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/4426.2013_5F00_02_5F00_11_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSExchange Unified Messaging&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/11/2013 11:22:08 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1423&lt;br /&gt;Task Category: UMCore&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVERNAME&lt;br /&gt;Description:&lt;br /&gt;The Unified Messaging server encountered an error while trying to process the message with header file "C:\Program Files\Microsoft\Exchange Server\V14\UnifiedMessaging\voicemail\8e22c540-bc77-4f72-9a60-758a04a1522b.txt". Error details: "Microsoft.Exchange.Net.ExSmtpClient.TlsApiFailureException: A TLS API failure occurred. Error = 0x80090301&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The TLS API failure was being cause because they had applied &lt;a href="http://support.microsoft.com/kb/931125"&gt;KB931125&lt;/a&gt; to the server.&amp;nbsp; You can read more about this issue from the &lt;a href="http://blogs.technet.com/b/windowsserver/archive/2013/01/12/fix-available-for-root-certificate-update-issue-on-windows-server.aspx"&gt;Windows Server Blog&lt;/a&gt;.&amp;nbsp; Unfortunately this causes the Trusted Root Certificate store to grow rather large and thus causes the TLS API failure.&amp;nbsp; The fix is to either delete any unneeded root certificates or run the Fix it from &lt;a href="http://support.microsoft.com/kb/2801679"&gt;KB2801679&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551716" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Unified Messaging" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Unified+Messaging/" /></entry><entry><title>Issue with the Lync Basic 2013 Client and A/V Disabled</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/dodeitte/archive/2013/02/10/issue-with-the-lync-basic-2013-client-and-a-v-disabled.aspx" /><id>http://blogs.technet.com/b/dodeitte/archive/2013/02/10/issue-with-the-lync-basic-2013-client-and-a-v-disabled.aspx</id><published>2013-02-11T04:32:00Z</published><updated>2013-02-11T04:32:00Z</updated><content type="html">&lt;p&gt;I ran across this while testing an issue&amp;nbsp;a reader of my blog posted in the comments of an &lt;a href="http://blogs.technet.com/b/dodeitte/archive/2012/11/02/lync-basic-2013-vs-lync-2013.aspx"&gt;article&lt;/a&gt; I wrote about the Lync Basic 2013 client.&amp;nbsp; They had mentioned that when a user using the Lync Basic 2013 client was set to A/V disabled the options for A/V were still presented in the client.&amp;nbsp; In my testing I found this to be true and in fact the options were not only presented to the user, but A/V wasn't blocked if the user tried to initiate an A/V call to another user.&amp;nbsp;&amp;nbsp;For my testing I was using version 15.0.4420.1017 of the Lync Basic 2013 client.&amp;nbsp; You can see in the screen shot below that even though the user is set to A/V disabled in Lync, the Phone tab and the Call Forwarding options still appear and the user is actually in a call with another user:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6136.2013_5F00_02_5F00_10_5F00_01_2D00_01.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/348x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6136.2013_5F00_02_5F00_10_5F00_01_2D00_01.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In addition,&amp;nbsp;the options for starting an A/V call with another user are available:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7288.2013_5F00_02_5F00_10_5F00_01_2D00_03.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/539x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7288.2013_5F00_02_5F00_10_5F00_01_2D00_03.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, when looking at the A/V disabled user's presence from another client, you can see that they show as "Video Capable", even though they should be disabled for video:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7607.2013_5F00_02_5F00_10_5F00_01_2D00_02.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/322x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/7607.2013_5F00_02_5F00_10_5F00_01_2D00_02.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you compare this to the same user signed into the Lync 2013 client, you can see that the Phone tab and the Call Forwarding options are removed, as expected:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6646.2013_5F00_02_5F00_10_5F00_01_2D00_04.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/348x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/6646.2013_5F00_02_5F00_10_5F00_01_2D00_04.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, the options for initiating an A/V call are removed as well:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8446.2013_5F00_02_5F00_10_5F00_01_2D00_05.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/381x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-93/8446.2013_5F00_02_5F00_10_5F00_01_2D00_05.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So how does the Lync client know what features to make available when the user signs in?&amp;nbsp; The answer is through information received by the client via in-band provisioning.&amp;nbsp; The Lync client sends out a SIP SUBSCRIBE requesting provisioning information:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SUBSCRIBE sip:wcooper@test.deitterick.com SIP/2.0&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Content-Type: application/vnd-microsoft-roaming-self+xml&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The response is a SIP/2.0 200 OK and contained in the response is the setting we're interested in:&lt;/p&gt;
&lt;p&gt;&amp;lt;telephonyMode&amp;gt;NoAudioVideo&amp;lt;/telephonyMode&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The telephonyMode setting can contain a couple of different values, depending on what the user is configured for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;NoAudioVideo = Audio/Video Disabled&lt;/li&gt;
&lt;li&gt;None = PC-to-PC only&lt;/li&gt;
&lt;li&gt;Rcc = Remote Call Control&lt;/li&gt;
&lt;li&gt;Rcc Only = Remote Call Control only&lt;/li&gt;
&lt;li&gt;UC = Enterprise Voice&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It appears that currently the Lync Basic 2013 client is ignoring this setting and is allowing the user to initiate A/V sessions whether the user is enabled to do so or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551566" width="1" height="1"&gt;</content><author><name>dodeitte</name><uri>http://blogs.technet.com/dodeitte/ProfileUrlRedirect.ashx</uri></author><category term="Lync 2013" scheme="http://blogs.technet.com/b/dodeitte/archive/tags/Lync+2013/" /></entry></feed>