Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the ONTAP Simulator:

    1. Browse to http://mysupport.netapp.com/NOW/download/tools/simulator/ontap/8.X/

    2. Log in or register to the NetApp support.

    3. Download the Simulator itself: download the ESX version, plus the license codes.

  2. Deploy the compressed archive:

    1. Expand the archive.

    2. Upload it to an ESXi datastore using the datastore browser.

  3. Before the first boot, change the 4th virtual disk of the simulator. This is created as “sparse” and is not supported in ESXi, so it is best to convert the disk to a proper thin format that can be extended in ESXi.

    1. First remove the disk from the powered off virtual machine without deleting it.

      Sparse disk
    2. At the command line, navigate to the folder where the disk is located and run these commands:

      Code Block
      languagebash
      vmkfstools -i DataONTAP-sim.vmdk thin.vmdk -d thin   # Clone the disk into a thin disk
      vmkfstools -U DataONTAP-sim.vmdk                     # Deletes the old sparse disk
      vmkfstools -E thin.vmdk DataONTAP-sim.vmdk           # Renames the cloned disk like the original

      Use the following if the max number of file descriptors needs to be raised for the first command:

      Code Block
      languagebash
      ulimit -a     # to find what exists
      ulimit -n     # to increase; try 1000
    3. After these operations, reconnect the new thin disk to the virtual machine in the same IDE channel.

  4. Before powering on the virtual machine, edit the original 4 network adapters and configure them based on the network.

  5. Power on the VM and run the commands that follow.

  6. When prompted, press Ctrl+C for the Boot Menu.

  7. Select 4 ‘Clean configuration and initialize all disks’ and answer ‘y’ to the two prompts.

  8. Wait for the procedure to complete, which reboots the VSA automatically.

  9. At the node setup screen, type exit to navigate to the prompt.

  10. Login with admin with no password.

  11. Set the password for the admin user: security login password

  12. Proceed with these commands:

    Code Block
    languagebash
    security login unlock -username diag
    security login password -username diag 	# Enter new password twice
    set -privilege diagnostic 				# Press y
    systemshell local 						# Log in with the unlocked diag user
    setenv PATH "${PATH}:/usr/sbin"
    echo $PATH
    cd /sim/dev/,disks
    ls (see all the disks listed)
    sudo rm v0*
    sudo rm v1*
    sudo rm ,reservations
    cd /sim/dev
    vsim_makedisks -h 						# Type 36
    sudo vsim_makedisks -n 14 -t 36 -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/ 								# Now have 4 shelves with 14 disks each, all 9 GB
    exit
    system node halt local
  13. To accommodate the new disks, the containing vmdk disk needs to be expanded. Because the disk is in IDE format, it cannot be expanded live and requires this process:

    1. Power down the appliance.

    2. Remove the disk from the VM without deleting it.

    3. Edit the .vmdk descriptor file in the command line and change ddb.adapterType from "ide" to "lsilogic"

    4. Add the disk to the VM. Because it is now listed as SCSI, expand the disk to 550GB (to accommodate the additional shelves and disks created).

    5. Remove the vmdk from the VM.

    6. Edit the .vmdk descriptor file in the command line and change back ddb.adapterType from "lsilogic" to "ide"

    7. Add for the final time the IDE vmdk to the VM.

  14. With the disk expanded, proceed with these commands:

    1. Power on the SIM.

    2. When prompted, invoke the menu with Ctrl+C.

    3. Select option 5

    4. disk show (disks 0.16 0.17 and 0.18 are assigned for the system aggregate; all other 53 disks should be assigned later).

    5. halt

    6. Power cycle the simulator.

    7. When prompted, press Ctrl+C for the Boot Menu.

    8. Select option 4 and wait for the process to finish, which takes longer with more and larger higher capacity disks.

    9. Configure the node management network as proposed.

    10. Log in with the admin user and run cluster setup

    11. Select to create a new cluster that has a single node cluster, for simplicity.

    12. When prompted, supply the base license in the text file downloaded with the simulator.

  15. Now that the cluster node is running, assign all created disks to the node and configure a second aggregate to hold the data.
    In the command line of the simulator, run these commands:

    Code Block
    languagebash
    system show 										# to retrieve the node name, here dataontap-01
    storage disk assign -all true -node dataontap-01
    system node run -node dataontap-01 options disk.maint_center.spares_check off
    storage aggregate create -aggregate dataontap01_01 -diskcount 53 -nodes dataontap-01 -maxraidsize 28

...