DataONTAP 8.x Simulator Golden Image Setup Procedure

Download NetApp DataONTAP 8.x clustered ONTAP simulator from
https://support.netapp.com

  1. Modify DataONTAP.vmx file with
  • Hostname
  • Network Ports = 8
  • # Add pciBridge Parameters to .vmx file

  •     pciBridge0.present = “TRUE”
        priBridge4.present = “TRUE”
        pciBridge4.virtualDev = “pcieRootPort”
        pciBridge4.functions = “8”
        priBridge5.present = “TRUE”
        pciBridge5.virtualDev = “pcieRootPort”
        pciBridge5.functions = “8”
        priBridge6.present = “TRUE”
        pciBridge6.virtualDev = “pcieRootPort”
        pciBridge6.functions = “8”
        priBridge7.present = “TRUE”
        pciBridge7.virtualDev = “pcieRootPort”
        pciBridge7.functions = “8”

  1. Open the Virtual Machine in VMWare Fusion/Workstation
  2. Open VMWare Fusion/Workstation and add 4 new Network Adapters to the NetApp simulator appliance
  3. Check the following
  • network ports 0 & 1 in “Private” network
  • network ports 2 to 6 in “NAT network”
  1. Power on the Virtual Machine – NetApp Simulator appliance
  2. Break the Boot Sequence and verify the Serial Number (in case of node 2 change the serial number)
  • Press Space Bar when the appliance starts
  • VLOADER> setenv SYS_SERIAL_NUM 4034389-06-2
  • VLOADER> setenv bootarg.nvram.sysid 4034389062
  • VLOADER> printenv SYS_SERIAL_NUM
  • VLOADER> printenv bootarg.nvram.sysid
  1. Boot up
  • VLOADER> boot
  1. Create routing-group, route, lif for the node-mgmt lif on port e0c
  2. Create admin user ssh login

  ::> set advanced

  ::*> security login create -user-or-group-name admin -application ssh -authmethod password -role admin

  1. Create password for admin user

  ::*> security login password -username admin –vserver Default

  1. Unlock diag user and create a password for the diag user

  ::> security login unlock -username diag
  ::> security login password -username diag
  Please enter a new password: *********
  Please enter it again: *********

  1. Create new disks in the System shell for ports 2 and 3

From advanced mode, log in to the system shell using the diag user account by entering the system node systemshellcommand:
  ::> storage disk show
  ::> set -privilege advanced
  ::*> system node systemshell –node localhost
  login: diag
  Password: *********
 
  % setenv PATH “${PATH}:/usr/sbin”
  % echo $PATH
  /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local /bin:/var/home/diag/bin:/usr/sbin
 
  % cd /sim/dev
  % ls ,disks
  ,reservations
  Shelf:DiskShelf14 v0.16:NETAPP__:VD-1000MB-FZ-520:11944700:2104448  
 
  % vsim_makedisks -h
  % sudo vsim_makedisks -n 14 -t 35 -a 2
  Creating ,disks/v2.16:NETAPP__:VD-500MB-SS-520_:19143800:1080448 …
  Creating ,disks/v2.32:NETAPP__:VD-500MB-SS-520_:19143813:1080448 Shelf file Shelf:DiskShelf14 updated
 
  % sudo vsim_makedisks -n 14 -t 37 -a 3
Verify the disks you added in step 6 (and optionally step 7) by entering this ls command:
  % ls ,disks/
 
Reboot the simulater to make the new disks available by entering these commands:
  % exit

  1. Reboot the node

  ::*> system node reboot –node localhost
Warning: Are you sure you want to reboot the node? {y|n}: y

  1. Make sure the new disks are detected

  ::> storage disk show

  1. Replace the existing root aggregate disks with new bigger disks

      disk replace start –f <old_disk> <new_disk>

  1. Verify the root aggregate has new disks and old disks appear as spares
  2. Options disk.auto_assign off
  3. disk remove_ownership v0* and disk remove_ownership v1*

  
    > disk assign v0.16 -s unowned -f
    > disk assign v0.17 -s unowned -f
    > disk assign v0.18 -s unowned -f

  1. Delete disks v0* and v1* from systemshell

  
    systemshell
    login: diag
    Password: *********
    setenv PATH “${PATH}:/usr/sbin”
    cd /sim/dev/,disks
    ls
    sudo rm v0*
    sudo rm v1*
    sudo rm ,reservations
    cd /sim/dev
    sudo vsim_makedisks -n 14 -t 31 -a 0
    sudo vsim_makedisks -n 14 -t 31 -a 1
    exit
    reboot
     

  1. Verify all the disks are bigger disks and total network ports are 8

Leave a Reply

Your email address will not be published. Required fields are marked *