I have two standard edition pools, SE1.fabrikam.com (SE1) and SE2.fabrikam.com (SE2). My CMS is located in SE1. These pools are backup registrar to each other. I have manually shutdown SE1 to create a DR scenario. I wanted to invoke a pool failover from SE1 to SE2. Following steps may be helpful for reference.
Run the following command from SE2 Lync management shell to find out the configuration store location ; Get-CsConfigurationStoreLocation
I have tried to invoke the failover using following command ; Invoke-CsPoolFailover-PoolFQDN SE1.fabrikam.com -DisasterMode , but it will fail with following error as CMS is down.
You will have to failover the CMS before pool failover. Run following command from PowerShell to invoke CMS failover from SE1 to SE2. Make sure that it is completed successfully.
Invoke-CsManagementServerFailover -BackupSqlServerFqdn SE2.fabrikam.com - BackupSqlInstanceName "rtc" –Force
It will ask for confirmation, say Yes and finish the CMS failover.
Try to find the replication status of CMS store by running following command and ensure that it is updated. Get-CsManagementStoreReplicationStatus –centralmanagementstorestatus
Also run the Get-CsConfigurationStoreLocation to confirm the location of CMS database.
You must set the edge server next hope to SE2.fabrikam.com before proceeding to next step. Run following command. Make sure that it is completed successfully.
Set-CsEdgeServer -Identity EdgeServer:edge.fabrikam.com -Registrar Registrar:SE2.fabrikam.com
Now you are ready to invoke the pool failover from SE1 to SE2. Run following command to complete the failover. It will ask for conformation and select yes and finish the steps.
Invoke-CsPoolFailover -PoolFQDN SE1.fabrikam.com -DisasterMode
I have verified user’s home pool through Lync control panel from SE2. They are still part of SE1 pool.
However I was able to sign in successfully in to Lync client. All the features were available as expected.