NetApp vFiler DR with Data ONTAP Simulator Part 2: Configuration of the first simulator

This article is part of a series.

After you unzipped the file vsim_netapp-7m.tgz you have to open DataONTAP.vmx in VMware Fusion. The virtual network cards are configured as “Host-only” by default and only reachable from the host actually running the VM. To be able to communicate with the VMs in your normal network you should switch them to “Bridged”.

netzwork configuration

Start the VM and press Ctrl+C to get to the menu. Choose option 4 for a fresh configuration of the VM and (virtual) disk initialisation and confirm with “Y”. The VM restarts and after some time it aks for a hostname and IP settings. I only configured the first network device. All other questions can be answered with the default (“ENTER”). At the end you have to specifiy a password for the VM. Now you have your first filer up and running. To show the several steps it takes I made a short video:

Now you can log on to your simulator via SSH with e.g. putty (user root and the password you specified) and do some more configuration.

At first you should disable sending auto support to NetApp in case of errors. Next you can specify your timezone (in case you did not already in the initial setup earlier). If you enable TLS you are able to use the OnCommand System Manager later.

netapp01> options autosupport.support.enable off
netapp01> timezone Europe/Berlin
netapp01> options tls.enable on

No you can assign the virtual disks. This is necessary to be able to use them later:

netapp01> disk show -n
  DISK       OWNER                    POOL   SERIAL NUMBER         HOME                    DR HOME
------------ -------------            -----  -------------         -------------           -------------
v4.16        Not Owned                  NONE   08523900
v4.17        Not Owned                  NONE   08523901
v4.18        Not Owned                  NONE   08523902
v4.19        Not Owned                  NONE   08523903
v4.20        Not Owned                  NONE   08523904
v4.21        Not Owned                  NONE   08523905
v4.22        Not Owned                  NONE   08523906
v4.24        Not Owned                  NONE   08523907
v4.25        Not Owned                  NONE   08523908
v4.26        Not Owned                  NONE   08523909
v4.27        Not Owned                  NONE   08523910
v4.28        Not Owned                  NONE   08523911
v4.29        Not Owned                  NONE   08523912
v4.32        Not Owned                  NONE   08523913
netapp01> disk assign all
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.16 (S/N 08523900) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.17 (S/N 08523901) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.18 (S/N 08523902) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.19 (S/N 08523903) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.20 (S/N 08523904) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.21 (S/N 08523905) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.22 (S/N 08523906) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.24 (S/N 08523907) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.25 (S/N 08523908) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.26 (S/N 08523909) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.27 (S/N 08523910) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.28 (S/N 08523911) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.29 (S/N 08523912) from unowned (ID 4294967295) to netapp01 (ID 4082368508)
Mon Dec 14 22:31:18 CET [netapp01:diskown.changingOwner:info]: changing ownership for disk v4.32 (S/N 08523913) from unowned (ID 4294967295) to netapp01 (ID 4082368508)

The last step of this part is to add the licenses and activate some features. You can find the license codes in the file “VSIM Licenses: 8.2.3 licenses 7-Mode” from Part 1 under the section “Licenses for the non-ESX build”. Every single license code has to added with “license add” (in the example below the actual license code is changed to “XXXXXXXXXXXXXXXXXXXXXXXXXXXX” and you only see how one license is added).

netapp01> license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX
license add: successfully added license key "XXXXXXXXXXXXXXXXXXXXXXXXXXXX".
netapp01> options licensed_feature.multistore.enable on
netapp01> options snapmirror.enable on
netapp01> options rsh.enable on

All articles of the series
Part 1: Download of the files needed
Part 2: Configuration of the first simulator
Part 3: Configuration of the second simulator
Part 4: Create an aggregate and volume
Part 5: DNS Configuration
Part 6: Create vFiler and configure vFiler DR
Part 7: Synchronous vFiler DR
Part 8: Create shares on vFiler
Part 9: Planned Failover
Part 10: Disaster Failover