gpt4 book ai didi

azure - 如何连接到 Azure 中的 AD 域 Controller ?

转载 作者:行者123 更新时间:2023-12-03 04:51:53 25 4
gpt4 key购买 nike

我正在学习 MSDN 上的 Azure 教程正如@BrentDaCodeMonkey 所建议的。基本上,我正在尝试学习如何设置 Windows 域,以便我可以将其用于其他一些 SQL Server 教程。请参阅我之前的问题here

我遇到了无法将服务器连接到 Active Directory 名称 Controller 的问题。当我尝试在系统属性中将域名添加到服务器时,我收到一条错误消息,而不是 Windows 安全弹出对话框。

An Active Directory Name Controller (AD DC) for the domain "corp.ejm.com" could not be contacted. Ensure that the domain name is typed correctly. [...] The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Name Controller (AD NC) for domain "corp.ejm.com"; The error was: "This operation returned because the timeout period expired."

请注意,我可以使用命令提示符中的 nslookup 来验证 DC 的 IP 地址。

让这个问题变得更加复杂的是,教程说明与我在 Azure 中看到的内容并不完全匹配。例如,在设置 SQL Server 虚拟机时,我不允许使用 Windows Server 2008 R2 SP1。我必须使用 Windows Server 2012,但仍使用 2008 作为 DC。我认为问题可能是操作系统冲突,因此我尝试使用 Windows Server 2012 再次运行本教程。同样的错误消息。

另请注意:教程说我应该使用示例域 corp.contoso.com。我使用自己的示例域 corp.ejm.com。我想知道这是否与此有关。我的示例域未在 Internet 上注册。

最佳答案

连接到 DC 虚拟机并找出其 IP 地址 (10.*)。

转到虚拟网络配置并将 DNS 服务器 IP 地址设置为该地址。

另请确保在安装 SQL VM 部分的第 8 步中使用此 IP 地址。

现在尝试将 SQL VM 加入域。

希望这有帮助。

关于azure - 如何连接到 Azure 中的 AD 域 Controller ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25705809/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com