Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for WS2019 Distributed Network Name CNO Feature #207

Open
pjvander opened this issue Oct 28, 2019 · 3 comments
Open

Support for WS2019 Distributed Network Name CNO Feature #207

pjvander opened this issue Oct 28, 2019 · 3 comments
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@pjvander
Copy link

pjvander commented Oct 28, 2019

Hi,

I am planning on using DSC for MSSQL VM config in Azure, and am wondering if the new "Distributed Network Name" feature available in Windows Server 2019 is accessible via xFailoverCluster.

Ref: https://techcommunity.microsoft.com/t5/Failover-Clustering/Windows-Server-2016-2019-Cluster-Resource-Resource-Types/ba-p/372163

https://blogs.windows.com/windowsexperience/2018/08/14/announcing-windows-server-2019-insider-preview-build-17733/#5H4XED7gKCoCgttc.97

My investigation found out this is the default design in this recent Windows Server 2019 Build 17733 and up.
So what you are experiencing is not related to DHCP setting on the network card but a new feature called "Distributed Network Name"
Distributed Network Name (clusres.dll): A Distributed Network Name is a name in the Cluster that does not use a clustered IP Address.
It is a name that is published in DNS using the IP Addresses of all the nodes in the Cluster. Client connectivity to this type name is reliant on DNS round robin.
In Azure, this type name can be used in lieu of having the need for an Internal Load Balancer (ILB) address.

The goal being something equivalent to something like (in PS), particularly the parameter "-ManagementPointNetworkType Distributed":
New-Cluster –Name ${clusterName} -Force –Node ${server1}, ${server2} -AdministrativeAccessPoint ActiveDirectoryAndDns -ManagementPointNetworkType Distributed -NoStorage

@johlju
Copy link
Member

johlju commented Oct 28, 2019

That is not supported yet, but I be happy to review a PR that adds this. 🙂

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Oct 28, 2019
@pjvander
Copy link
Author

pjvander commented Oct 28, 2019

Thanks, @johlju. I may just do that; stay tuned! 😃

@pjvander
Copy link
Author

pjvander commented Nov 6, 2019

Just a quick update, @johlju; I believe Distributed Network Name is being set properly when omitting the static IP address from xCluster config, as below:

            xCluster CreateCluster
            {
                Name                          = $Node.ClusterName
                # StaticIPAddress               = $Node.ClusterIPAddress
                # This user must have the permission to create the CNO (Cluster Name Object) in Active Directory, unless it is prestaged.
                DomainAdministratorCredential = $SqlAdministratorCredential
                DependsOn                     = '[WindowsFeature]AddRemoteServerAdministrationToolsClusteringCmdInterfaceFeature'
            }

I'm continuing to test, but I believe this "just works" with WS 2019 VM's and Azure Automation w/DSC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

2 participants