Open pjvander opened 5 years ago
That is not supported yet, but I be happy to review a PR that adds this. 🙂
Thanks, @johlju. I may just do that; stay tuned! 😃
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.
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
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