You are on page 1of 30

Netapp simulator 7.

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

Copyright © 2008 www.tendam.info Page 3

drs. In most cases you might need shared storage to test things like vmotion.3 version of the simulator is that it provides us the De-duplication feature.info Page 4 . The cool thing of the 7.Introduction When you are new to virtualization and Netapp or you want to test VMware’s enterprise features with Netapp. and maybe even dpm. providing approx 25 gb of virtual storage to your esx environment for testing purposes.tendam. As you can see you can do all the stuff (except for hardware like FC) a regular Netapp appliance can do. You can even provide more Netapp simulators as you want and replicate data between them. 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! Copyright © 2008 www. it is hard to make hardware available which does not interrupt your production environment if something goes wrong with your test setup. installing ESX in workstation is a great thing to test all kind of features ESX provides. Since someone has developed a ESX in a Box configuration. This is where the Netapp simulator comes in and provides a virtual Netapp environment.

I used VMware Workstation 6. The hardware To run the simulator there is no need for a high performance server. so everyone can get in touch with Netapp technologies. or something like that with at least 2 gb of ram and VMware workstation will do fine. Copyright © 2008 www.tendam. A laptop with windows XP. just like other storage company provide there virtual appliances. It is like a base document. In fact the simulator does not provide the throughput of a real Netapp. I provide this document as a start for projects that are posted on my site. However. I used a 6 gb ram host. The simulator is only available to customers and partners from Netapp! I hope that Netapp will change this barrier.5. if you want to run multiple esx servers along with the simulator I recommend to use at least 4 gb of free ram. The simulator will run perfectly on a Ubuntu workstation installation provided with 512mb ram.What you need To run the simulator you need a linux host. it provides you information about the simulator before you have to download this from the Netapp site.1 on my Windows xp laptop with 2048 mb ram. This document is a kind of a quick install guide. You can also install the simulator on a low profile desktop with a linux distribution. 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. And on the other side. The software As mentioned before.info Page 5 . You are more flexible to install it in a Virtual Machine. there are enough documents to get you started. For another configuration with multiple esx servers and windows 2003 servers. The documents Inside the simulator iso.

This will comfort your work with the Ubuntu installation. 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 Page 6 .0 for all servers. Time Ubuntu and the simulator are setup within an hour.tendam. For performance simulations you will need a real Netapp! Network The network configuration in this setup is kept simple.168. VMware tools You might want to install the vmware tools inside your Ubuntu vm.3. I will use a simple subnet like 192.ASSUMPTIONS A Real World reflection This simulator will not provide you the same performance as a real production Netapp appliance. Copyright © 2008 www.info.

com Create a virtual machine with 35 GB hard disk space and 512 mb ram in VMware workstation. Get a free copy of Ubuntu desktop version 8. Download the simulator 7. At step 5 be sure to check the following checkbox for your ease of use: Click next and finish to start the installation.ubuntu.10 at http://www.3 version iso at http://now. Connect the Ubuntu iso and boot from the iso. Remove all the unneeded hardware like usb controllers. floppy drive etc.com/getubuntu/download It is approx 700 mb in size.The begin of installation.tendam. Copyright © 2008 www.info Page 7 . Choose the English language and next choose to install Ubuntu: Choose the right thing which suites your needs like time zone and keyboard settings and leave all other at the default setting.netapp.

to create a root password. choose accessories and right click on “Terminal” and finally choose “Add this launcher to desktop” Double click the terminal icon to start the command line: Type “Sudo passwd”.info Page 8 .When your Ubuntu VM is started you have to create a terminal launcher on your desktop: Click in the top menu on Applications. Copyright © 2008 www. Type the password twice and press enter.tendam.

Now you are root.tendam. You will see a file named setup. This will install the Simulator. As you can see the maximum is 25 disks of 1024 MB size. When you want additional simulators you just have to run the installation again and provide another directory to store the simulator. The first three answers can be answered by default. followed by the password you just created. Type “ls” to show the content of the cdrom.Connect the Simulator ISO to your Ubuntu VM in Worksation. Copyright © 2008 www. We have to walk to the cdrom by typing: “cd /media/cdrom” .sh. the simulator will be unpacked and installed at the location you provided.sh” to run the install. You will be asked about how many drive you like to add./setup. The last question will be of course “Yes” At this time. Just type “. (default= /SIM). Type in 25 and choose f to add the disks. Type “su –“ to change to the root user.info Page 9 .

Right click on your desktop and choose create launcher: Create a launcher with the same information in this screenshot: Copyright © 2008 www.info Page 10 .tendam.For you ease of use we create a launcher for the simulator on your desktop.

This is described in the Simulator documentation.tendam.When you press ok a icon is installed on your desktop. Copyright © 2008 www. Enter the root password when asked: You can set this up to start automatic when the Ubuntu starts. Double click to start the simulator.info Page 11 .

Choose an IP which suites your environment: You are not finished right now. be sure to provide at least 9 characters. several questions will be asked.info Page 12 .When the simulator has started. it wil aske you several questions. Just fill it out like this example.tendam. If you want to test snmp. Copyright © 2008 www.

but provide a password when asked for. When asked for a selection 1-4 choose 3 for Workgroup as default and press enter.tendam.info Page 13 .We are almost ready. Cifs is starting and you must provide a local administrator password twice: Now you are finished with this first setup. You can leave everything default and just press enter. Copyright © 2008 www.

When you get an error about the http license just click the link.info Page 14 .tendam. After this we need to add the created 25 disks to the aggregate before we can use them. The license keys show up. As we can see the asis and nearstore license are not included. Now click on the simulator Documentation button: Now we have to open the license link in a new tab/windows. Copyright © 2008 www. We do this so we can copy and paste the license in the license fields of the simulator. 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.Add licenses in Filer View Now we have installed the simulator we have to add licenses to provide functionality. This was a mistake made by the simulator team from Netapp.

NFS and ISCSI are used for connection to ESX. Some licenses maybe already there by default. Just copy and paste them in to the correct fields and click apply. Click on Filer and next on Manage licenses.info Page 15 . Cifs is used for a samba share and asis and nearstore are used to enable de-duplication (discussed in another document later) You can copy and paste them in the license fields in filerview. Copyright © 2008 www.I sorted this out and in the next table you see the licenses we need to setup the simulator with VMware ESX.tendam. License Key Purpose asis CABCNWF Use this license to enable De-duplication cifs DZDACHD Use this license to setup the CIFS protocol http NAZOMKC Use this License to setup the HTTP protocol (filerview) iscsi BSLRLTG Use this License to setup iSCSI protocol with ESX nearstore_option UFGGIDE Netapp forgot to add this license key in the documentation nfs BQOEAZL Use this License to setup NFS protocol Now go back to the first page (press back in your browser) and click on the filerview button: A popup window appears. Now we can add the licenses we need.

tendam. You reach the Number of Disks page. Click on aggr0. We add them to the aggr0. The wizards starts.info Page 16 . Select 24 disks.Add disks Now we need to add the disks to the aggregate before we can use them. When you are at the properties page. click the “Add Disks” button.) Copyright © 2008 www. click next on the three first screens. This is the maximum. (You need a spare per Aggregate. Click in filerview at “Aggregates” and click manage.

tendam. Hit the “Generate Keys button” Copyright © 2008 www.info Page 17 .Click the commit button to add them to the aggregate: You will get a notification: Click close. Click in Filerview at Secure Admin and click SSH and next at Configure. Now we need to setup SSH so we can connect with a SSH client like putty portable.

tendam.info Page 18 .Click ok at the warning message: A message appears with the following text. Otherwise select it and click apply. Copyright © 2008 www. Click on enable in the text message: As you see SSH is enabled by default.

info Page 19 .Enable ISCSI Before we can use ISCSI with ESX we must enable this in the LUN menu.tendam. A success message appears Copyright © 2008 www. Check the Enable box for iSCSI and click apply. Click at LUNs and next on “enable/disable”.

Give the LUN a name en click next: Copyright © 2008 www.tendam. Click on Volumes in filerview and click add: In the next section. choose Flexible (default) and click next.info Page 20 .Add a Volume for a LUN Now we need to add a Volume first before we can create an ISCSI LUN.

You could use any size up to the max size.info Page 21 .Change theVolume size from 20 MB to 10 GB and set the snapshot reserve to zero. Create an iSCSI LUN In the LUN’s section click add On the right screen on top click Add New LUN Copyright © 2008 www. Click next and commit.tendam.

Copyright © 2008 www.tendam. Uncheck space reservations.Fill out the form as I did below. 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.info Page 22 . Click add. We don’t need it right now.

Copyright © 2008 www.Type the name off the group you want. click storage adapters.tendam. Connect to the virtual center server with the client and click the configuration tap at the host. We will find it first on the next step. The type should be iscsi. click the iSCSI software adapter and finally click properties.info Page 23 . In initiators we need the iscsi name off the esx server. To find this name we have to enable ISCSI on the esx server.

Now you have to click Configure and check the Enabled checkbox en click ok. In the progress pane you see it is doing something: Copyright © 2008 www.tendam.info Page 24 .

info Page 25 .tendam. On top of the screen you see the message: Copyright © 2008 www.Now select the iscsi name en press ctrl+c Paste the name in the initiators field and click add.

tendam. Now click on [Map LUN] Copyright © 2008 www. In filer view click on manage LUNS.Now we need to go back and enter the Netapp which we will connect to at the Dynamic Discovery tab: Click ok.info Page 26 . and click on the LUN to manage/map. Now we need to map the LUN to the initiator group.

info Page 27 .tendam. Select the adapter and click rescan.Click on: Choose the right lun and click add to ]. Click ok on the Rescan dialog box Copyright © 2008 www. Click apply to map the LUN In the Virtual center client we have to rescan the iscsi software adapter to connect to the LUN.

Select it and click2 times next: Copyright © 2008 www.tendam.This will take a few seconds to complete: As a result we now can see the attached LUN: 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. You see the LUN you have created just a few minutes ago.info Page 28 . Leave the check box at the default and click next.

info Page 29 .Type a data store name and click next: Again. this will take some time: If you have enough patience and did not throw stuff to your server you will see the storage attached to your server.tendam. Copyright © 2008 www.

Now we have installed a basic setup for the Netapp simulator with an ESX server. Copyright © 2008 www. This is a base guide which enables us to build other cool stuff on top of this setup. I will point to this document when starting or building other objects.info Page 30 .tendam.