Lync 2010 to 2013 Migration DB issue, central management database.

Hello ,

During Lync 2010 to 2013 migration , on my back end database for Lync 2013 I previously created there data base instances on my lync 2013 BE , (RTC,MON, ARC) THERE DIFFERENT ISTNACE using sql server enterprise 2012 .

Now I want to finish the migration by moving the central management server to the lync server 2013.

my question now I tried to create a new DB instance and I face some issue related  the space on the server .

can I use any of the existing isnatce which I created before for the (RTC,MON, ARC) or can I sue the default instance which is created by default with sql 2012 server installation .to install the central management database.

do I need a spate instance ? for the new central management store on my lync server 2013

Thanks

MK

March 14th, 2015 5:09pm

You can and should use the same instance that the 2013 pool is using for this database. In this case I'm assuming that's your RTC instance.
Free Windows Admin Tool Kit Click here and download it now
March 14th, 2015 5:32pm

Hi Anthony ,

thanks for your replay to me .

yes I created instance named RTC for my lync 2013 pool, but you said I should use the same instance RTC ?

what will happen if I used another instance ? or if I used the default sql server instance .

regards

MK

March 14th, 2015 5:54pm

You may be able to, but I wouldn't consider it good practice. Why would you want a separate instance?
Free Windows Admin Tool Kit Click here and download it now
March 14th, 2015 6:13pm

I have recently migrated CMS database from lync 2010 to 2010 and used lync 2013 default databse as target, all work fine and moved.

Use default instance in your scenario.

March 14th, 2015 11:15pm

Hi Mohammed AK,

 

Due to you created the RTC instance before, it is recommend to install it in RTC instance.

Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN <FQDN of your Standard Edition Server> -SQLInstanceName <name of instance - RTC by default>

(RTC is the default name of the Lync instance.)

https://technet.microsoft.com/en-us/library/gg195644(v=ocs.14).aspx

 

Best regards,

Eric

Free Windows Admin Tool Kit Click here and download it now
March 15th, 2015 10:49pm

Hello

After I run the command

 Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn hq-lync2013-be.MYDOMAIN -SqlInstanceName RTC.

-Then

Enable-CsTopology

-Then

Move-CsManagementServer .

And now after the move when I check the logs :

WARNING: The move completed successfully but the following additional steps are required:

  Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:
    - HQ-LYNC-FE-01.MYDOMAIN

WARNING: "Move-CsManagementServer" processing has completed with warnings. "2" warnings were recorded during this run.
WARNING: Detailed results can be found at
"C:\Users\MYUSER\AppData\Local\Temp\2\Move-CsManagementServer-0d4806f4-554d-497d-a0dc-0fc98a6e076d.html".

THESE AR ETEH TWO WARININGS :

Warning: Failed to cleanup file store for the new Central Management Server. Error The directory is not empty.

Warning: The move completed successfully but the following additional steps are required:

Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:

- HQ-LYNC-FE-01.MYDOMAIN.

I Run the local setup on both the FE2013 AND FE2010.

now when I run the command :

Get-CsManagementStoreReplicationStatus


UpToDate           : False    (I shutdown this server )
ReplicaFqdn        : HQ-EDGE01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC2013-FE.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-FE-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-MA-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

NOW THEER IS REPLICATION ISSUE ?

I notice that service on my lync 2010 SOME OF THEM ARE STOPPED :

FILE TRANSFER AGENT , MASTER REPLICATORE AGENT , CALL PARK SERVICE (ALL ON LYNC 2010)

ALL SERVICE ON 2013 FE IS OK AND RUNNING..

I notice this error in my lync server 2013 vents .

I host the shared file on my lync server 2010 mediation server

Microsoft Lync Server 2013, 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=\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp. Exception=Access to the path '\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1' 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.

SO ANY ADVICE ?

Regards

MK


.



March 16th, 2015 7:14am

Did you rerun step 2 of the deployment wizard under "Install or Update Lync Server System" on both sides.  After you did, did you restart the servers?
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 10:12am

Hi

Thanks Anthony.

yes I run the deployment wizard under "Install or Update Lync Server System" on both sides(FE2010 , FE2013).

But Ididn't restart . do I need to restart all server's?

in my scenario i have ( lync FE 2010 , ME 2010 , BE2010) .

LYNC FE2013  Mediation collocated AND LYNC BE2013 .

I notice this error in lync 2013 FE :

EVENT ID :2031

Microsoft Lync Server 2013, 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=\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp. Exception=Access to the path '\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1' 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.

Kind Regards

MK

March 16th, 2015 11:07am

Hello

After I run the command

 Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn hq-lync2013-be.MYDOMAIN -SqlInstanceName RTC.

-Then

Enable-CsTopology

-Then

Move-CsManagementServer .

And now after the move when I check the logs :

WARNING: The move completed successfully but the following additional steps are required:

  Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:
    - HQ-LYNC-FE-01.MYDOMAIN

WARNING: "Move-CsManagementServer" processing has completed with warnings. "2" warnings were recorded during this run.
WARNING: Detailed results can be found at
"C:\Users\MYUSER\AppData\Local\Temp\2\Move-CsManagementServer-0d4806f4-554d-497d-a0dc-0fc98a6e076d.html".

THESE AR ETEH TWO WARININGS :

Warning: Failed to cleanup file store for the new Central Management Server. Error The directory is not empty.

Warning: The move completed successfully but the following additional steps are required:

Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:

- HQ-LYNC-FE-01.MYDOMAIN.

I Run the local setup on both the FE2013 AND FE2010.

now when I run the command :

Get-CsManagementStoreReplicationStatus


UpToDate           : False    (I shutdown this server )
ReplicaFqdn        : HQ-EDGE01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC2013-FE.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-FE-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-MA-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

NOW THEER IS REPLICATION ISSUE ?

I notice that service on my lync 2010 SOME OF THEM ARE STOPPED :

FILE TRANSFER AGENT , MASTER REPLICATORE AGENT , CALL PARK SERVICE (ALL ON LYNC 2010)

ALL SERVICE ON 2013 FE IS OK AND RUNNING..

I notice this error in my lync server 2013 vents .

I host the shared file on my lync server 2010 mediation server

Microsoft Lync Server 2013, 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=\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp. Exception=Access to the path '\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1' 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.

SO ANY ADVICE ?

Regards

MK


.



  • Edited by Mohammed AK Monday, March 16, 2015 12:35 PM
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 11:12am

Hello

After I run the command

 Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn hq-lync2013-be.MYDOMAIN -SqlInstanceName RTC.

-Then

Enable-CsTopology

-Then

Move-CsManagementServer .

And now after the move when I check the logs :

WARNING: The move completed successfully but the following additional steps are required:

  Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:
    - HQ-LYNC-FE-01.MYDOMAIN

WARNING: "Move-CsManagementServer" processing has completed with warnings. "2" warnings were recorded during this run.
WARNING: Detailed results can be found at
"C:\Users\MYUSER\AppData\Local\Temp\2\Move-CsManagementServer-0d4806f4-554d-497d-a0dc-0fc98a6e076d.html".

THESE AR ETEH TWO WARININGS :

Warning: Failed to cleanup file store for the new Central Management Server. Error The directory is not empty.

Warning: The move completed successfully but the following additional steps are required:

Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:

- HQ-LYNC-FE-01.MYDOMAIN.

I Run the local setup on both the FE2013 AND FE2010.

now when I run the command :

Get-CsManagementStoreReplicationStatus


UpToDate           : False    (I shutdown this server )
ReplicaFqdn        : HQ-EDGE01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC2013-FE.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-FE-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-MA-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

NOW THEER IS REPLICATION ISSUE ?

I notice that service on my lync 2010 SOME OF THEM ARE STOPPED :

FILE TRANSFER AGENT , MASTER REPLICATORE AGENT , CALL PARK SERVICE (ALL ON LYNC 2010)

ALL SERVICE ON 2013 FE IS OK AND RUNNING..

I notice this error in my lync server 2013 vents .

I host the shared file on my lync server 2010 mediation server

Microsoft Lync Server 2013, 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=\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp. Exception=Access to the path '\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1' 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.

SO ANY ADVICE ?

Regards

MK


.



  • Edited by Mohammed AK Monday, March 16, 2015 12:35 PM
March 16th, 2015 11:12am

Hello

After I run the command

 Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn hq-lync2013-be.MYDOMAIN -SqlInstanceName RTC.

-Then

Enable-CsTopology

-Then

Move-CsManagementServer .

And now after the move when I check the logs :

WARNING: The move completed successfully but the following additional steps are required:

  Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:
    - HQ-LYNC-FE-01.MYDOMAIN

WARNING: "Move-CsManagementServer" processing has completed with warnings. "2" warnings were recorded during this run.
WARNING: Detailed results can be found at
"C:\Users\MYUSER\AppData\Local\Temp\2\Move-CsManagementServer-0d4806f4-554d-497d-a0dc-0fc98a6e076d.html".

THESE AR ETEH TWO WARININGS :

Warning: Failed to cleanup file store for the new Central Management Server. Error The directory is not empty.

Warning: The move completed successfully but the following additional steps are required:

Run local setup on the following computers to remove Central Management services that are no longer defined in the topology:

- HQ-LYNC-FE-01.MYDOMAIN.

I Run the local setup on both the FE2013 AND FE2010.

now when I run the command :

Get-CsManagementStoreReplicationStatus


UpToDate           : False    (I shutdown this server )
ReplicaFqdn        : HQ-EDGE01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC2013-FE.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-FE-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

UpToDate           : False
ReplicaFqdn        : HQ-LYNC-MA-01.mydomain
LastStatusReport   :
LastUpdateCreation : 3/16/2015 1:52:45 PM
ProductVersion     :

NOW THEER IS REPLICATION ISSUE ?

I notice that service on my lync 2010 SOME OF THEM ARE STOPPED :

FILE TRANSFER AGENT , MASTER REPLICATORE AGENT , CALL PARK SERVICE (ALL ON LYNC 2010)

ALL SERVICE ON 2013 FE IS OK AND RUNNING..

I notice this error in my lync server 2013 vents .

I host the shared file on my lync server 2010 mediation server

Microsoft Lync Server 2013, 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=\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1\CMSFileStore\xds-master\working\replication\tmp. Exception=Access to the path '\\HQ-LYNC-MA-01.mydomain\LYNCSHARE\1-CentralMgmt-1' 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.

SO ANY ADVICE ?

Regards

MK


.



  • Edited by Mohammed AK Monday, March 16, 2015 12:35 PM
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 11:12am

2013 at least, step 11: https://technet.microsoft.com/en-us/library/jj688013.aspx
March 16th, 2015 11:31am

Hello

Thanks for your replay ,

after some time , without any action from my side the issue is solved I check the replication

Get-CsManagementStoreReplicationStatus


UpToDate           : False   I shutdown this server
ReplicaFqdn        : HQ-EDGE01.MYDOMAIN
LastStatusReport   :
LastUpdateCreation : 3/16/2015 10:09:49 PM
ProductVersion     :

UpToDate           : True
ReplicaFqdn        : HQ-LYNC2013-FE.MYDOMAIN
LastStatusReport   : 3/16/2015 10:31:53 PM
LastUpdateCreation : 3/16/2015 10:31:49 PM
ProductVersion     : 5.0.8308.556

UpToDate           : True
ReplicaFqdn        : HQ-LYNC-FE-01.MYDOMAIN
LastStatusReport   : 3/16/2015 10:31:14 PM
LastUpdateCreation : 3/16/2015 10:09:49 PM
ProductVersion     : 4.0.7577.0

UpToDate           : True
ReplicaFqdn        : HQ-LYNC-MA-01.MYDOMAIN
LastStatusReport   : 3/16/2015 10:31:14 PM
LastUpdateCreation : 3/16/2015 10:09:49 PM
ProductVersion     : 4.0.7577.0

But is this a normal behavie ? and it will take around 8 houres to replicate ??

Regards

MK

Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 5:06pm

It could if the steps aren't followed, usually that reboot kicks things into gear for me pretty quickly.
March 16th, 2015 5:09pm

Hello

Thanks for your replay.

still I have a question , my lync shared folder \\HQ-LYNC-MA-01.mydomain\LYNCSHARE which is hosted on my lync 2010 Mediation SERVER .

later on I want to remove all the lync 2010 server (FE,ME AND BE).

I want to remove this shared folder to another server ? how to accomplish this .

Regards

MK

Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 5:16pm

As a general practice, I'd open a new thread for each question just to maximize the eyes on it.  That said, did you configure Lync 2013 to use this file share or a new one?  If Lync 2013 is using a new share on a 2013 server or non-Lync server, then I'd back this one up somewhere and just delete it once you decommission your 2010 deployment.  If Lync 2013 is using a share on a 2010 server I'd move it away now before it's more fully in production if you can. 

http://social.technet.microsoft.com/wiki/contents/articles/15374.change-the-file-store-location-for-lync-server-2013-pool.aspx

March 16th, 2015 5:22pm

Hello

Thanks Anthony, I really appreciate your help .

yes the lync share is used by both the lync server 2010 and lync server 2013, both of them using the same file share WHICH IS HOSTED ON LYNC 2010 mediation server.

you mentioned

"If Lync 2013 is using a share on a 2010 server I'd move it away now before it's more fully in production if you can"

you mean remove it to  another server ?or you mean to delete it ? sorry I didn't got your point ?

or can I keep it in the same server ? and later at any time I will relocate it to a different server ?

Thanks

Regards

MK

 

Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 6:02pm

I mean move it to another server that's either non-Lync or Lync 2013 related so you don't have to keep the 2010 deployment any longer than necessary.  You could keep it on the same server, there's no harm in it other than you have to keep that instance of Windows server running.   
March 16th, 2015 6:06pm

Hello

Thanks Anthony , you really help me . and thanks for all the participants  here .

Regards

MK

Free Windows Admin Tool Kit Click here and download it now
March 18th, 2015 5:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics