A filer in your pocket. Installing a NetApp simulator.

January 30, 2010
By gary

Download a simulator. You will need a NOW (NetApp On the Web) account to download.

http://now.netapp.com/NOW/cgi-bin/simulator

I am using a Linux virtual machine inside Virtual Box, so I connect to that Linux machine and copy over the tarfile, that I downloaded to my mac. An alternative would be do download it from within the VM.

I am going to download the tarfile to /var/tmp, and then do the actual install to /opt/sim.

[root@localhost tmp]# pwd
/var/tmp

Here I am copying the tarfile to the /var/tmp dir.

[root@localhost tmp]# scp gjl@192.168.56.1:~/software/7.3.2-tarfile-v22.tar .
7.3.2-tarfile-v22.tar                                               100%   56MB  14.1MB/s   00:04
[root@localhost tmp]# ls -l
total 57572
-rw-r--r--. 1 root root 58951680 2010-01-30 12:45 7.3.2-tarfile-v22.tar

Now I can un-tar the file (it was already uncompressed).

[root@localhost tmp]# tar xf 7.3.2-tarfile-v22.tar

The tarfile extracts a directory named “simulator” inside this dir is the setup tool

[root@localhost tmp]# cd simulator/

[root@localhost simulator]# pwd
/var/tmp/simulator
[root@localhost simulator]# ls
disks2.tgz  doc          readme.htm  setup.sh  Vmware, Linux and Simulator installation.doc
disks.tgz   license.htm  runsim.sh   sim.tgz

Now i run the setup.sh script

[root@localhost simulator]# ./setup.sh 

Script version 22 (18/Sep/2007)
Where to install to? [/sim]: /opt/sim
Would you like to install as a cluster? [no]:
Would you like full HTML/PDF FilerView documentation to be installed [yes]: no
Continue with installation? [no]: yes
Creating /opt/sim
Unpacking sim.tgz to /opt/sim
Configured the simulators mac address to be [00:50:56:14:bd:36]
Please ensure the simulator is not running.
Your simulator has 2 disk(s). How many more would you like to add? [0]: 12

The following disk types are available in MB:
        Real (Usable)
  a -   43   ( 14)
  b -   62   ( 30)
  c -   78   ( 45)
  d -  129   ( 90)
  e -  535   (450)
  f - 1024   (900)

If you are unsure choose the default option a
What disk size would you like to use? [a]:
Disk adapter to put disks on? [0]:
Use DHCP on first boot? [yes]: no
Ask for floppy boot? [no]:
Your default simulator network interface is already configured to eth1.
Which network interface should the simulator use? [eth1]:
Your system has 435MB of free memory. The smallest simulator memory you should choose is 110MB. The maximum simulator memory is 395MB.
The recommended memory is 512MB.
Your original default appears to be too high. Seriously consider adjusting to below the maximum amount of 395MB.
How much memory would you like the simulator to use? [512]: 350
Create a new log for each session? [no]:
Overwrite the single log each time? [yes]:
Adding 12 additional disk(s).
Complete. Run /opt/sim/runsim.sh to start the simulator.

Since I answered no to the DHCP question, I will need to configure an IP address when I startup the simulator. Let’s do that.

[root@localhost simulator]# /opt/sim/runsim.sh

Here is a copy of my session.

runsim.sh script version Script version 22 (18/Sep/2007)
This session is logged in /opt/sim/sessionlogs/log

NetApp Release 7.3.2: Thu Oct 15 03:13:41 PDT 2009
Copyright (c) 1992-2009 NetApp.
Starting boot on Sat Jan 30 17:53:32 GMT 2010
Sat Jan 30 17:54:17 GMT [iomem.card.fail.fpga.rev:CRITICAL]: Acceleration card (model name X1938A-R5, serial number 5012345670, part number virgo-simulator) on slot 1 has firmware version 1.0 (200905011442), requires 1.1 (200908030903).
Sat Jan 30 17:54:17 GMT [iomem.init.fail:CRITICAL]: Failed to initialize acceleration card (model name X1938A-R5, serial number 5012345670, part number virgo-simulator) in slot 1.
Sat Jan 30 17:54:24 GMT [fmmb.current.lock.disk:info]: Disk v4.16 is a local HA mailbox disk.
Sat Jan 30 17:54:24 GMT [fmmb.current.lock.disk:info]: Disk v4.17 is a local HA mailbox disk.
Sat Jan 30 17:54:24 GMT [fmmb.instStat.change:info]: normal mailbox instance on local side.
Sat Jan 30 17:54:26 GMT [raid.cksum.replay.summary:info]: Replayed 0 checksum blocks.
Sat Jan 30 17:54:26 GMT [raid.stripe.replay.summary:info]: Replayed 0 stripes.
sparse volume upgrade done. num vol 0.
Vdisk Snap Table for host:0 is initialized
Sat Jan 30 17:54:29 GMT [vol.language.unspecified:info]: Language not set on volume vol0. Using language config "C". Use vol lang to set language.
Sat Jan 30 17:54:29 GMT [rc:notice]: The system was down for 8809411 seconds
Sat Jan 30 17:54:29 GMT [useradmin.added.deleted:info]: The role 'compliance' has been added.
Sat Jan 30 17:54:30 GMT [useradmin.added.deleted:info]: The group 'Backup Operators' has been modified.
/etc/rc is missing. Running configuration dialog.

	NetApp Release 7.3.2: Thu Oct 15 03:13:41 PDT 2009
	System ID: 0099910788 ()
	System Serial Number: 987654-32-0 ()
	System Storage Configuration: Multi-Path
	System ACP Connectivity: No Connectivity
	Model Name: Simulator
	Processors: 1
	slot 0: NetApp Virtual SCSI Host Adapter v0
                14 Disks:              0.6GB
		2 shelves with LRC
	slot 1: NetApp Virtual SCSI Host Adapter v1
	slot 2: NetApp Virtual SCSI Host Adapter v2
	slot 3: NetApp Virtual SCSI Host Adapter v3
	slot 4: NetApp Virtual SCSI Host Adapter v4
                14 Disks:              0.6GB
		2 shelves with LRC
	slot 5: NetApp Virtual SCSI Host Adapter v5
	slot 6: NetApp Virtual SCSI Host Adapter v6
	slot 7: NetApp Virtual SCSI Host Adapter v7
	slot 8: NetApp Virtual SCSI Host Adapter v8
                4 Tapes:            VT-100MB
                                    VT-100MB
                                    VT-100MB
                                    VT-100MB
Please enter the new hostname []:

From here on, the process is the same as installing a new filer.

Please enter the new hostname []: pocketsim
Do you want to enable IPv6? [n]:
Do you want to configure virtual network interfaces? [n]:
Please enter the IP address for Network Interface ns0 []: 192.168.56.12
Please enter the netmask for Network Interface ns0 [255.255.255.0]:
Please enter media type for ns0 {100tx-fd, auto} [auto]:
Please enter the IP address for Network Interface ns1 []:
Would you like to continue setup through the web interface? [n]:
Please enter the name or IP address of the IPv4 default gateway: 192.168.56.1
	The administration host is given root access to the filer's
	/etc files for system administration.  To allow /etc root access
	to all NFS clients enter RETURN below.
Please enter the name or IP address of the administration host: 192.168.56.1
Please enter timezone [GMT]: EST
Where is the filer located? []: LinuxVM
What language will be used for multi-protocol files (Type ? for list)?:
language not set
Do you want to run DNS resolver? [n]:
Do you want to run NIS client? [n]:
	The Shelf Alternate Control Path Management process provides the ability
	to recover from certain SAS shelf module failures and provides a level of
	availability that is higher than systems not using the Alternate Control
	Path Management process.
Do you want to configure the Shelf Alternate Control Path Management interface for SAS shelves [n]:
Setting the administrative (root) password for pocketsim ...
New password:
Retype new password:

Do you want to configure the Shelf Alternate Control Path Management interface for SAS shelves [n]:
Setting the administrative (root) password for pocketsim …
New password:
Retype new password:
Sat Jan 30 12:56:41 EST [passwd.changed:info]: passwd for user ‘root’ changed.
Sat Jan 30 12:56:42 EST [dfu.firmwareUpToDate:info]: Firmware is up-to-date on all disk drives
Sat Jan 30 12:56:42 EST [sfu.firmwareUpToDate:info]: Firmware is up-to-date on all disk shelves.
Sat Jan 30 12:56:42 EST [tapemc.alias.addOK:info]: Alias st0 automatically added for tape device WWN[0:042:424200:000000].
Sat Jan 30 12:56:42 EST [tapemc.alias.addOK:info]: Alias st1 automatically added for tape device WWN[0:142:424200:000000].
Sat Jan 30 12:56:42 EST [tapemc.alias.addOK:info]: Alias st2 automatically added for tape device WWN[0:242:424200:000000].
Sat Jan 30 12:56:42 EST [tapemc.alias.addOK:info]: Alias st3 automatically added for tape device WWN[0:342:424200:000000].
Sat Jan 30 12:56:42 EST [netif.linkUp:info]: Ethernet ns0: Link up.
Sat Jan 30 12:56:42 EST [perf.archive.start:info]: Performance archiver started. Sampling 22 objects and 195 counters.
add net default: gateway 192.168.56.1
There are 12 spare disks; you may want to use the vol or aggr command
to create new volumes or aggregates or add disks to the existing aggregate.
Sat Jan 30 12:56:43 EST [snmp.agent.msg.access.denied:warning]: Permission denied for SNMPv3 requests from root. Reason: Password is too short (SNMPv3 requires at least 8 characters).
Sat Jan 30 12:56:44 EST [rc:info]: Registry is being upgraded to improve storing of local changes.
Sat Jan 30 12:56:44 EST [rc:info]: Registry upgrade successful.
Sat Jan 30 12:56:45 EST [mgr.boot.disk_done:info]: NetApp Release 7.3.2 boot complete. Last disk update written at Tue Oct 20 13:50:57 EST 2009
Sat Jan 30 12:56:45 EST [mgr.boot.reason_ok:notice]: System rebooted after a halt command.
This process will enable CIFS access to the filer from a Windows(R) system.
Use “?” for help at any prompt and Ctrl-C to exit without committing changes.

Your filer does not have WINS configured and is visible only to
clients on the same subnet.
Do you want to make the system visible via WINS? [n]:
A filer can be configured for multiprotocol access, or as an NTFS-only
filer. Since multiple protocols are currently licensed on this filer,
we recommend that you configure this filer as a multiprotocol filer

(1) Multiprotocol filer
(2) NTFS-only filer

Selection (1-2)? [1]: 1
CIFS requires local /etc/passwd and /etc/group files and default files
will be created. The default passwd file contains entries for ‘root’,
‘pcuser’, and ‘nobody’.
Enter the password for the root user []:
Retype the password:
The default name for this CIFS server is ‘POCKETSIM’.
Would you like to change this name? [n]:
Data ONTAP CIFS services support four styles of user authentication.
Choose the one from the list below that best suits your situation.

(1) Active Directory domain authentication (Active Directory domains only)
(2) Windows NT 4 domain authentication (Windows NT or Active Directory domains)
(3) Windows Workgroup authentication using the filer’s local user accounts
(4) /etc/passwd and/or NIS/LDAP authentication

Selection (1-4)? [1]: 4
What is the name of the Workgroup? [WORKGROUP]:
CIFS – Starting SMB protocol…
Welcome to the WORKGROUP Windows(R) workgroup

CIFS local server is running.

Password:
pocketsim> Sat Jan 30 12:57:41 EST [console_login_mgr:info]: root logged in from console

pocketsim>

Now I have installed the filer, I can connect to it from outside the Linux VM. In this example "lovebox" is the name of my MacOS laptop (which hosts the Linux VM).

lovebox:~ gjl$ telnet 192.168.56.12
Trying 192.168.56.12...
Connected to 192.168.56.12.
Escape character is '^]'.

Password:
pocketsim> Sat Jan 30 12:58:47 EST [telnet_0:info]: root logged in from host: 192.168.56.1

pocketsim>
pocketsim>

Leave a Reply