Simulate ONTAP 8 – An introduction

This posting is ~6 years years old. You should keep this in mind. IT is a short living business. This information might be outdated.

While talking with a colleague, she told me that she would like to know more about NetApp. Unfortunately we don’t have a NetApp system in our lab and playing with customer equipment is… mmh…unfavorable. But there’s a solution for this problem: Simulate ONTAP 8. This software allows you to simulate a 7-Mode or Cluster-Mode (c-Mode) system and to test many of the features. All you need is a VMware Workstation/ Player/ Fusion or an ESXi host.

The requirements

The requirements are manageable:

  • Dual core x64 laptop or desktop with Intel VT support
  • 2 GB RAM for one instance
  • 40 GB free disk space per instance (SSD strongly recommended)
  • at least VMware Workstation 8.0.1 or 8.0.2, VMware Player 4.0.1 or 4.0.2, or VMware ESX 4.1 U1

If you have a Mac, you need at least Mac OS X 10.6.8 and VMware Fusion 4.1.1. If your laptop or desktop has enough power, you can run multiple instances of the simulator (especially if you want to test NetApp c-Mode).

The software is available through NetApp NOW. The latest release is 8.2.1RC1. Take care that you grab the correct download. There are different downloads for Workstation/ Player/ Fusion/ ESXi and 7- and c-Mode.

simulate_ontap8_download

NetApp/ www.netapp.com

To download the software, you need a NetApp NOW login. This is mandatory, because due to license restrictions the ONTAP 8 simulator can only be downloaded by NetApp customers and selected partners.

The installation

In this article I show you the installation of a 7-Mode ONTAP simulator on a standalone ESXi 5.5. After downloading the right file (vsim_esx-7m.tgz) you need to extract the file. This can be easily done with 7-Zip or any other tool, that can extract TGZ (gzip compressed TAR) files. The installation is a bit different, because the ONTAP 8 simulator isn’t delivered in OVF or OVA format. So you have to upload the files with the Datastore Browser of the vSphere C# Client (it’s a standalone ESXi 5.5, so no vCenter and Web Client).

I extracted the TGZ into a folder named “netapp1”. As you can see, the VM consists from a lot of VMDK files. This is a problem, but I will come back to this later.

simulate_ontap8_disks

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

First of all you have to upload the folder to the a datastore. To do so, start the vSphere C# Client and open the datastore browser for the datastore, which should house your ONTAP 8 simulator. Select “Upload Folder…” and select the folder with the extracted ONTAP 8 simulator.

ontap_sim_upload_1

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

After the upload has finished, your datastore includes the folder with the ONTAP 8 simulator.

ontap_sim_upload_2

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

Before we can proceed further, we have to do some magic mojo. The “DataONTAP-sim.vmdk” is a twoGbMaxExtentSparse VMDK. With ESXi 5.1 and later, the hypervisor can’t open this VMDK type by default. You can load the multiextent module to solve this problem, but you have to load the module after each reboot. The better way is to convert the VMDK into a zeroedthick VMDK. Open a SSH connection to your ESXi (remember to start the SSH service…). Change to the folder of your ONTAP 8 simulator and load the multiextent module. Otherwise we can’t convert the VMDK.

 Now we can convert the VMDK with vmkfstools.

 The last step is to remove the old VMDK, rename the new VMDK to the old name and unload the multiextent module.

Now it’s time to register the VM. To do so, browse through the datastore browser and right click the VMX file. Choose “Add to Inventory”.

ontap_sim_register_vm

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

Before you can start the VM, you have to change the vNICs. You have to configure them to the port groups on your ESXi host. I connected all four vNICs to my testlab network.

ontap_sim_change_vnics

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

Now we can power on the ONTAP 8 simulator. Let the ONTAP 8 simulator boot up until you have the chance to enter the boot menu with Ctrl+C. Choose menu item 4: Clean configuration and initialize all disks. This is necessary, because without this step, the simulator might hang and reboot repeatedly. This is clearly stated in the “Simulate ONTAP 8.2 Installation and Setup Guide”.

simulate_ontap8_wipe_procedure_1

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

You have to answer two questions with YES.

simulate_ontap8_wipe_procedure_2

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

After this step the ONTAP 8 simulator will reboot and the wipe procedure begins.

simulate_ontap8_wipe_procedure_3

Patrick Terlisten/ www.vcloudnine.de/ Creative Commons CC0

When the bootup is finished, the simulator welcomes you with a configure dialog.

After this dialog, the ONTAP 8 simulator installation is nearly finished. Use a SSH client of you choise to access the simulator by using SSH. After you logged in as root via SSH, you have to install the necessary licenses. A list with license keys can be found on the ONTAP 8 simulator website. Please note that these license keys differ from the previous ONTAP 8 simulator keys! Please also note, that the keys are bound to the serial number of the ONTAP 8 simulator. So please don’t change the serial number! Simply copy ‘n paste them to the SSH session. You can check the success of this operation with the “license show” command:

 Congratulations! Your ONTAP 8 simulator is now ready to use.

A first step could be the configuration of CIFS. This is done using “cifs setup” command. I will highlight some features in subsequent articles.

Patrick Terlisten
Follow me

Leave a Reply

Your email address will not be published. Required fields are marked *