Lync 2013安装中遇到的关于SQL Mirroring的一次报错的解决
Problem Description
=================
Following the Lync Deployment Wizard to setup Database Mirroring with a witness for Lync 2013, it fails.
Story
=================
1. When I filled all the blanks in deployment wizard, and tried to publish topology, I got the following errors in report.
· Overall status: “Completed with errors”
· Error I get log:

But when I tried to use UDL file to connect to the LYNCDB2, I succeeded.
2. I run the publish topology wizard again, shows no error. Here is the question, does this no error means mirror succeeded?
3. Check the status of any Lync database, it shows:

4. Go to primary, mirror, and witness and check status. I saw:
· Databases in Primary are OK, only not configured for mirroring.
· Databases in Mirror show status of “In Recovery”.
· There are no Lync databases in Witness SQL instance.
5. Go to the mirroring file share, I can see full backup and transaction log backup. So, preparation for mirror should be OK.

6. Tried to manually setup Mirroring in Primary, failed. Because databases in Mirror is in “In Recovery” status. Databases in “In Recovery” status cannot be modified, and cannot be deleted.
7. To continue, we have to get rid of the “In Recovery” status in mirror instance. Use command below, and we can get a database change status to “Restoring”.

8. Tried to manually setup mirroring again. But the database will change status back to “In Recovery”. Back to starting point.
9. Read error log, we can see error below:
Database Mirroring login attempt failed with error: 'Connection handshake failed. There is no compatible encryption algorithm. State 22.'. [CLIENT: 172.24.15.147]
10. Following this error message, we run the following SQL statement on primary, mirror, witness.

We found that primary and witness shows “RC4”, while the mirror shows “AES”

11. Run the following SQL statements to drop and recreate a new mirroring endpoint on mirror instance.

12. Run the following SQL statement to remove each problem databases from mirroring, and the status of those databases will show “Restoring”.

13. Manually setup SQL mirroring for a database, we finally succeeded.

Primary database shows status as below:

Mirror database shows status as below:

14. Continue the steps for other Lync DBs, and we will have mirrored backend setup finished.
Summary
======================
Following wizard of Lync 2013 and expecting the wizard will automatically setup database mirroring for me, but didn’t end up as expected.
Lync oddly created mirroring endpoints using different encrypt methods, two are of “RC4”, one is of “AES”. Totally comes out of nowhere. -_-||
This caused a series of problems and troubleshooting. I have gone through so many articles to get this over with. Microsoft…
Articles that helped with this troubleshooting
======================
Troubleshooting SQL Server Database Mirroring Problems with Best Practices: Requirements, and the 64-bit Benefit
Remove Database Mirroring (SQL Server)
https://msdn.microsoft.com/en-us/library/ms190471.aspx
SQL SERVER – The server network address “TCP://SQLServer:5023″ can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Server, Error: 1418)http://blog.sqlauthority.com/2010/01/11/the-server-network-address-tcpsqlserver5023-can-not-be-reached-or-does-not-exist-check-the-network-address-name-and-that-the-ports-for-the-local-and-remote-endpoints-are-operational-microso/https://msdn.microsoft.com/en-sg/library/ms187050.aspx
View the State of a Mirrored Database (SQL Server Management Studio)
https://msdn.microsoft.com/en-sg/library/ms187050.aspx
Lync 2013安装中遇到的关于SQL Mirroring的一次报错的解决的更多相关文章
- window7下安装第三方包报错及解决
window7 64位下安装第三方包,,比如安装yaml的exe执行文件,会 报错及解决:python version 2.7(3.4) required,which was not found in ...
- MySQL在windows系统中修改datadir路径后无法启动问题,报错1067
windows server2008下如何更改MySQL数据库的目录的帖子已经很多了,这里简单介绍一个步骤,如果不成功请先查看其它帖子. 更改默认的mysql数据库目录 将 C:\Documents ...
- MySQL中遇到的几种报错及其解决方法
MySQL中遇到的几种报错及其解决方法 1.[Err] 1064 - You have an error in your SQL syntax; check the manual that corre ...
- Eclipse中利用JSP把mysql-connector-java-8.0.13.jar放到WebContent\WEB-INF\lib中连接MySQL数据库时Connection conn = DriverManager.getConnection(url,username,password)报错的解决办法
开发环境: 1.系统:windows 7/8/10均可 2.jdk:1.8.0_144 3.服务器:apache-tomcat-9.0.8 4.IDE:eclipse+jsp 0.网页代码如下: &l ...
- 关于Oxygen版 Eclipse JSP或html 中<option>标签嵌入jstl 如<c:if>出现报错
Oxygen版 Eclipse JSP或html 中<option>标签嵌入jstl 如<c:if>出现报错 好好的学框架的整合,结果在<option>中加入< ...
- Pycharm中不支持中文编码的解决方案。Pycharm中文报错。 Pycharm出现的部分快捷键无效及解决办法
Pycharm中不支持中文编码的解决方案.Pycharm中文报错. 1. 打开Pycharm ----> File ----> Default setting ------> Ed ...
- centos7编译安装LNMP(nginx-1.16.0,mysql8.0.16,php-7.3.6)常见问题报错及解决方法
LNMP的安装与配置 nginx-1.16.0安装及配置: 第一步:前往官网下载nignx源码包 下载完毕后上传至服务器(先安装lrzsz) yum -y install lrzsz 安装完毕后执行: ...
- vue.js 中使用(...)运算符报错的解决方法
vue.js 中使用(...)运算符报错的解决方法 Syntax Error:Unexpected token(XX:X) }, computed:{ ...mapGetters([ 'pageSiz ...
- SQL Server2008数据库报错与解决方法
一. 报错信息 启动MSSQLSERVER时有以下报错信息 打开SQL SERVER配置管理器,发现以下情况报错: 原因:由于先前安装了2005版VS,然后又安装了2015版VS 解决办法:卸载Loc ...
随机推荐
- Codeforces.1027F.Session in BSU(思路 并查集)
题目链接 \(Description\) 有\(n\)个人都要参加考试,每个人可以在\(ai\)或\(bi\)天考试,同一天不能有两个人考试.求最晚考试的人的时间最早能是多少.无解输出-1. \(So ...
- Codeforces.838D.Airplane Arrangements(思路)
题目链接 \(Description\) 飞机上有n个位置.有m个乘客入座,每个人会从前门(1)或后门(n)先走到其票上写的位置.若该位置没人,则在这坐下:若该位置有人,则按原方向向前走直到找到空座坐 ...
- 【BZOJ-2595】游览计划 斯坦纳树
2595: [Wc2008]游览计划 Time Limit: 10 Sec Memory Limit: 256 MBSec Special JudgeSubmit: 1518 Solved: 7 ...
- 新手学cocos2dx,centos7下的安装过程
背景 打算学写游戏,新手向,当然从cocos2d-x开始. 看了cocos的文档,安装是针对ubuntu的,这里记录下centos7上安装.编译.运行测试的过程. 如果你已经有ubuntu,不推荐看此 ...
- WebMvcConfigurerAdapter已经过时的问题解决
spring 5开始已经废弃WebMvcConfigurerAdapter,替代的是WebMvcConfigurer接口. 参考: https://blog.csdn.net/lenkvin/arti ...
- SGU 200. Cracking RSA (高斯消元求自由变元个数)
题目链接:http://acm.sgu.ru/problem.php?contest=0&problem=200 200. Cracking RSA time limit per test: ...
- VS2015 Offline Help Content is now available in 10 more languages!
https://blogs.msdn.microsoft.com/devcontentloc/2015/10/21/vs2015-offline-help-content-is-now-availab ...
- 解决SQL Server 2008提示评估期已过
第一步:进入SQL2008配置工具中的安装中心第二步:再进入维护界面,选择版本升级第三步:进入产品密钥,输入密钥第四步:一直点下一步,直到升级完毕.SQL Server 2008 Developer: ...
- 集群服务器下使用SpringBoot @Scheduled注解定时任务
原文:https://blog.csdn.net/huyang1990/article/details/78551578 SpringBoot提供了 Schedule模块完美支持定时任务的执行 在实际 ...
- iOS 32位、 64位系统兼容性设置-Xcode创建支持IOS4.3以上版本的应用的方法
方法一: 如果是Xcode 5的话步骤为 点击项目名称->Build Settings->搜索 Architectures 这个里面的原始的值是Standard architectures ...