Netapp Simulator 7.3: Installing The Netapp Simulator in A Ubuntu 8.10 Desktop Distribution
Netapp Simulator 7.3: Installing The Netapp Simulator in A Ubuntu 8.10 Desktop Distribution
Netapp Simulator 7.3: Installing The Netapp Simulator in A Ubuntu 8.10 Desktop Distribution
3
Installing the Netapp Simulator in a Ubuntu
8.10 desktop distribution
This document describes how to install Netapp Simulator 7.3 in a version 8.10
Ubuntu desktop distribution and prepare for connections to ESX 3.5.
Version 1.0
|December2008
| Tomas ten Dam
|www.tendam.info
Copyright © 2008 www.tendam.info Page 2
Table of Contents
Introduction .................................................................................................................................................. 4
What you need.............................................................................................................................................. 5
The hardware ............................................................................................................................................ 5
The software ............................................................................................................................................. 5
The documents ......................................................................................................................................... 5
ASSUMPTIONS .............................................................................................................................................. 6
A Real World reflection ............................................................................................................................. 6
Network .................................................................................................................................................... 6
Time .......................................................................................................................................................... 6
Me myself and I......................................................................................................................................... 6
VMware tools ............................................................................................................................................ 6
The begin of installation. .............................................................................................................................. 7
Add licenses in Filer View............................................................................................................................ 14
Add disks ..................................................................................................................................................... 16
Enable ISCSI ................................................................................................................................................. 19
Add a Volume for a LUN.............................................................................................................................. 20
Create an iSCSI LUN .................................................................................................................................... 21
This is where the Netapp simulator comes in and provides a virtual Netapp environment, providing
approx 25 gb of virtual storage to your esx environment for testing purposes. You can even provide
more Netapp simulators as you want and replicate data between them.
The cool thing of the 7.3 version of the simulator is that it provides us the De-duplication feature. As you
can see you can do all the stuff (except for hardware like FC) a regular Netapp appliance can do. In fact
you can even setup a clustered simulator!
And as I always preach: If you want to know how thinks work, just do it!
The hardware
To run the simulator there is no need for a high performance server. In fact the simulator does not
provide the throughput of a real Netapp. A laptop with windows XP, or something like that with at least
2 gb of ram and VMware workstation will do fine. However, if you want to run multiple esx servers along
with the simulator I recommend to use at least 4 gb of free ram. For another configuration with multiple
esx servers and windows 2003 servers, I used a 6 gb ram host.
You can also install the simulator on a low profile desktop with a linux distribution.
The software
As mentioned before, I used VMware Workstation 6.5.1 on my Windows xp laptop with 2048 mb ram.
The simulator will run perfectly on a Ubuntu workstation installation provided with 512mb ram.
You will need a connection from your client or another linux/windows client (or the same client on
which the simulator is installed) to connect with your internet browser and or ssh client (like putty)
Although everything can be achieved with the command line from the console.
The simulator is only available to customers and partners from Netapp! I hope that Netapp will change
this barrier, so everyone can get in touch with Netapp technologies, just like other storage company
provide there virtual appliances.
The documents
Inside the simulator iso, there are enough documents to get you started. This document is a kind of a
quick install guide.
I provide this document as a start for projects that are posted on my site. It is like a base document. And
on the other side, it provides you information about the simulator before you have to download this
from the Netapp site.
This simulator will not provide you the same performance as a real production Netapp appliance. For
performance simulations you will need a real Netapp!
Network
The network configuration in this setup is kept simple. I will use a simple subnet like 192.168.3.0 for all
servers.
Time
Me myself and I
I am not a frequent English speaker/writer so please do not judge me on my “bad” English. If you see
any mistakes please feel free to contact me: tomas@tendam.info.
VMware tools
You might want to install the vmware tools inside your Ubuntu vm. This will comfort your work with the
Ubuntu installation.
Create a virtual machine with 35 GB hard disk space and 512 mb ram in VMware workstation. Remove
all the unneeded hardware like usb controllers, floppy drive etc.
Choose the right thing which suites your needs like time zone and keyboard settings and leave all other
at the default setting. At step 5 be sure to check the following checkbox for your ease of use:
Type “Sudo passwd”, to create a root password. Type the password twice and press enter.
Type “su –“ to change to the root user, followed by the password you just created. Now you are root.
We have to walk to the cdrom by typing: “cd /media/cdrom” . Type “ls” to show the content of the
cdrom. You will see a file named setup.sh. This will install the Simulator. Just type “./setup.sh” to run the
install. The first three answers can be answered by default. The last question will be of course “Yes”
At this time, the simulator will be unpacked and installed at the location you provided. (default= /SIM).
When you want additional simulators you just have to run the installation again and provide another
directory to store the simulator. You will be asked about how many drive you like to add. As you can see
the maximum is 25 disks of 1024 MB size. Type in 25 and choose f to add the disks.
You can set this up to start automatic when the Ubuntu starts. This is described in the Simulator
documentation.
You are not finished right now, several questions will be asked. If you want to test snmp, be sure to
provide at least 9 characters.
Cifs is starting and you must provide a local administrator password twice:
Now we have installed the simulator we have to add licenses to provide functionality. After this we need
to add the created 25 disks to the aggregate before we can use them.
Start your internet browser on a client which can access your Netapp appliance trough tcp and type in
the ip number you gave to your Netapp simulator.
When you get an error about the http license just click the link.
Now we have to open the license link in a new tab/windows. We do this so we can copy and paste the
license in the license fields of the simulator.
The license keys show up. As we can see the asis and nearstore license are not included. This was a
mistake made by the simulator team from Netapp.
Now go back to the first page (press back in your browser) and click on the filerview button:
A popup window appears. Click on Filer and next on Manage licenses. Now we can add the licenses we
need. Just copy and paste them in to the correct fields and click apply. Some licenses maybe already
there by default.
Now we need to add the disks to the aggregate before we can use them. We add them to the aggr0.
Click in filerview at “Aggregates” and click manage. Click on aggr0. When you are at the properties page,
click the “Add Disks” button.
You reach the Number of Disks page. Select 24 disks. This is the maximum. (You need a spare per
Aggregate.)
Now we need to setup SSH so we can connect with a SSH client like putty portable. Click in Filerview at
Secure Admin and click SSH and next at Configure.
A message appears with the following text. Click on enable in the text message:
As you see SSH is enabled by default. Otherwise select it and click apply.
Before we can use ISCSI with ESX we must enable this in the LUN menu. Click at LUNs and next on
“enable/disable”. Check the Enable box for iSCSI and click apply. A success message appears
Now we need to add a Volume first before we can create an ISCSI LUN. Click on Volumes in filerview and
click add:
If you did this the right way, on top off your screen the following message is displayed:
Now we have to add an initiator group. Click on initiator groups and then add.
To find this name we have to enable ISCSI on the esx server. Connect to the virtual center server with
the client and click the configuration tap at the host, click storage adapters, click the iSCSI software
adapter and finally click properties.
Now we need to map the LUN to the initiator group. In filer view click on manage LUNS, and click on the
LUN to manage/map.
In the Virtual center client we have to rescan the iscsi software adapter to connect to the LUN. Select
the adapter and click rescan. Click ok on the Rescan dialog box
Now we have to add the storage to the ESX server: Click on the left side on Storage and next on the
upper left: Add Storage. Leave the check box at the default and click next.
You see the LUN you have created just a few minutes ago. Select it and click2 times next:
If you have enough patience and did not throw stuff to your server you will see the storage attached to
your server.