NetApp Data ONTAP - Final Steps Simulator Disks
Jun 20th 2008Unitek NetApp BlogUncategorized
Your Netapp simulator is now operational, but there are still a couple of things to do.
As it sits, you have not configured the network. The Linux window where you have been working is effectively the console. This is the window where you ran the command:
/sim/runsim.sh
This may be a window in your Linux GUI, or it may be a telnet window. Remember, if you close this window the process associated with your simulator will be killed, so you must keep this window open. If you are ever in doubt about the status of your simulator process you can use the following command:
ps –ef | grep maytag.L

You should see a line which includes the word “maytag.L” plus the command line options which are passed to the maytag command through the runsim.sh script. This is the simulator process running within Linux.
From your simulator’s command line enter the following command:
ifconfig –a
You should see something like this, except you may not have addresses in place.

Notice the name of the network devices. Normally you would see device names like e0a. The simulated Ethernet ports are named ns0 and ns1. Although the names are different, they are configured just like normal Data ONTAP network devices.
At this point we are ready to run the setup command. Just like a real Netapp storage system, the setup script will be start automatically if there is no /etc/rc file on your storage controller. It will walk you through setting up your network configuration.
Initially you will be prompted to name your storage system. Then you will be asked if you want to setup virtual interfaces. I usually answer no to this question. You will then be asked for the address of ns0 and its net mask, followed by the same information for ns1. You will need to provide the appropriate information for your network environment. It is not necessary to configure ns1 at this point if you don’t want to.
Next you are asked if you want to continue configuration to the web interface. I usually answer no and continue with the command line. You will be asked for a default gateway address. Enter the correct gateway, or default router, for your environment.
Then you will be asked for the address of your administrative host. This is the computer from which you intend to administer your storage system. It can be either a Windows or a UNIX host machine. The script will add this machine as a trusted host in the /etc/hosts.equiv file.
You will be asked to enter your time zone and language. You can make selections appropriate for your environment.
We are almost to the end. You will be asked if you want to run the DNS resolver. I usually answer this yes. Finally you wild be asked for your DNS domain name and be given the opportunity to enter up to three name servers. Last you will be asked if you want to run NIS. At this time, enter no.
Your setup is complete.
