NetApp Data ONTAP – Installing Your Simulator

Installing your simulatorOnce you have downloaded the simulator you are ready to install. First you need a Linux host. Earlier versions of the sim – before 7.0 – required Red Hat 7.1. They would not run on anything else. Since Data ONTAP 7.0 and later the simulator has run on every version of Linux that I have tried. This has included Red Hat, various Red Hat Clones, Suse Linux as well as Debian.

In addition, the system running Linux should have two Ethernet interfaces. They can be real physical interfaces or, if you are running in a vm, they can be virtual interfaces configured as part of the virtual machine.

The reason for this is that Data ONTAP will take control of an interface that will be used for the simulated storage system. At install time it will ask you which interface to use. The default is Eth0. Therefore you will need another interface to communicate to the Linux system. (Usually Eth1, if you accept the default.)

The install:

Once you have downloaded the simulator tgz file from Netapp and copied it to your Linux box, you are ready to begin. The simulator must run with root privileges, so I usually do the entire install with the root account.

Go to the directory were you loaded the simulator file and run the following commands:

gunzip 7.2-tarfile-v22.tgz
tar xvf 7.2-tarfile-v22.tar

The file you downloaded may have a different name. If so, substitute the file names that correspond to the file you downloaded
Usually there is a script called is setup.sh which will create your simulator. Enter the following command:

./setup.sh

This will walk you through the setup.

As you notice from the script output above, you have the option of installing the simulator as a cluster. Later we will make use of this feature, but for now I did not install as a cluster.

Notice we were given an option of which host interface to use. I took the default: Eth0. Generally the default memory size of 128 is adequate but you can assign more if you’d like.

Finally we are given the option of installing more disks. The simulator has 3 disks already, but they are only 100 MB virtual disks. To do anything useful, we will need more space. Although the disks are virtual, the space the take within you Linux host is real, so you may need to adjust this to fit the storage situation on your Linux host.

I added 11 drives, filling out my virtual shelf. I also chose option e for drive size. This is a fairly useful size though you could certainly go large if you wished. As you see, the virtual drives are then created and the script ends.

There is a catch here. The drives created have bad headers. Next time we’ll cover how to repair the drives and your simulator will be ready to do some work.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

2 Responses to “NetApp Data ONTAP – Installing Your Simulator”

  1. John on 23 May 2008 at 5:59 pm #

    Just wanted to thank for your post; I was having problem bringing up the filer after I ran the install; your explanation about the simulator wanting have the second network card all by itself was all it took for me to fixed my problem.
    For whatever reason I modify the .setup-defaults file on the /sim directoy to be eth0 instead of eht1.
    I change that to eth1 ran the set up again and everything work like a charm now.

    Thanks your post.
    Keep it up.

    John

  2. nash on 04 Mar 2009 at 1:49 am #

    hi..hello..
    I just want to know why do we need to use virtual simulation such as virtual PC,VirtualBox and VMWare to install linux?

Trackback URI |

X
Live Chat