且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我如何连接到Azure的AD域控制器?

更新时间:2023-02-12 11:27:45

连接到DC虚拟机,并​​找出它的ip地址(10 *)。

转到虚拟网络配置和设置DNS服务器的IP地址来表示。

另外,还要确保你使用这个IP地址在步骤#8中安装SQL虚拟机部分。

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

希望这有助于。

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.

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.

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

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

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.

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.

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

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

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

Now try joining the SQL VMs to the domain.

Hope this helps.