Installation notes: Ontap Simulator on Ubuntu 6.06 LTS on ESX
Installation Notes: NetApp Data Ontap Simulator on Ubuntu Server 6.06 LTS, on ESX
1. Install Ubuntu 6.06 LTS from an ISO. Make the virtual disk 20 gb for 1 simulator and 30 gb if you plan to run two.
The NOW site has a good step by step guide here (NOW login required). This guide is more oriented to a VMware workstation or Server installation, and only covers Ubuntu workstation. The only gotcha is you need to go into ESX and configure the Vswitch to allow promiscuous mode. Put the Ontap simulator on it's own dedicated Vswitch if this is a concern.
2. You could probably run the Ontap simulator without a desktop or X, but I like the GUI because I use the box for more than just the sim. Just issue the command sudo apt-get install ubuntu-desktop.
3. Update the Ubuntu OS install.
4. Install the simulator. For ESX you should download the ISO version from NetApp, map the ISO to the guest and follow the installation instructions..
Performance
How to best describe the performance... molasses flowing uphill in Toronto in January? OK, that's a little harsh. Needless to say, performance is not why you use the ontap simulator. If you want performance, buy a toaster or try OpenFiler.
Running two simulators on 1 Linux guest OS
1. This was really easy to do, just copy the sim files into a new directory sudo cp -r /sim/* /sim2/ .
2. From the new directory run setup.sh . Then start the simulator and run setup, fix the hostname and IP address and you can probably keep all your other options.
Resizing the VMware guest OS
I didn't plan initially on running 2 ontap simulators on one Linux install, but once I figured out how easy it was I couldn't resist. Here's how to increase the size of an installed guest OS on ESX.
1. Shut down the guest OS. SSH into the ESX server and run vmkfstools -X 20g /vmfs/volumes/Storage1/myVirtualServer/myVirtualServer.vmdk .
2. Download the gparted liveCD here. This is a 50 mb size live boot Linux CD running the 2.6 kernel with GParted. Boot it up, then expand the VMware virtual disk partition to the size you want. You will probably have to blow away the swap partition, so recreate it at the end of your new partition.
3. After rebooting Linux, you will need to reconfigure the swap partition. You can confirm it's there or not by running top, if it shows swap 0k total/free/used/cached, then you need to put your swap partition back.
A. Runfdisk -l, you should see a partition like /dev/sda2 or /dev/hda2 called Linux swap.
B. Dosudo mkswap /dev/sda2andsudo swapon /dev/sda2to make and turn on the swap drive. Thats it.
I've also heard you can use VMware Converter Enterprise edition to resize a guest machine, so I'll try that one next time.

The 411 on testing Exchange 2007 »
Search