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.
There is no cmdlet equivalent. The API equivalent for "cluster ha modify" is private, unsupported, undocumented, and deprecated...so probably not a good one to use. Maybe use Invoke-NcSsh to change that setting?
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.