I'm running 8.1RC2X13 7-mode, and Data ONTAP PowerShell Toolkit version 184.108.40.206.
I am trying to execute Initialize-NaSecureAdminSsh with key options, and I get an error, "Cannot determine connection type", followed by mention of an ArgumentException. To make sure it isn't a problem with PowerShell connectivity, I executed Get-NaTime and that ran successfully. Full details below. Is this PowerShell cmdlet supported in this build (or a later build)? Is there something wrong with the arguments I'm passing?
Thanks in advance,
(From Windows PowerShell ISE, after loading OnTap modules)
This is a known issue that will occur when multistore is licensed and the option "licensed_feature.multistore.enable" is "off". You can either set that option to "on" then use Connect-NaController to reconnect to the simulator, or get the latest version of the toolkit (version 2.0) which fixes the issue:
Are you experiencing the same issue after changing the option? If you are experiencing the same issue, it may work if you restart your PowerShell session.
You can verify SSH is working by using the Invoke-NaSsh cmdlet (something like "Invoke-NaSsh hostname"). You can also try running Initialize-NaSecureAdminSsh with the -Verbose switch (Initialize-NaSecureAdminSsh -Ssh1HostKeySize 512 -Ssh1ServerKeySize 768 -Ssh2HostKeySize 1024 -Force -Verbose). There may be a message in the Verbose output that will point to what the issue is.