|
|
Validating CiscoWorks Installation
To validate the CiscoWorks installation and configuration, you must edit the .cshrc file on your system. Follow the procedures in this chapter to complete the validation of CiscoWorks installation.
This section briefly summarizes the steps you should follow to complete the CiscoWorks installation and configuration and validate the installation. Each of the following steps are explained in detail in this chapter.
To use SNM, CiscoWorks, and Sybase, the appropriate environment variables and paths should be defined in your .cshrc file.
Environment variables define a value that is generally a text string and directory paths specify the location of files (either man pages or software). Each environment variable and path is explained in detail in Table 4-1.
Table 4-1 Environment Variables and Directory Paths
| Environment Variable or Path | Explanation |
|---|---|
| SNMHOME | Refers to the directory path for SNM software. If you do not already have the environment variable SNMHOME set for SunNet Manager, you should define it. |
| NMSROOT | The environment variable NMSROOT refers to the directory /usr/nms where the CiscoWorks software was installed. If the software was installed in a different directory, substitute the appropriate directory path to ensure a correct definition of the NMSROOT environment variable. |
| SYBASE | The environment variable SYBASE refers to the directory path $NSMROOT/sybase. In this case, the Sybase software was installed in the /usr/nms/sybase directory. The SYBASE variable refers to the NMSROOT variable and the sybase directory below it. |
| PATH | Specifies the directory path for $SNMHOME/bin, $NMSROOT/bin, $NMSROOT/etc, and $SYBASE/bin. The path should be specified for SNM, CiscoWorks and Sybase. |
| MANPATH | Refers to the directory path for the CiscoWorks manual pages. |
The addition of environment variables and path names to your .cshrc file will be applicable only to your login account. If you have other system administrators or network managers that need to access and use CiscoWorks, edit their .cshrc files and add the information specified in the following procedure.
The following steps describe how you can add the appropriate environment variables and path names to the .cshrc file or the .login file. Make sure you substitute the correct directory paths, if you installed SNM, CiscoWorks and Sybase software in directories other than the default directories.
# Set environment variables for SNM, CiscoWorks, and Sybase setenv SNMHOME /usr/snm setenv NMSROOT /usr/nms setenv SYBASE $NMSROOT/sybase #Set path for SNM set path = ($path $SNMHOME/bin) #Set path for CiscoWorks and Sybase executables set path = ($path $NMSROOT/bin $NMSROOT/etc $SYBASE/ bin) #Set path for CiscoWorks man pages if (!($?MANPATH)) setenv MANPATH /usr/man setenv MANPATH "$MANPATH:"$NMSROOT"/man
hostname# source .cshrc
hostname% source .cshrc
After you have edited the .cshrc file, verify that the changes you have made are active. Type the following command at the UNIX prompt:
hostname% printenv | more
You will see a display that is similar to the following.
TERM=vt100 HOME=/home/centari/rpoling SHELL=/usr/local/bin/tcsh USER=blytton PATH=.:/usr/local/bin:/usr/openwin/bin:/usr/ucb:/bin:/home/cen tari/blytton/bin:/usr/bin:/usr/local:/etc:/usr/snm/sun4/snm/ bin:/usr/nms/bin: /usr/nms/etc:/usr/nms/sybase/bin MANPATH=/usr/man:/usr/nms/man LOGNAME=rpoling PWD=/usr/export/home/centari/rpoling HOST=zen HOSTTYPE=sun4 DISPLAY=:0 SNMHOME=/usr/snm NMSROOT=/usr/nms SYBASE=/usr/nms/sybase EDITOR=/usr/local/bin/emacs PRINTER=lp
Note that the environment variables for SNMHOME, NMSROOT, and SYBASE are displayed. In addition, the paths are defined for SNM executables, CiscoWorks and Sybase executables, and the CiscoWorks manual pages.
To verify the CiscoWorks installation and configuration, access SNM and view the CiscoWorks applications.
For detailed information on how to start the SNM Console, refer to the SunNet Manager 2.0 User's Guide.
To access SNM, type the following command at the UNIX prompt:
% hostname snm -i
When the SNM Console window appears, click on the Tools
button to reveal the Tools options.
Figure 4-1 shows the Tools menu with both SNM tools and CiscoWorks applications. Except for Browser, Discover, Grapher, and Snapshot, all others are CiscoWorks applications.
Figure 4-1 Tools Menu with CiscoWorks Applications
If the Tools menu does not contain the CiscoWorks applications, perform the getagents procedure for SNM as explained in the SNM documentation. Then restart SNM and check the Tools menu again. At this time, you may not be able to use all applications unless you complete the rest of the steps required to validate CiscoWorks installation.
Use the Process Manager, which is a CiscoWorks application, to choose different types of CiscoWorks processes, or daemons. A daemon is a process that performs a specific function for the system. Each CiscoWorks process performs specific functions. For example, the nmdevmond is a device monitor daemon that polls for information about devices on your network and forwards this information to SNM.
There are six CiscoWorks processes. They are nmlogd, nmpolld, nmeventd, nmdevmond, syslogd, and dataserver. Figure 4-2 shows the Process Manager window with the processes.
Figure 4-2 Process Manager Window
By default, the first four CiscoWorks processes in the window are turned on whenever you reboot your system. These processes run continuously, even if SunNet Manager is not running on your system. To check that the appropriate CiscoWorks processes are turned on, you need to access the Process Manager window.
To invoke the Process Manager, perform the following steps:
After validating the CiscoWorks installation as described in this chapter, proceed to Chapter 5, "Learning to Use CiscoWorks," to learn some simple tasks associated with CiscoWorks.
|
|
Copyright 1988-1995 © Cisco Systems Inc.