Environment: NetApp PowerShell Toolkit 4.3, FAS2552 running ONTAP 9.1GA
I'm working on a new cluster setup script and trying the New-NcCluster cmdlet.
Everything works great with the exception of the last cmdlet - Enable-NcClusterHA. This should (as I understand) be the equivalent of the CLI command "cluster ha modify -configured true". I was able to set this correctly using a ZAPI call as well as the CLI....just not the cmdlet (?).
Also, during troubleshooting, I noticed that the Set-NcClusterHaMode is not really needed (?) - the appropriate options are already set correctly. So it'd probably be possible to skip this one along with the reboots - but going along with what has worked in the past.
-------------------------------------------
Import-Module DataOntap
# Connect Node 1
Connect-NcController 10.0.10.14
# Create Cluster
New-NcCluster -ClusterName MASTER -License {license}
# Check Progress
Get-NcClusterCreateProgress
# TNSC
Set-NcNetOption -SwitchlessCluster $true
# Cluster Mgmt Interface
New-NcNetInterface -Name MASTER_mgmt -Vserver MASTER -Role cluster_mgmt -Node MASTER-01 -Port e0M -Address 10.0.10.13 -Netmask 255.255.255.0
# Connect Node 2
Connect-NcController 10.0.10.15
# Join Node 2 to Cluster
Add-NcCluster -ClusterName MASTER
# Check Progress
Get-NcClusterCreateProgress
# Connect to Cluster
Connect-NcController 10.0.10.13
# Set HA Mode
Set-NcClusterHaMode -Node MASTER-01 -Enable
Set-NcClusterHaMode -Node MASTER-02 -Enable
# Reboot
Restart-NcNode -IgnoreQuorumWarnings -Node MASTER-02
Restart-NcNode -IgnoreQuorumWarnings -Node MASTER-01
# Connect to Cluster
Connect-NcController 10.0.10.13
# Enable Cluster HA
Enable-NcClusterHa -Node MASTER-01
Enable-NcClusterHa -Node MASTER-02
--------------------------------------------------------------------------
Any ideas why the Enable-NcClusterHa cmdlet is not working?
- John