Quantcast
Channel: Lync Server 2013 - Management, Planning, and Deployment forum
Viewing all articles
Browse latest Browse all 5984

Error when issuing certain Lync Server Management Shell Commands

$
0
0

Hello,

Before I get started, I'm going to provide a little bit of background.  We have two Lync pools, one in our active site, and one in our Disaster Recovery site.  Prior to a Disaster Recovery test a few months ago, the CMS was hosted on a SQL server at the primary site and I believe that the mirror backend server was the SQL server at the Disaster Recovery site although I do not have that documented and I didn't even know about the Get-CsConfigurationStoreLocation command until later.  During the DR test, we failed over the CMS to the DR site, and when we failed everything back after the test, we did not fail the CMS back to the SQL server at the Primary site because 1. the document that I was going off of said that we didn't need to and 2. when I tried, it failed.

Currently Get-CsConfigurationStoreLocation shows that the BackEndServer is the SQL server at the Disaster Recovery site, and the MirrorBackEndServer is blank.  (Get-CsTopology).ActiveCentralMgmtService.InstalledOn.Fqdn returns the FQDN of the FrontEnd pool at the primary site.

In Topology Builder, I'm not clear on which of the stores is for the CMS (if any) but none of them for the Primary site list the SQL server at the DR site (they all list the server at the primary site). 

The problem I'm having is that certain commands are working fine from the Management Shell, and some are not.  For example, all Get- commands seem to be fine.  Set-CsUser is working, but Set-CsClientPolicy gives me this (I was trying to set a variable that we don't care too much about as a test, in this case HotdeskingTimeout):

Set-CsClientPolicy : ###50023:XdsPublishItems:The central management store
being accessed is not the active store. No data can be read or any changes can
be made to this store.
At line:1 char:1
+ Set-CsClientPolicy -identity "Global" -HotdeskingTimeout 00:06:00
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-CsClientPolicy], SqlExcep
   tion
    + FullyQualifiedErrorId : System.Data.SqlClient.SqlException,Microsoft.Rtc
   .Management.Internal.SetClientPolicyCmdlet

Any thoughts on how I can get this to work?

Thanks

Dylan


Viewing all articles
Browse latest Browse all 5984

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>