The NetApp PowerShell Toolkit 4.2 unifies all of NetApp’s PowerShell modules into a single package; The unified toolkit provides end-to-end automation and storage management across NetApp’s storage platforms of your datacenter and Hybrid Cloud – spanning 7-mode and clustered Data ONTAP running on FAS or AFF in your datacenter, ONTAP Select running on commodity hardware and ONTAP Cloud instances running on the public cloud. This release provides complete API coverage to ONTAP 9.0 and is backward compatible with previous ONTAP releases as well. NetApp PowerShell Toolkit 4.2 is compatible with Microsoft Windows Server 2016. 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.
It’s fairly typical in Enterprise IT environments that the provided Windows 7 desktops are locked down. This blog post walks through installing the Data ONTAP PowerShell Toolkit in such an environment, where there are certain restrictions, but fortunately not enough to stop us from installing and using the Data ONTAP PowerShell Toolkit.
`Connect-NcController $node -Add` for each of your nodes. This stores all the nodes in PowerShell session memory (and any cmdlet you execute will by default be executed on all 4 nodes/controllers).
`New-NcCluster -BaseLicense -NcController $node1,$node3` - this ensures a cluster-create operation is initiated only on the first and third node. If you didn't provide the NcController option, the cmdlet would be iterated over all currently connected nodes. Run Add-NcCluster on $node2 and $node4 to finish the cluster creation. Hope this helps, Aparajita.
How to execute commands on filer using windows Powershell with Data Ontap module Published - Sep 15/2011 Last Updated - Sep 15/2011 Author - Sumedh This guide will show you how to install Dataontap Module for Powershell, connect to a filer and execute commands. If you are using Windows XP, 2003, Vista (32 bit or 64 bit versions) you will need to download Microsoft Windows Management Framework Core package which has Powershell 2.0 from. If you are using Windows 7, Windows Server 2008 R2 or 2k8 R2 core, powershell 2.0 is already installed, you don't have to download anything. Note - Powershell cannot be isntalled on Windows Server 2008 Download Netapp Data ONTAP Powershell Toolkit from (You will need NOW access) Download DataONTAP.zip ( I am using version 1.5), extract the files and place the module contents in C: Windows system32 WindowsPowerShell v1.0 Modules DataONTAP You need to place the extracted files in the right place, check the screenshot for more details Note - Your Path may be different. Start Powershell and execute '$host.version' (without the quotes). It should show Major version 2.0 Execute the following commands.