如何在Azure中连接到AD域控制器? [英] How do I connect to an AD domain controller in Azure?

查看:554
本文介绍了如何在Azure中连接到AD域控制器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过一个关于 MSDN 的Azure教程由@BrentDaCodeMonkey提出。基本上,我正在尝试学习如何设置一个Windows域,所以我可以使用它为一些其他SQL Server教程。请参阅我之前的问题此处

I'm working through an Azure tutorial on MSDN as suggested by @BrentDaCodeMonkey. Basically, I'm trying to learn how to set up a Windows domain, so I can use it for a some other SQL Server tutorials. See my previous question here.

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

I'm running into a problem where I cannot connect my servers to my Active Directory Name Controller. When I try to add my domain name to the server in System Properties, I get an error message instead of the Windows Security popup dialog.


无法联系域corp.ejm.com的Active Directory名称控制器(AD DC)。确保域名输入正确。 [...]当查询DNS用于查找域corp.ejm.com的Active Directory名称控制器(AD NC)时查询到的服务位置(SRV)资源记录时发生以下错误;错误是:由于超时时间到期,因此返回此操作。

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."

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

Note that I am able to verify the DC's IP address, with nslookup in the command prompt.

这个问题的复杂性在于教程指示与我在Azure中看到的不一致。例如,在设置SQL Server虚拟机时,我不能使用Windows Server 2008 R2 SP1。我不得不使用Windows Server 2012,但仍然使用2008年的DC。我以为这个问题可能是一个冲突的操作系统,所以我尝试运行该教程再次使用Windows Server 2012的一切。相同的错误信息。

Complicating this issue is that the tutorial instructions don't exactly match what I'm seeing in Azure. For example, I'm not allowed to use Windows Server 2008 R2 SP1 when setting up SQL Server virtual machines. I had to use Windows Server 2012 for those, but still used 2008 for the DC. I thought that the problem might be a conflicting operating systems, so I tried running the tutorial again using Windows Server 2012 for everything. Same error message.

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

Also note: the tutorial says that I should use the example domain, corp.contoso.com. I used my own example domain instead, corp.ejm.com. I'm wondering if this has something to do with it. My example domain is not registered on the Internet.

推荐答案

连接到DC VM并找到其IPAddress(10. *) 。

Connect to the DC VM and find out its IPAddress (10.*).

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

Go to the virtual network configuration and set the DNS server IP Address to that.

另外请确保在安装SQL虚拟机部分的步骤#8期间使用此IP地址。

Also make sure you use this IP Address during step #8 in install SQL VMs section.

现在尝试加入SQL虚拟机到域。

Now try joining the SQL VMs to the domain.

希望这有帮助。

这篇关于如何在Azure中连接到AD域控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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