|
|
This appendix provides instructions for installing the Network Modeling Tool (NMT), Configuration Extraction Tool (CET), Third-Party Interface (TPI) Conversion Plug-in, and SpreadSheet Interface (SSI) Conversion Plug-in. This appendix contains the following sections:
NMT, CET, TPI, and SSI run on a Sun SPARCstation running SunOS 4.1.4 or later, or Solaris 2.5.1 or later. NMT runs under many configurations, including SPARC IPX, LX, 5, 10, 20, and Ultra. Hardware requirements depend on the size of the model you are creating. A typical setup includes
This section explains how to install the NMT software and link it to your project directories. This procedure also installs any subapplications (CET, TPI, and SSI) that came with your copy of the NMT software. If you want to install only the subapplications, refer to the section "Installing the CET, TPI, or SSI Software" later in this chapter.
To install the NMT, you must have a user account. In addition to a user account, you should consider creating an NMT account--installation is slightly simpler if you have an account named NMT. For information on creating accounts, contact your system or network administrator.
The following procedure installs the software into a subdirectory under the NMT account you created. The installation process gives that subdirectory a name and a release number. For example, /usr/users/NMT/840.
Step 1 Log into the account that will own the NMT software. If a directory named NMT does not already exist, create one by entering the following command:
mkdir NMT
Step 2 Go the NMT directory by entering the following command:
cd NMT
Step 3 Verify that you are in the correct directory by entering the following command:
pwd
Step 4 If you are loading from a 3/4 tape, insert the tape and enter the following command:
tar xvpf /dev/rst0
The last character is a 0 (rst0).
If you have a tar or compressed tar file, uncompress it if necessary, and then untar the file by enterint the following command:
tar xvf tar_file_name
Step 5 Confirm that this step created a subdirectory in the NMT directory. The subdirectory has an NMT version number, for example, /NMT/840/

This procedure is for the linking of the NMT software to project directories. Figure A-1 depicts the relationship between the NMT software, user, and project accounts. In the figure, a separate NMT account, is assumed to exist.
Step 1 If you are not already logged in, log in now.
Step 2 In your user account (for example, usr/users/user_account), create two directories. Call one "tmp" and give the other a project name. (If you want NMT to use a different directory than tmp for scratch work, you can specify it with the full path by using the environment variable NMTTMP.)
mkdir tmp
mkdir project_name
You should periodically remove old files from the tmp directory
Step 3 Move to the subdirectory you just created:
cd project_name
Step 4 Make sure you are running in c shell. If you are not, enter the following command:
csh
Step 5 Link the project directory to the NMT release:
nmt_ver is the release number expressed without periods, for example 840.
The NMT files are linked or copied to the project_name directory. The -a option links other WAN Network Design Tools (Configuration Extraction Tool, Third Party Interface, and SpreadSheet Interface) to the project.
If the NMT software is not installed under the NMT directory, you must specify the NMT home directory before running nmtlink. To do this, enter the command setenv NMTHOME path_to_software. For example, if the software is installed in the "modeling" directory, you would enter setenv NMTHOME /usr/users/admin/modeling/840, where 840 is the release number of the software. You can then link the project directory to the NMT release by entering $NMTHOME/nmtlink.
This section describes how to run the NMT.
Step 1 If you are on a StrataView platform, while logged in as StrataView Plus and in the svplus directory, enter the following command to grant xwindows permission. (This can be done from the console window or an xterm window.)
xhost +
You may want to add the xhost + command to the svplus.login file.
Step 2 Log in with your user name and enter your password. This should bring you to your user home directory, for example, /usr/users/my_name.
Step 3 Move to one of your project directories:
cd project_name
Step 4 Start NMT:
nmt
If you need to install or reinstall the Configuration Extraction Tool (CET), the Third Party Interface (TPI), or the SpreadSheet Interface (SSI), use this procedure. These applications are referred to as subapplications in this section.
The procedures in this section are for accessing, loading, and linking the applications to project directories.
To install a WAN design tool subapplication, you must first go to or create a directory for the software.
If you have an NMT account, do the following: From an XTerm window, log in as NMT and enter the NMT password. This should bring you to the NMT home directory, for example, /usr/users/NMT
Step 1 If you do not have a user account, speak with your system or network administrator to get one.
Step 2 Choose an suitable directory in which to put the subapplications and create a subdirectory:
mkdir app_name
app_name is the name of the subapplication--CET, TPI, or SSI.
The following section describes how to install the software. The procedure described, which installs all the subapplications, is based on the assumption that you are logged into an NMT account.
Step 1 Insert the diskette or tape.
Step 2 Copy the files to the directory you are in.
tar xvpf /dev/fd0
tar xvpf /dev/rst0
The names of files being loaded are displayed.
Step 3 Eject the diskette or tape.
Step 4 Log out of the NMT.
exit
If you have an NMT project directory, execute the following command to link the project directory to the NMT release.
~NMT/nmt_ver/nmtlink -a
nmt_ver is the NMT release number expressed without periods, for example 840.
If you do not have an NMT account, use the following procedure to link the project directory to the NMT release:
Step 1 Go to the directory that contains the subapplications.
Step 2 Create a project directory:
mkdir project_name
Step 3 Set up a UNIX environment variable for CET, TPI, or SSI.
setenv [nmt_path]
nmt_path is the path to the version of the NMT software you are using.
Step 4 Link the project directory to the NMT release:
For CET: $CETHOME/cetlink
For TPI: $TPIHOME/tpilink
For SSI: $SSIHOME/ssilink
The command cetrel removes CET from your ID.
The command tpirel removes TPI from your ID.
The command ssirel removes SSI from your ID.
|
|