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

Setting ILB in SQL Server high Availability

$
0
0

Just wanted to know if you are building Failover cluster for Always ON availability Group for same region. Do we have to run below command for both SQL VM's or for only one?

$ClusterNetworkName = "Cluster Network 1"
$IPResourceName = "EMCPRODAG_10.0.26.31"
$ListenerILBIP = "10.0.26.31"
[int]$ListenerProbePort = 59999

Import-Module FailoverClusters


Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ListenerILBIP";"ProbePort"=$ListenerProbePort;"SubnetMask"="255.255.255.255";"Network"="$ClusterNetworkName";"EnableDhcp"=0}

$ClusterNetworkName = "Cluster Network 1"
$IPResourceName = "EMCPRODAG_10.0.26.31"
$ClusterCoreIP ="10.0.26.30"
[int]$ClusterProbePort = 58888

 Import-Module FailoverClusters

Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ClusterCoreIP";"ProbePort"=$ClusterProbePort;"SubnetMask"="255.255.255.255";"Network"="$ClusterNetworkName";"EnableDhcp"=0}

For Failover testing on SQL Server, how the ILB work in AZure setup.  Do i have to shutdown windows machine to activate ILB to function or I can simply failover the SQL server using SSMS?  We are facing problem when your Primary SQL server failover to Seconday SQL server but Both SQL VMs are up. We cannot connect to Secondary SQL server from any other maching using  Listner.  Am I doing this test correctly or not?  Not able to figure out.

Any quick help will be greatly appreciate.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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