镜像 主库备库问题
来源:互联网 发布:程序员背包推荐 编辑:程序博客网 时间:2024/06/12 01:25
今天在重启服务器的时候,发现一个数据库XXXX(镜像主库)一直处于恢复状态,查看日志,错误如下:
Bypassing recovery for database 'XXXX because it is marked as an inaccessible database mirroring database. A problem exists with the mirroring session. The session either lacks a quorum or the communications links are broken because of problems with links, endpoint configuration, or permissions (for the server account or security certificate). To gain access to the database, figure out what has changed in the session configuration and undo the change.
此实例上有一个数据库的镜像备库AAA,一个数据库的镜像主库XXXX,AAA的日志大概600KB/S,恢复速率大概900KB/S,由于重启的时候部分日志回滚,导致AAA的日志积累了1.5GB左右,备库的日志还没恢复完毕,主库的日志又传送过来,表面现象是AAA的备库一直在恢复,而XXXX一直没有机会恢复。
当然出问题的时候,连接和权限是正常的,根据SQL日志的提示,很有可能是Endpoint在同一时间只能供一个数据库使用?或者Endpoint在同一时间只能供某一类型的操作使用?没办法确认这个问题的原因。
解决办法:
暂停镜像备库AAA,等待镜像备库恢复完成,镜像主库XXXX立刻恢复完毕。
看来一个实例上同时有镜像的备库和主库,存在风险。
能找到关于镜像更详细资料的同学可以测试一下,如果有微软内部的资料更好。
- 镜像 主库备库问题
- Rubygems 镜像问题
- 镜像问题
- 二叉排序树镜像问题
- Metaio 镜像问题
- 数据库镜像-方面问题
- docker镜像的问题
- 制作镜像资源的问题
- 制作镜像需要注意的问题
- openstack win08 server镜像问题
- 二叉树的镜像问题
- Metaio中关于镜像问题
- Opennebula添加本地镜像问题
- 二叉树的镜像问题
- s3c6410 摄像头图像镜像问题笔记
- Android4.4 Camera 摄像头镜像问题
- composer 镜像不能访问的问题
- Genymotion解决无法下载镜像问题
- iis 中配置 域名登录 跳转页面
- Android Gallery3D源码分析(一)
- poj1716——Integer Intervals//差分约束系统
- Android Gallery3D源码分析(二)
- 过滤驱动容易让新手纠结的几个函数
- 镜像 主库备库问题
- 坑爹啊!我发誓以后不买新疆人的东西了!
- 从今天开始,我要经营自己在CSDN的博客了
- axis2+spring+Hibernate webservice 非aar方式
- poj1201——Intervals//差分约束系统
- GPU概念以及D3D渲染流水线(管线)
- 在AIX 5L上配置NFS Server/Client
- C语言的那些小秘密之动态数组
- 学习JUnit 3.8小结