NetApp is delivering a Simulator for C-DOT and 7-Mode.
You can use this to learn how Data ONTAP works, or try features of it.
Default the software can be used to learn the commands, but you can adjust it, so that other function are available.
This post explains how to configure it and add some cool features.
Import the VM to your Hypervisor
Extract the vSim files.
Open the vmx file (fusion, player, or workstation) or upload the files to ESX and add the vmx to the inventory.
Open the vmware console for the vSim VM.
Power on the VM and press space during boot to stop at the VLOADER> prompt.
IMPORTANT: Do not miss the first boot. If you do, start over at step 1 with clean files. Otherwise changing the serial number and simdisk inventory will not work.
Converting from 7-Mode to C-DOT and vice-versa
Pick a Boot Mode – 7mode or cluster mode
If this will be a 7 mode simulator, enter these commands at the VLOADER> prompt:
setenv bootarg.init.boot_clustered false
if this will be a cluster mode simulator, enter these commands:
setenv bootarg.init.boot_clustered true
setenv bootarg.bsdportname e0c
Setting a serial number
If you only plan to run 1 instance of the simulator, skip this step.
Pick one of the following serial numbers and enter the corresponding commands at the VLOADER prompt:
#Serial Number 4082368507
setenv SYS_SERIAL_NO 4082368507
setenv bootarg.nvram.sysid 4082368507
#Serial Number 4082368508
setenv SYS_SERIAL_NO 4082368508
setenv bootarg.nvram.sysid 4082368508
This is not an exhaustive list. The licenses are locked to the serial number, not the boot mode. The feature keys from the cluster mode sheet will work in 7mode, and 7mode feature keys will work in cluster mode. There are plenty of serial numbers and key sets to choose from. For current valid choices, see the Simulator license files published on the simulator download page.
Pick a simdisk inventory.
If you want to use the default disk inventory, skip this step.
Pick a simdisk inventory and enter the corresponding setenv commands at the VLOADER> prompt.
The default simdisk inventory is 28x1gb 15k:
setenv bootarg.vm.sim.vdevinit “23:14:0,23:14:1”
setenv bootarg.sim.vdevinit “23:14:0,23:14:1”
This inventory enables the simulation of multiple disk tiers and/or flash pools: (28x1gb 15k+14x2gb 7.2k+14x100mb SSD)
setenv bootarg.vm.sim.vdevinit “23:14:0,23:14:1,32:14:2,34:14:3”
setenv bootarg.sim.vdevinit “23:14:0,23:14:1,32:14:2,34:14:3”
This one maximizes the usable capacity of the DataONTAP-sim.vmdk
: (54x4gb 15k)
setenv bootarg.vm.sim.vdevinit “31:14:0,31:14:1,31:14:2,31:12:3”
setenv bootarg.sim.vdevinit “31:14:0,31:14:1,31:14:2,31:12:3”
The simdisks are created at first boot according to two bootargs:
In a default vsim, they are set to “23:14:0,23:14:1”, which is equivalent to running the following in the systemshell:
vsim_makedisks -t 23 -n 14 -a 0
vsim_makedisks -t 23 -n 14 -a 1
Custom disk inventories can be constructed by adjusting the type and number of simdisks on each of the 4 adapters.
For a complete list of disk types, run vsim_makedisks -h from the systemshell.
Start Up your Sim
Press CTRL-C when prompted to enter the boot menu
Use option 4 to initialize the disks and install Data ONTAP.
To control which disks the root aggregate is created on, use option 5 to enter maintenance mode and disk assign the desired disks before running option 4.
Complete the setup script as prompted
Install the licenses that correspond to the serial number you picked in step 6. See the license files on the simulator download page.