Running the Netapp Ontap 7-Mode 8.2.1 Simulator

The below is copied from a set of notes taken a while ago. I’ll update these as I go.

For VMware Workstation

  • Grab the vsim_netapp-7m.tgz from the Netapp Support site, untar / unzip it
  • This will uncompress a bunch of vmdk files. Most of these files are “individual” disk which will appear on the storage controller
  • Load the VMX file in VMware Workstation

 For ESXi

  • Grab the vsim_esx-7m.tgz from the Netapp Support site, untar / unzip it
  • Enable ssh on the exsi server
  • Copy the tar to the datastore1
  • Uncompress the image (tar -xvzf)
  • Run vmkload_mod multiextent  (https://communities.netapp.com/thread/24329)

 

Common Instructions

  • Boot the vm
    Ctrl-c during boot

1

Select option 4 to start with a fresh config

Provide a hostname, don’t use IPv6 or interface groups
Then setup an IP address and default gateway on e0a, the remaining interfaces can be setup later

When requested don’t provide an admin host (otherwise you will be restricted to use this machine configure the netapp)

netapp_ip

Setup root password when requested
Log in as root
Change the network interfaces setting to connect the correct physical network (Usually e0a is mapped to network adaper 1)

netapp_settings

  • You should now be able to ping and ssh to the netapp using root / pwd
  • Now install OnCommand System Manager 3.1  (I tired to use 3.1.1 but it refused to authenticate correctly stick with the older version)
  • Add the netapp to OnCommand System Manager using the root username/password

If the command manager does not work (connection refused) then its probably because the httpd wasn’t enabled during initial config. Fix as follows:

1) ssh to netapp

netapp1> options httpd
httpd.access legacy
httpd.admin.access legacy
httpd.admin.enable off
httpd.admin.hostsequiv.enable off
httpd.admin.max_connections 512
httpd.admin.ssl.enable off
httpd.admin.top-page.authentication on
httpd.autoindex.enable off
httpd.bypass_traverse_checking off
httpd.enable off
httpd.ipv6.enable off
httpd.log.format common
httpd.method.trace.enable off
httpd.rootdir /vol/vol0/home/http
httpd.timeout 300
httpd.timewait.enable off
3) options httpd.admin.enable true (enable access)
4) options httpd.admin.ssl.enable true (enable secure access)
netapp1> options httpd
httpd.access legacy
httpd.admin.access legacy
httpd.admin.enable on
httpd.admin.hostsequiv.enable off
httpd.admin.max_connections 512
httpd.admin.ssl.enable on
httpd.admin.top-page.authentication on
httpd.autoindex.enable off
httpd.bypass_traverse_checking off
httpd.enable off
httpd.ipv6.enable off
httpd.log.format common
httpd.method.trace.enable off
httpd.rootdir /vol/vol0/home/http
httpd.timeout 300
httpd.timewait.enable off

Now install the licenses from the OnCommand System Manager.  Click Config -> System tools -> Licences -> Add then paste the codes. Note, the ESXi version has different codes to the Vmware Workstation version.

The Netapp is now ready to configure and use.

Read my Netapp Storage Concepts (for network engineers) for more information on how to use the netapp.

 

Disk Structure in the Simulator

The 8.2.1 simulator starts off with:

  • 28 disks (2 shelves with 14 disks each)
netapp01*> storage  show disk
DISK                  SHELF BAY SERIAL           VENDOR   MODEL      REV
--------------------- --------- ---------------- -------- ---------- ----
v4.16                   ?    ?  08561200         NETAPP   VD-1000MB- 0042
v4.17                   ?    ?  08561201         NETAPP   VD-1000MB- 0042
v4.18                   ?    ?  08561202         NETAPP   VD-1000MB- 0042
v4.19                   ?    ?  08561203         NETAPP   VD-1000MB- 0042
v4.20                   ?    ?  08561204         NETAPP   VD-1000MB- 0042
v4.21                   ?    ?  08561205         NETAPP   VD-1000MB- 0042
v4.22                   ?    ?  08561206         NETAPP   VD-1000MB- 0042
  • pool 0 with 14 assigned disks (leaving 14 unowned disks)
  • aggr0, containing plex0, and rg0 (RAID group) with 3 disks in a RAID-DP configuration (1 data disk)
netapp01*> aggr status -v
           Aggr State           Status                Options
          aggr0 online          raid_dp, aggr         root, diskroot, nosnap=off, raidtype=raid_dp,
                                64-bit                raidsize=16, ignore_inconsistent=off,
                                                      snapmirrored=off, resyncsnaptime=60,
                                                      fs_size_fixed=off, lost_write_protect=on,
                                                      ha_policy=cfo, hybrid_enabled=off,
                                                      percent_snapshot_space=0%,
                                                      free_space_realloc=off

                Volumes: vol0

                Plex /aggr0/plex0: online, normal, active
                    RAID group /aggr0/plex0/rg0: normal, block checksums
  • vol0 in aggr0 – thick provisioned 871.916MB in size
netapp01*> vol size vol0
vol size: Flexible volume 'vol0' has size 871916k.


In onCommand click Storage -> Disks

netapp_disk

 

 

Enable access to the OS

Enter advanced mode and unlock the diagnostic user. This will allow you to look at the operating system files/logs

 ssh as root users, Enter a password and confirm.
 priv set advanced
 useradmin diaguser unlock
 useradmin diaguser password

Then launch the systemshell and login as diag and enter the password you have just set:

systemshell

netapp_diag

 

 

References

Netapp Cheat Sheet – Lists most basic cli commands

ESXi Install guide

Add Shelves to the simulator

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s