NetApp Simulator 8.1.2 Cluster Mode Installation Walkthrough

Step 1: Download the Simulate ONTAP 8.1.2 C-mode Binaries

From http://now.netapp.com/NOW/cgi-bin/simulator using your NetApp NOW login.

Image: Simulate ONTAP 8.1.2 C-mode link

The C-mode download currently comes packed as a TGZ file – vsim-DOT812-cm.tgz – use 7-zip (www.7-zip.org) or similar to unpack to vsim-DOT812-cm.tar and then unpack again to get to reveal the vmx and vmdk files.

Image: vsim-DOT812-cm files

Step 2: Open the Simulator in VMware Workstation

VMware Workstation > File > Open…

Image: Importing SIM in VMware Workstation

Navigate to the DataONTAP.vmx file and click Open

Image: DataONTAP.vmx

Rename the imported machine as desired and edit the Virtual Machine Settings to disconnect Serial Ports and place Network Adapters on preferred networks (you might also want to increase the memory from the default 1.6 GB).

Step 3: Initial Configuration

Power on the Cluster Mode Simulator
Press Ctrl-C for Boot Menu when the prompt appears

Image: Press Ctrl-C for Boot Menu

Select option 4 to ‘Clean configuration and initialize all disks.’

Image: Boot Menu Options

Zero disks, reset config and install a new file system?: y
This will erase all the data on the disks, are you sure?: y

Wait for the wipeconfig request to complete.

Welcome to the cluster setup wizard.
You can enter the following commands at any time:
help” or “?” – if you want to have a question clarified
back” – if you want to change previously answered questions, and
exit” or “quit” – if you want to quit the cluster setup wizard (and Ctrl-c)
Any changes you made before quitting will be saved.

You can return to cluster setup at any time by typing “cluster setup”.
To accept a default or omit a question, do not enter a value.

Do you want to create a new cluster or join an existing cluster? {create, join}: create

System Defaults:
Private cluster network ports [e0a,e0b].
Cluster port MTU values will be set to 1500.
Cluster interface IP addresses will be automatically generated.

Do you want to use these defaults? {yes, no} [yes]:

It can take several minutes to create cluster interfaces…

Step 1 of 5: Create a Cluster
Enter the cluster name: sim
Enter the cluster base license key: JWFJEXMWZWYQSD

Creating cluster sim …..
Cluster sim has been created.

Step 2 of 5: Add Feature License Keys
Enter an additional license key []:

Here we can enter the SIM license keys as below (with base already having been entered). Each license code has a Node Count of 2.

License Code (Service)
JWFJEXMWZWYQSD (Base)         
FAXQGXMWZWYQSD (CIFS)
RUUFHXMWZWYQSD (SnapRestore)       
PJQJIXMWZWYQSD (NFS)
BEOYIXMWZWYQSD (SnapMirror_DP)
DPSUHXMWZWYQSD (FlexClone)
TFZBGXMWZWYQSD (FlexVol_HPO)
NYLNJXMWZWYQSD (iSCSI)
LNHRKXMWZWYQSD (FCP)

And when there are no more left to input (or that you want to input), hit the enter key for the next prompt

Step 3 of 5: Set Up a Vserver for Cluster Administration
Enter the cluster administrator’s (username “admin”) password:
Retype the password:
Enter the cluster management interface port [e0c]:
Enter the cluster management interface IP address: 10.0.0.50
Enter the cluster management interface netmask: 255.255.255.0
Enter the cluster management interface default gateway: 10.0.0.2

A cluster management interface on port e0c with IP address 10.0.0.50 has be created. You can use this address to connect to and manage the cluster.

Enter the DNS domain names: ace.priv
Enter the name server IP addresses: 10.0.0.7
DNS lookup for the admin Vserver will use the ace.priv domain.

Step 4 of 5: Configure Storage Failvoer (SFO)
SFO is licensed.
SFO will be enabled when the partner joins the cluster.

Step 5 of 5: Set Up the Node
Where is the controller located []: lab
Enter the node management interface port [e0c]:
Enter the node management interface IP address: 10.0.0.51
Enter the node management interface netmask: 255.255.255.0
Enter the node management interface default gateway: 10.0.0.2
… system will send event messages and weekly reports to NetApp … to disable … enter “autosupport modify –support disable” …
Press enter to continue []:

Cluster setup is now complete. To begin storing and serving data on this cluster, you must complete the following additional tasks if they have not already been completed:
1) Join additional nodes to the cluster by running "cluster setup" on those nodes.
2) If in a HA configuration, verify that storage failover is enabled by running the "storage failover show" command.
3) Create a Vserver by running the "vserver setup" command.

You can access your cluster to complete these tasks by:
1) Using the NetApp System Manager to manage cluster sim at 10.0.0.50. NetApp System Manager must be at version 2.0 or above.
2) Logging in to the cluster by using SSH (secure shell) from your work station: ssh admin@10.0.0.50

Exiting the cluster setup wizard.

Cluster setup complete!

Note: For the 8.1 7-mode Step-by-Step Setup Guide see http://cosonok.blogspot.com/2011/12/netapp-simulator-81-walkthrough-setup.html

Appendix: Commands revealed by a ? run from the top-level directory

sim::> ?
  up                     Go up one directory
  antivirus>             Manage antivirus
  cluster>               Manage clusters
  dashboard>             Display dashboards
  event>                 Manage system events
  exit                   Quit the CLI session
  history                Show the history of commands for this CLI session
  job>                   Manage jobs and job schedules
  lun>                   List LUN (logical unit of block storage) commands
  man                    Display the on-line manual pages
  network>               Manage physical and virtual network connections
  redo                   Execute a previous command
  rows                   Show/Set the rows for this CLI session
  run                    Run interactive or non-interactive commands in the node shell
  security>              The security directory
  set                    Display/Set CLI session settings
  sis                    Manage volume efficiency
  snapmirror>            Manage SnapMirror
  statistics>            Display operational statistics
  storage>               Manage physical storage, including disks, aggregates, and failover
  system>                The system directory
  top                    Go to the top-level directory
  volume>                Manage virtual storage, including volumes, snapshots, and mirrors
  vserver>               Manage Vservers

Comments

  1. good tutorial! thanks!

    ReplyDelete
  2. Hello,

    Thanks for this blog, very helpfull.

    I try to install SIM to build a metro cluster plus sync mirror (7 mode).
    It seems impossible as long as CFO/SFO are not supported in SIM 8x.

    But I was wondering how to set up a simple HA plus sync mirror ?
    I tried a 7.3.6 SIM version but sync_mirror can't be licensed.

    Does it make sense (and is it possible) to create a SIM with 2 heads in Cluster Mode adding the sync mirror feature in order to play with aggregates, P0 and P1 ?

    Many thanks

    ReplyDelete
    Replies
    1. Alas, the (otherwise excellent) 8.+ SIM does not allow HA. You can use syncmirror in the 7-Mode SIM no problem, just local to one node though.

      Regards Cluster Mode, there's no syncmirror. MetroCluster functionality is targeted for Clustered ONTAP 8.3.

      Delete
  3. thanks to helping us.........given command are very helpful while we are process to base learning & Technical Setup
    Satendra S

    ReplyDelete

Post a Comment