Here are a list of Netapp Clustered Data Ontap Powershell commands for easy reference. I’m a massive fan of the NetApp PowerShell Toolkit, and it’s time to upgrade to a new. For this post I’m just interested in Clustered Data ONTAP/ONTAP cmdlets.
Version 3.1 release notes: New download location The Data ONTAP PowerShell Toolkit can now be downloaded on the NetApp support site: Major features. Perfstat data collection Two new cmdlets, Invoke-NaPerfstat and Invoke-NcPerfstat enable basic perfstat data collection. Perfstat is used to collect diagnostics data; tools are available to parse and analyze the resulting output. Full Data ONTAP 8.2.1 API support Toolkit 3.1 includes full API coverage for Data ONTAP 8.2.1. This includes 58 new cmdlets and 17 cmdlets with new parameters.
The following 7-mode ONTAPI categories contain new cmdlets:. cf (2 cmdlets). toolkit (1 cmdlet). ucm (2 cmdlets) The following clustered ONTAP categories contain new cmdlets:. active directory (5 cmdlets). cf (6 cmdlets).
cifs (6 cmdlets). file (1 cmdlet). fileservice audit (1 cmdlet). lun (4 cmdlets). net (6 cmdlets). perf (1 cmdlet).
security (2 cmdlets). snapshot (1 cmdlet). toolkit (1 cmdlet). ucm (2 cmdlets). vscan (17 cmdlets) Enhancements. Get-NaHostDisk now contains partner information for 7-mode disks.
Get-NcLunSignature and Set-NcLunSignature now available. Transient parameter on Start-NaNdmpCopy prevents the NDMP copy operation status from being added to the global variable.
NDMP copy operation log messages are now contained in the NDMP copy operation status object. Connect-NaController and Connect-NcController will prompt for credentials when no credentials are supplied and no credentials are present in the credentials cache.
Set-NaToolkitConfiguration no longer requires a PowerShell restart to change the DebugLevel. The ActiveOnly switch on several 7-mode net parameters prevents the cmdlets from modifying the persistent net configuration upon completion. Fixes. Compliance clock info XML parsing for Data ONTAP 8.2. Rename-NaQtree did not work when the qtree contained spaces in the name. Set-NaTime with DateTime set the UTC time erroneously. WriteBytesPerSecond value incorrect for LUN stats in Invoke-NcSysstat Docs Check out ' for more details on the new features.
If you're new to PowerShell or the Toolkit, you might want to start with our ' slides. Thanks for making the d/l link available to the community.
I realize it is perhaps impolite to open my first forum comment with a bit of feedback, but I hope you'll pardon that because I really do find the PowerShell Toolkit enormously helpful. The d/l link is much harder to find than it should be. Even the google isn't quite keeping up with where it is hidden from release to release.
Otherwise, wonderful product - and again, thank you so much. I hope this feedback is taken in the frienly context in which I have offered it - as a customer who has found great value in this toolset. Greg Crowe.
More information. Data ONTAP DSM for Windows MPIO includes Windows PowerShell cmdlets that you can use to manage the DSM.
The following table lists the common tasks that you can complete with the cmdlets. For users upgrading from previous releases, it also lists the corresponding deprecated dsmcli commands. The Windows host must meet the following requirements before you can use the Windows PowerShell cmdlets with Data ONTAP DSM. You can use the Windows Start utility to launch a PowerShell session on the local host. You do not have to run the PowerShell cmdlets directly from the host on which you want to run the commands. You can run the cmdlets from a remote host.
Each cmdlet has a help file that you can view to get more information about the cmdlet. You can use the get-ontapdsmparams cmdlet to get information about Data ONTAP DSM. The cmdlet displays the current values for the default load balance policy, for the event log level, and for the parameters that affect how the DSM works. You can use the get-sandisk cmdlet to view information about virtual disks. For example, you can view the load balance policies assigned to virtual disks and the number of paths to virtual disks. You can use the set-sandisk cmdlet to change the load balance policy for existing virtual disks. The DSM sets the load balance policy for newly discovered virtual disks based on your settings in the set-ontapdsmparams cmdlet.
You can use the set-ontapdsmparams cmdlet to change the default load balance policy for new virtual disks. You can use the get-sanpath cmdlet to view information about the paths for virtual disks. For example, you can view the path IDs and path states for virtual disks. You can use the set-sanpath cmdlet to change the status of a path.
For example, you can enable and disable paths. The state that you can assign to a path depends on the load balance policy of the virtual disk and the status of the other paths. You can use the set-sanpath cmdlet to set the weight assigned to each path for virtual disks with a Least Weighted Path load balance policy. DSM uses the available path with the lowest weight to access the disk. You can use the get-sanstats cmdlet to display statistics about SAN connectivity. You can use the statistics to analyze and monitor the input/output (I/O) for a path to a virtual disk. For example, you can see the number of reads and writes for a path.
The get-sanstats cmdlet provides statistics about SAN connectivity. You can use the clear-sanstats cmdlet to reset the statistics values to 0. You can use the iSCSILeastPreferred parameter to specify that the Data ONTAP DSM uses iSCSI optimized paths only if there are no FC optimized paths available. You might enable this setting if you want to use iSCSI paths as backups to FC paths. You can use the set-ontapdsmparams cmdlet to modify values for the DSM parameters that affect how the DSM works. You should not change the values unless directed to do so by your storage system support representative.