Archive for the ‘Clustered ONTAP’ Category.

Introducing OnCommand Shift

Have you ever tried to migrate a virtual machine from one hypervisor to another? If so, you will have quickly realized that it isn’t as easy as it should be. In a time of software defined everything, you would hope that converting a virtual machine from one hypervisor format to another would be fairly straight forward. Until now, it has been a very painful process requiring complete data copies, extended periods of downtime, and costly migration tools.

Today, NetApp is changing the game. Again.


OnCommand Shift is a new tool released today that allows you to quickly and easily migrate or “Shift” your virtual machines from one hypervisor to another. Do you want to know the best part? NetApp is providing this tool free of charge.

Say What?

Yes, the tool is free. FREE.

The initial release of OnCommand Shift supports VMware ESXi 5.0 (and newer) and Windows Server 2008 R2 Hyper-V (and newer) and requires a FAS2240 or newer controller running Clustered Data ONTAP 8.2 or later.

OnCommand Shift uses several technologies under the covers to provide a conversion process that is simple, cost effective, and most importantly, FAST.

Here is an overview of the process:
1. Collect data
2. Snapshot VM
3. Remove hypervisor integration tools
4. Migrate VM
5. Configure networking

Seems pretty simple, right? I know what you are probably thinking…”How is this faster or different that those other migration tools?”

The magic is how OnCommand Shift leverages the power of Clustered Data ONTAP. The process uses NetApp’s FlexClone technology to make a writable space efficient clone of the virtual machine and then generates the new metadata needed to convert the virtual machine from one hypervisor to another. The process takes only a few minutes. Once complete, you are left with a converted virtual machine that takes up only a tiny amount of extra space.


For more information:

OnCommand Shift Data Sheet:

NetApp Communities Blog Post: OnCommand Shift Blog

You can download OnCommand Shift here:  OnCommand Shift Download

Look for another post soon that will include more technical details as well as a demo.

Happy Shifting!

NetApp PowerShell Toolkit: Getting Started

Welcome! I am in the process of learning PowerShell and more specifically the NetApp PowerShell Toolkit. I’ll post one-liners, simple scripts, tips, and resources I discover along the way. If you are a NetApp storage administrator and you haven’t taken the NetApp PowerShell Toolkit for a spin yet, I highly recommend you do so. The PowerShell language combined with the Data ONTAP API is a powerful tool that can be used to document, manipulate and even automate your storage environment.

Getting setup with NetApp’s PowerShell Toolkit is very simple. More info can be found here. You will need to login to download the DataONTAP.msi installer.

Once you get the toolkit installed properly, you should be able to type “Get-NaHelp” to see a list of NetApp commandlets.

The first few lines of the Get-NaHelp command should look something like this:

PS C:\Scripts> Get-NaHelp

Name                                Category        Api
----                                --------        ---
Add-NaAggr                          aggr            {aggr-add}
Add-NaCifsShare                     cifs            {cifs-share-add}
Add-NaCredential                    toolkit
Add-NaFpolicyExtension              fpolicy         {fpolicy-extensions}

All of the NetApp commandlets are in the format “Verb-NaNoun” for 7-Mode and “Verb-NcNoun” for Clustered ONTAP.

To get help with a specific commandlet use the standard Microsoft “Get-Help” commandlet followed by the NetApp commandlet:

PS C:\Scripts> Get-Help Get-NaVol


    Get volume status.

    Get-NaVol [[-Names] <String[]>] [-Aggregate <String>] [-Terse] [-Controller <NaController>] [<CommonParameters>]

    Get volume status.  Note that all RAID-related status items (e.g., 'raid-size', 'raid-status', 'checksum-style')
    reported for a flexible volume actually describe the state of its containing aggregate.


    To see the examples, type: "get-help Get-NaVol -examples".
    For more information, type: "get-help Get-NaVol -detailed".
    For technical information, type: "get-help Get-NaVol -full".

Most of the commandlets require you to first connect to a NetApp controller using the “Connect-NaController” commandlet:

PS C:\Scripts> Connect-NaController

Name                 Address           Ontapi   Version
----                 -------           ------   -------
netapp1        1.14     NetApp Release 7.3.6: Thu Jul  7 02:02:45 PDT 2011

Hopefully that is enough info to get you started if you are completely new to the NetApp Toolkit. If not, feel free to ask for help in the comments or on the NetApp Communities website.

Subscribe via RSS or follow me on Twitter (@seanluce) for updates.

Happy Scripting!