2016-06-23 10:11 AM - edited 2016-06-23 10:58 AM
2016-06-24 11:24 AM
I see the cmdlet "new-NcCluster" which is GREAT - but the get-help is a bit thin
No examples, no description - params are a base license key and node count (?). It also accepts a -Controller <NcController[]> object but if its a NEW cluster what exactly is being provided here?
Could really use some usage guidelines on this one.
2016-07-04 06:38 AM
Hi John,
Sorry about the lack of documentation - I'll raise a bug report for that. I could swear I wrote a help file for this, but apparently not.
To help you out right now - the New-NcCluster is equivalent to the 'cluster create' command on the CLI and cluster-create zapi. It starts the process to create a cluster using the node you're currently connected to.
The Base License param of course takes the cluster base license.
The NodeCount parameter is used to discover and add nodes to a new cluster. You can specify maximum how many discovered nodes (which are not already a part of any cluster) should be added.
Get-NcClusterCreateProgress can be used to track the status of the operation.
Add-NcClusterNode can be used to discover and join more nodes to this cluster later.
The "-NcController" is a common field for all cmdlets. To answer how it would be useful - suppose you've 4 newly provisioned nodes in the network and want to create two 2-node clusters out of it. The steps you could do is
Hope this helps,
Aparajita
2016-07-22 08:29 AM
I have installed this on a Win 8.1 PC but I do not see the VSCAN cmdlets. Is there a problem with these showing up or did I install this incorrectly?
Thanks,
Bill
2016-07-22 12:12 PM
Hi Bill,
Please check with version of the Data ONTAP module which is being imported by your PowerShell session:
Import-Module DataONTAP Get-Module DataONTAP
Also, do you get any values returned when checking the cmdlets included in the module?
Get-Command -Module DataONTAP | ?{ $_.Name -match 'vscan' }
Andrew
2016-07-22 12:22 PM
When I did the
Get-Command -Module DataONTAP | ?{ $_.Name -match 'vscan' }
I got a list of cmdlets, then realized it was running as Administrator. I then ran it without the RunAs and it does not show any. Must have installed while as Administrator.
How can I get these to show while not running as Administrator?
Thanks,
2016-07-22 12:42 PM
Check the value of "$env:PSModulePath" for both users. It should include "C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules\". If not, follow these directions to add a path to that variable.
Andrew
2017-10-24 09:24 AM
Do you mean the -Controller option rather than -NcController?