NetApp Simulator CDOT 8.2 – Recipe: Add SSD & More Disks

I’ve used NetApp 7-Mode simulators in the past.  However, after attending Cluster Mode 8.2 Administration class, I wanted to have some good Cluster Mode simulators to practice on before I took the test.  I’m going to post some recipes for how I “enhanced” my simulators for my study needs.  This particular recipe involves removing the default disks that come with the simulator and adding a shelf of 500MB SSD and 3 shelves of 9GB disks.  This will provide more disks for aggregates at a larger capacity and allow for configuring FlexCache and Hybrid Volumes.

For the purposes of this discussion, I’m going to reference against VMware Workstation. The things you need to do are slightly different for the ESXi version of the simulator, but you should be able to figure it out based on these instructions.

Obtain The Simulator

  1. If you have not already done so, go to http://support.netapp.com and register an account and log in.
  2. Download the 8.2 Simulator: Downloads > Product Evaluations > Data ONTAP Simulator > Simulator 8.x > VMware WorkstationNote: I would also suggest downloading the PDF instructions and keys for the Simulator you are running.
  3. Unpack the Simulator using 7-Zip or something like it. (Do this step twice if you are building a cluster)
  4. Name your unpacked simulator folders something you can recognize. I used “NAC01-01 and NAC01-02 (NetApp Custer 01 Node 01 & 02)
  5. Add the simulators to your inventory in VMware Workstation

I configured each of my simulators one at a time. The first time I did this, I tried making a template and cloning it off twice. The first template worked, but the next one failed with a disk panic. I tried rebuilding it but after zero success, I just duplicated the original vsim, and manually configured them both. It was extra work, but in the end I had a working CDOT simulator.

First Boot!

  1. 1. Power on your first node in VMware Workstation.Note: If this is your second node, you should stop here and follow the instructions on page 31 & 32 of the NetApp Simulator PDF to change the serial number.
  2. Press CTRL-C when prompted to get the boot menu
  3. Select Option 4 – Clean configuration and wipe disks
  4. Let it run through fully, and wait for the cluster setup prompt

Bigger, Faster Disks

  1. When you see the cluster setup prompt, press CTRL-C
  2. Login to your node, username “admin” the password is blank.
  3. Run through the following commands:

security login unlock -username diag
security login password -username diag
Please enter a new password: *********
Please enter it again: *********
set -privilege advanced
Do you want to continue? y
systemshell local
login: diag
Password: *********
setenv PATH “${PATH}:/usr/sbin”
echo $PATH
cd /sim/dev/,disks
ls
sudo rm v0*
sudo rm v1*
sudo rm ,reservations
cd /sim/dev
vsim_makedisks -h
sudo vsim_makedisks -n 14 -t 35 -a 0
sudo vsim_makedisks -n 14 -t 36 -a 1
sudo vsim_makedisks -n 14 -t 36 -a 2
sudo vsim_makedisks -n 14 -t 36 -a 3
ls ,disks/
exit
system node halt local
Warning: Are you sure you want to halt the node? y

Note: The SIM comes with 2 virtual shelves of 14 x Type 23 (1GB) disks. The above comamnd deletes the 2 shelves and adds 4 shelves. 1 shelf with 14 x Type 35 (500MB SSD) and 3 shelves with 14 x Type 36 (~9GB) disks. Adding the SSD will allow you to simulate things like FlexCache and Hybrid Volumes.

Once the VM is powered off, we need to expand Hard Disk 4 to 444GB in VMware Workstation.

4. Power the VM back up and when prompted press CTRL-C
5. Select Option 5 – Maintenance mode boot
6. When you are at the command prompt, you can poke around at different commands. Here is what I did:

disk assign v5.16 v6.16 v7.16
disk show
halt

Note: I didn’t use the v4 shelf b/c that’s SSD and I decided for the purposes of my lab, I’d rather have a bunch of SSD to play with. You can absolutely pick whatever disks you want in that step.

7. Reset the VM so it powers up
8. Press CTRL-C when the prompt comes up.
9. Select option 4 – Clean Configuration and Initialize Disks

Note: Step 9 will take substantially longer to run this time. If you are currently setting up your first node, you can start on your second node while this runs. When it’s done, it will take you to the cluster setup prompt.

Cluster Setup
Run through the cluster setup as you normally would in your lab config.

Disk, Disks & More Disks
Once the cluster is set up, there are a few things you may want to do…

Check the status of your cluster

cluster show

If you run a disk show, you may find that most of your disks are “unowned”. You can fix this by running following command for both nodes:

storage disk assign -all -true -node <node name>

Turn off spare checking. this is a lab, if a disk fails, it’s your computer’s hard disk which means you have bigger problems. So run this command for both nodes:

system node run -node <node name> options disk.maint_center.spares_check off

You may have noticed that your root aggregates are not named consistently. One is named aggr0, the other is named somewhat more strangely with the node name. You can rename them to be consistent

aggregate rename -aggregate aggr0 -newname n1_aggr0
aggregate rename -aggregate aggr0_<node>_0 -newname n2_aggr0

Finishing…
Once you’ve done this, your cluster is up and running and you should be able to run through more labs and testing.

Next on the list:

  • Configuring VMware Workstation NAT for Simulator
  • Add more NICs to the Simulator (not that you really need them)
This entry was posted in NetApp, Storage and tagged , , , , , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback.

1 Trackback

  1. […] NetApp Simulator CDOT 8.2 – Recipe:  Add SSD & More Disks […]

Leave a Reply

%d bloggers like this: