简体   繁体   English

Sitecore Active Directory模块

[英]Sitecore Active Directory Module

Currently we have our Active Directory (LDAP) domain controller defined in the ConnectionStrings.config file. 目前,我们在ConnectionStrings.config文件中定义了Active Directory(LDAP)域控制器。 Is it possible to configure a second domain controller, as a fail-over option? 是否可以将第二个域控制器配置为故障转移选项?

For example, recently Domain Controller 1 failed, and I had to manually change the connection string to point to Domain Controller 2 - but the website was generating errors in the mean-time (for several hours of down-time). 例如,最近域控制器1出现故障,我不得不手动更改连接字符串以指向域控制器2 - 但网站在平均时间内产生错误(停机时间为几个小时)。

We are running Sitecore version 6.5 (Sitecore.NET 6.5.0 (rev. 120706) ) 我们正在运行Sitecore 6.5版(Sitecore.NET 6.5.0(rev.120706))

No, it's not possible to configure a fail-over partner. 不,无法配置故障转移合作伙伴。

You could put a loadbalancer in between the two domain controllers. 您可以在两个域控制器之间放置一个负载均衡器。

You could actually do that. 你真的可以这样做。 There are options with the AD module that allow for connecting to multiple domains and/or using multipe providers. AD模块有多个选项,允许连接到多个域和/或使用多个提供程序。 All pipelines in Sitecore are extendable, so there's nothing to stop you from setting this up. Sitecore中的所有管道都是可扩展的,因此没有什么可以阻止您进行设置。 You could easily do some custom coding to catch exceptions during login and switch to a different provider. 您可以轻松地执行一些自定义编码以在登录期间捕获异常并切换到其他提供程序。 The trick is just doing the custom coding. 诀窍就在于进行自定义编码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM