Login |  About us, Contact us & Follow us |   
Index   UC Articles... Important Links!

 

Lync Server 2010 CMS replication:

With Microsoft Lync Server 2010, configuration data about servers and services is moved to the Central Management store. The Central Management store provides a more robust, schematized storage of the data needed to define, set up, maintain, administer, describe, and operate a Lync Server 2010 deployment. It also validates the data to ensure configuration consistency.

All changes to this configuration data happen at the Central Management store, eliminating “out-of-sync” problems. Read-only copies of the data are replicated to all servers in the topology, including Edge Servers and survivable branch appliances.

The Active Directory Domain Services (AD DS) are still used to store basic Lync Server user information, such as the user’s SIP URI and phone number. User policy information is stored in the Central Management store. The use of Active Directory Domain Services (AD DS) also provides backward compatibility with earlier releases of Lync Server.

To administer servers and services, you use Lync Server Management Shell or the Lync Server Control Panel, which then make the settings in the Central Management store. Configuration changes are replicated to all the servers in your deployment by the Central Management Server, which runs on one Front End pool or one Standard Edition server in your deployment

During Lync installation I encountered problem with the store replication.  Running CMS replication command gave following status information.

 

PS C:\Users\hcltocs> Get-CsManagementStoreReplicationStatus

UpToDate           : False

ReplicaFqdn        : Lync Server 1

LastStatusReport   :

LastUpdateCreation : 12/7/2010 12:09:03 PM

ProductVersion     :

 

UpToDate           : False

ReplicaFqdn        : Lync Server 2

LastStatusReport   :

LastUpdateCreation : 12/7/2010 12:09:03 PM

ProductVersion     :

 

UpToDate           : False

ReplicaFqdn        : Lync Server 3

LastStatusReport   :

LastUpdateCreation : 12/7/2010 12:09:03 PM

ProductVersion     :

 

When you get above error, run the following command to check the active CMS status.

 

Get-CsManagementStoreReplicationStatus -CentralManagementStoreStatus

LastUpdatedOn                        : 11/24/2010 11:07:23 PM

ActiveMasterFqdn                     : Lync-Server-1 FQDN

ActiveMasterLastHeartBeat            : 11/24/2010 11:55:22 PM

ActiveFileTransferAgentFqdn         : Lync-Server-1 FQDN

ActiveFileTransferAgentLastHeartBeat : 11/24/2010 11:55:23 PM

ActiveReplicas                     : {Lync-Server-1 FQDN, Lync-Server-2 FQDN, Lync-Server-3 FQDN}

DeletedReplicas                     : {}

 

Running Invoke-csManagementStoreReplication command (on the CMS Server) gave following error in the event viewer.

 

Log Name:      Lync Server

Source:        LS Master Replicator Agent Service

Date:          12/7/2010 12:09:01 PM

Event ID:      2031

Task Category: (2122)

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      Lync_Server

Description:

Microsoft Lync Server 2010, Master Replicator Agent service encountered an error while accessing a file share and will continuously attempt to access this file share until this issue is resolved. While this condition persists, replication to replica machines might not occur.

IO failure occurred for Path=\\Lync_Server\lyncee\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp. Exception=Access to the path '\\Lync_Server\lyncee\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp\5c862106-aa68-4a17-aa63-9292d01d98cd' is denied..

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

Resolution:

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

 

When I accessed the Lync share.. I didn’t find any folder under =\\Lync Server\lyncee\1-CentralMgmt-1\CMSFileStot ore

This was strange… but a truth. J

Re-install the Lync Server components from Lync Server deployment wizard.

If the share is there with right folder structure, then ensure you have right permission configured on the Lync share.

How to check permission on the Lync Share…

Cacls <full path of your lyncee share>

The share should have access provided to following groups.

rtchsuniversalservices, rtccomponentuniversalservices, rtcuniversalserveradmins, rtcuniversalconfigreplicator.

If not please assign them the permission and run the command “invoke-csmanagementstorereplication” wait for some time and see the replication status again.

How to check the CMS store location:

Get-CsConfigurationStoreLocation

How to check the management connection:

PS C:\Users\hcltocs> Get-CsManagementConnection

StoreProvider : Sql

Connection    : Data Source=CMS_Server;Initial Catalog=xds

                ;Integrated Security=True

ReadOnly      : False

Run Enable-CsTopology and then Enable-CsComputer. Reboot the Lync FE servers.

Wait for 15 minutes and check for the replication status again.

 

By

Ram K Ojha

(MCSE, MCTS - LCS 2005, MCTS - OCS 2007, MCTS - U.C. Voice Specialization)

http://www.OCSPedia.com

 





 

Latest updates...

Skip Navigation Links
Microsoft News center - UC
Ten Predictions for UC in 2009
Download Center
 
         
    
Copyright, OCSpedia.com. Microsoft, MS-DOS, Windows, Windows 2000, Windows XP, Windows Server 2003, Windows NT, Windows 98, Windows 95 are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and other countries. All other names are registered trademarks of their respective companies. Should any right be ran afoul, it is totally unintentional. Send us an e-mail and we will promptly and gladly rectify it. All external sites will open in a new browser. Ocspedia.com does not endorse external sites and is not responsible for their content. For broken links, site problems or any feedback - please send at uc@ocspedia.com