Hi,
I'm trying to configure a high availability SQL cluster using SQL Availability Groups and Windows failover clustering, all nodes are based in Azure.
I have one Windows server as a witness server and 2 SQL nodes all part of the cluster. I've got the failover clustering all configured and the SQL Availability Groups all configured, however I'm having issues trying to get the listener to work. I've been following the instructions on the knowledge base article: http://msdn.microsoft.com/en-us/library/azure/dn425027.aspx and have issues when I get to step 9 for the PowerShell. If I try and create the client access point manually for the cluster it doesn't bring the resource online.
When running the below code I get the following error.
$ClusterNetworkName = "Cluster Network 1" # the cluster network name $IPResourceName = "SQL_AG" # the IP Address resource name $CloudServiceIP = (Resolve-DnsName -Name "ServiceName001.cloudapp.net").IPAddress Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$CloudServiceIP";"ProbePort"="60001";SubnetMask="255.255.255.255";"Network"="$ClusterNetworkName";"OverrideAddressMatch"=1;"EnableDhcp"=0}Set-ClusterParameter : Parameter 'OverrideAddressMatch' does not exist on the cluster object 'PR01_SQL_AG'. If you are trying to update an existing parameter, please make sure the parameter name is specified correctly. You can check for the current
parameters by passing the .NET object received from the appropriate Get-Cluster* cmdlet to “| Get-ClusterParameter”. If you are trying to update a common property on the cluster object, you should set the property directly on the .NET object received by
the appropriate Get-Cluster* cmdlet. You can check for the current common properties by passing the .NET object received from the appropriate Get-Cluster* cmdlet to "| fl *". If you are trying to create a new unknown parameter, please use -Create with this
Set-ClusterParameter cmdlet.
At line:6 char:39
+ Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Set-ClusterParameter], ClusterCmdletException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.FailoverClusters.PowerShell.SetClusterParameterCommand
Anyone have any ideas? I've tried rebooting the machine, and even creating the removing the cluster and re-building it to no avail.
Marcus