Installation Guide

          

See the System Requirements to ensure you meet the requirements before installing.

Standard Install

  1. Insert the simulator cdrom and mount it onto your Linux host.
      [root@localhost /root]# mount /media/cdrom
      [root@localhost /root]# cd /media/cdrom
      [root@localhost cdrom]#

    Older distributions may use /mnt/cdrom instead of /media/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]

  2. Start the setup.sh script
      [root@localhost cdrom]# bash ./setup.sh
      Script version X (Jul/2003)    
  3. 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.

  4. Would you like to install as a cluster? [no]:

    If you specifically want to test some cluster features then say yes. Otherwise (and normally) you want to choose the default answer. See below for additional notes on clustering.

  5. Install full HTML/PDF documentation installed? [yes]:

    In a non-clustered install you will be asked if you want the full ONTAP documentation installed. If you say no you will still get the “man” pages and FilerView. Adding full documentation will require an additional ~130MB of disk space.

  6. Continue with the installation [no]:

    If you’re happy with the choices you’ve made enter 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.

Configuration of the simulator

You can manually run the configuration script afterwards by changing into your simulator folder and entering ./setup.sh.
  1. Regenerate MAC address? [no]

    This is only asked if you are reconfiguring. It’s rare that you’ll want to change the MAC address for your simulator, but if you do then enter yes here.

  2. Use DHCP on first boot? [yes]:

    The simulator can use DHCP to get its initial IP address. It never uses DHCP again so say no if you are on a public network. If you have a private network (or are using something like VMware in NAT or Host-Only mode) then you can safely say yes.

  3. Ask for floppy boot? [no]:

    If you want to run maintenance mode or initialize all the disks then say yes otherwise for normal use say no.

  4. Which network interface should the simulator use? [default]:

    If you have more than 1 network interface (e.g. 2 interfaces – 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).

  5. How much memory would you like the simulator to use? [512]:

    The simulator uses memory for buffering, maintaining connection information etc. The larger the number you put here the better the simulator will run but you don’t want to starve the host machine of memory. 512MB should be enough for basic SnapMirror – if you don’t need SnapMirror then you can probably reduce the memory and if you are running lots of software (e.g. MultiStore, SnapMirror, Clustering etc) then you may wish to increase the amount of memory the simulator is given. There is an additional overhead of around 32MB per simulator that isn’t taken into account by this question – see 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.

  6. Create a new log for each session? [no]:

    If you say 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]:

    Say 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.

  7. Your simulator has 2 disks. How many more would you like to add? [0]:

    By default 1 or 2 disks are installed in your simulator for the root volume. You will probably want to add more disks so you can create your own volumes. When you select more than 0 you’ll be asked:
      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.

  8. You have X pulled disk(s). Delete them to recover space? [no]:

    This question will only appear if you’ve followed these instructions to recover disk space.

  9. When performing a clustered install you’ll see a small amount of additional information as the script configures the cluster. Follow any instructions given.
  10. Start the simulator. E.g. if you installed it into the /sim directory then do the following:
      [root@localhost cdrom]# /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.

  11. After installation you can change most of the answers to the questions above like the amount of memory for the simulator or adding disks simply by running the setup.sh script from the simulator directory. E.g.
      [root@localhost root]# /sim/setup.sh
      Please ensure the simulator is not running.
      ...  

Clustered Install Notes

A clustered install is similar to a non-clustered installation as detailed in the main instructions with the additional considerations.