# Define variables | |
$ClusterNetworkName = "Cluster Network 1" # the cluster network name | |
$IPResourceName = "IP Address 10.0.1.0" # the IP Address resource name | |
$CloudServiceIP = "23.100.xxx.xxx" # IP address of your cloud service | |
Import-Module FailoverClusters | |
Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$CloudServiceIP";"ProbePort"="59999";SubnetMask="255.255.255.128";"Network"="$ClusterNetworkName";"OverrideAddressMatch"=1;"EnableDhcp"=0} | |
# Define variables | |
$ClusterNetworkName = "Cluster Network 2" # the cluster network name | |
$IPResourceName = "IP Address 192.168.1.0" # the IP Address resource name | |
$CloudServiceIP = "23.100.xxx.xxx" # IP address of your cloud service | |
Import-Module FailoverClusters | |
Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$CloudServiceIP";"ProbePort"="59999";SubnetMask="255.255.255.128";"Network"="$ClusterNetworkName";"OverrideAddressMatch"=1;"EnableDhcp"=0} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment