SP 2010故障转移设置 [英] SP 2010 failover setup

查看:70
本文介绍了SP 2010故障转移设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们已经在故障转移设置中使用了环境,但是我们发现情况并非如此.以下是一些详细信息:

We've had our environment in a failover setup but we've found that this isn't the case. Here are some details:

SQL -2台SQL Server进行镜像

SQL  - 2 x SQL servers in mirroring

SP-2台Web服务器和2台App服务器,所有内容数据库都设置为指向第二台SQL作为故障转移服务器.

SP - 2 x web and 2 x app servers with all content databases setup to point to 2nd SQL as failover server.

使用SQL别名(指向主SQL)设置数据库服务器.

Database server is setup using SQL alias (pointing to primary SQL).

昨晚,我们的主SQL以某种方式将所有数据库故障转移到了第二个节点,但是我们的SP仍在工作.该网站要花几个小时才能工作,直到午餐时间没人能访问该网站.我不太确定为什么,所以决定更改SQL别名 指向第二台SQL服务器,该服务器由于前一天晚上的自动故障转移而成为主服务器.更改SQL别名以指向第二台服务器后,该站点再次开始工作.

Last night our primary SQL somehow failed over all databases to the second node, but our SP was still working. The site was up for hours up until lunch time when no one was able to access the site. I wasn't quite sure why so I decided to change the SQL alias to point to the 2nd SQL server where it has become primary due to auto failover the night before. After changing SQL alias to point to the 2nd server, the site started to work again.

所以,我的问题:

1.即使认为内容数据库已经使用故障转移数据库服务器进行了设置,是否还需要在需要时将SQL别名中的连接参数更改为指向第二个节点?

1. Even thought content databases are already setup with failover database server, is it also necessary to change the connection parameter within SQL alias to point to 2nd node when required?

2.如果对第1点的回答是是",这可以自动化吗?如果可以,怎么办?

2. If answer to point 1 is yes, can this be automated? If so, how?

3.我们当前的设置是否是针对高可用性SP的正确设置?如果是这样,我们如何确保SP的故障转移是自动化的?

3. Is our current setup the correct setup for high availability SP? If so, how can we ensure that the failover of SP is automated?

预先感谢.

推荐答案

在SharePoint 2010中使用数据库镜像时,必须配置SharePoint以了解数据库镜像以便在故障转移期间将其切换到其他SQL Server.  看看下面的文章.

When using database mirroring in SharePoint 2010 you have to configure SharePoint to be aware of the database mirror so that it will switch to the other SQL server during a failover.  Take a look at the following article.

https://technet.microsoft.com/zh- us/library/dd207314(v = office.14).aspx#Configure3


这篇关于SP 2010故障转移设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆