Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Listener Configuration for AlwaysOn

$
0
0

Hello,

I am following this tutorial http://msdn.microsoft.com/en-us/library/dn425027.aspx

When I get to this PowerShell script thing start to go wrong

# Define variables$ClusterNetworkName="<ClusterNetworkName>"# the cluster network name$IPResourceName="<IPResourceName>"# the IP Address resource name $CloudServiceIP="X.X.X.X"# IP address of your cloud service Import-Module FailoverClusters Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$CloudServiceIP";"ProbePort"="59999";SubnetMask="255.255.255.255";"Network"="$ClusterNetworkName";"OverrideAddressMatch"=1;"EnableDhcp"=0}

I get this error: Set-ClusterParameter : Unable to save property changes

After some testing it appears the PowerShell script cannot update the probeport, subnet mask, OverrideAddressMatch or EnableDhcp. I could however update the other values.

I then used the following PowerShell command to try and update the values separately.

$res = Get-ClusterResource "Resource Name"
$p1 = New-Object Microsoft.FailoverClusters.PowerShell.ClusterParameter $res,ProbePort,59999
$params = $p1
$params | Set-ClusterParameter

But I get the same error. Does anyone have any idea why I cannot change these values? I have managed to do it on other SQL clusters so not sure why it is not working here. I have checked the event logs and I am not getting any errors.


Brian Jones


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>