|
|
|||
|
||||
See the System Requirements to ensure you meet the requirements before installing. These instructions have been written with RedHat in mind so your Linux environment might force changes (e.g. different cdrom mount point)
[root@localhost /root]# mount /mnt/cdrom [root@localhost /root]# cd /mnt/cdrom [root@localhost cdrom]#
If you downloaded the .tgz format you’ll need to unpack it into a directory.
[root@localhost /root]# tar xvfz 641simulator-tarfile.tgz
[root@localhost /root]# cd simulator
[root@localhost simulator][root@localhost cdrom]# ./setup.sh Script version X (Jul/2003)
Where to install to? [/sim]:
This is asking where to install
a new simulator. If you press enter you’ll get the default of /sim, otherwise
choose a new directory. Do not install into the / root directory! If the directory
already exists and doesn’t appear to contain a simulator then you will be
asked:
<directory> already exists. This may overwrite files. Are you sure? [no]:Only say
yes if you are sure that the directory that you are installing into
doesn’t contain anything useful.
When installing if you choose a directory that already has a simulator installed it will ask you if you want to upgrade it. See Upgrading a Simulator.
Would you like to install as a cluster? [no]:yes. Otherwise
(and normally) you want to choose the default answer. See below for
additional notes on clustering.Install full HTML/PDF documentation installed? [yes]:no you will still get the “man” pages and
FilerView. Adding full documentation will require an additional ~130MB of disk
space.Continue with the installation [no]:yes. The installation
will start. E.g. I chose the default /sim. Here is the output.
Creating /sim Unpacking sim.tgz to /sim Configuring the simulators mac address to be [be:ef:74:b0:5:e1]
At this point the simulator is installed and you are now walked through the
simulator configuration steps.
./setup.sh.
Regenerate MAC address? [no]yes here.Use DHCP on first boot? [yes]:yes.
Ask for floppy boot? [no]:yes otherwise for normal use say no.Which network interface should the simulator use? [default]:eth0 and eth1) then you can tell the simulator what network interface you want
it to start against. This is especially useful if you have 2 interfaces on
the same subnet – choose the interface that isn’t the default
route (e.g. eth1).
If you aren’t sure leave as default and the simulator will choose
an interface (usually eth0).
How much memory would you like the simulator to use? [128]:top or vmstat to get an idea of the memory usage when
it’s running.
For a cluster you should give each node 2x the amount you think each nodes needs. For example if you want to give 80MB to a node really give 160MB so that on a failure the surviving node can function correctly. This means that while both nodes are running you’ll use up a lot of physical memory so make sure your system has enough spare to cope.
Create a new log for each session? [no]:yes you’ll be given a new log file each time with a semi-random
filename based on the number of seconds since 1970. Otherwise you’ll
be opting to have just one log file and will be asked another question:Overwrite the single log each time? [yes]:no here if you want a log file that holds everything you’ve ever done
in the simulator. Although it shouldn’t grow too large you might occasionally
want to delete/rename the file so that a fresh one is created.Your simulator has 2 disks. How many more would you like to add? [0]: The following disk types are available in MB:
Real (Usable)
a - 43 ( 14)
b - 62 ( 30)
c - 78 ( 45)
d - 129 ( 90)
e - 535 (450)
f - 1024 (900)
What disk size would you like to use? [a]:
The simulator supports different disk sizes. The table displayed
shows how much space will be available in the simulator (Usable column), how
much space it takes up in Linux (Real column) and what letter to press. The disk
type used for vol0 was type “d” though remember you can mix and match
disk sizes in the same volume/raid group. Bigger disks are always more space
efficient.
After choosing the disk size you’ll be asked:
Disk adapter to put disks on? [0]:If you are using SyncMirror then you may want to choose adapter 1 for the second plex disks. For all other cases choose adapter 0. See the SyncMirror configuration requirements.
You have X pulled disk(s). Delete them to recover space? [no]:
Starting simulator to check for Linux segfault issue… ignore the next few lines between – marks ----------------------------------------- ./setup.sh: line 13: 1298 Aborted ./maytag.L ----------------------------------------- segfault issue not detected. Complete. From the simulator directory run runsim.sh to start the simulator.Any error messages output during this stage can be safely ignored. The simulator is now ready for use.
When performing a clustered install you’ll see a small amount of additional information as the script configures the cluster.
/sim directory
then do the following:
[root@localhost cdrom]# cd /sim [root@localhost /sim]# ./runsim.sh NetApp Release 6.4R1: Thu Mar 13 23:56:30 PST 2003 Copyright © 1992-2003 Network Appliance, Inc. Starting boot on Wed Apr 9 10:50:25 GMT 2003 etc…You will see a few messages about uninitialized disks being treated as spares and some ftp option errors, this is normal.
Finally you’ll be shown the standard first-time setup including being asked for host names etc.
If you installed a cluster then you’ll need to run each node of the cluster and turn on the cluster license (see License Keys). See the normal filer documentation for details on configuring and running a cluster.
setup.sh script from the simulator
directory. E.g.
[root@localhost root]# cd /sim [root@localhost /sim]# ./setup.sh Please ensure the simulator is not running.
A clustered install is similar to a non-clustered installation as detailed in the main instructions with the additional considerations.
cf disable otherwise
the remaining node will take over. You may want to do this anyway. [ctrl-N] and
the node will instantly stop.