|
|
To validate CiscoWorks installation and configuration, you must edit the .cshrc file on your system. This chapter describes how to complete the validation of your CiscoWorks installation.
Follow these main steps to validate CiscoWorks installation:
To use your network management platform software, CiscoWorks and Sybase, you must verify that the appropriate environment variables and paths are set in your install.cshrc or .cshrc file.
Environment variables define how your particular system is set up, such as how directory paths locate specific files. Table 3-1 explains the environment variables and paths.
The installation and configuration scripts make the following changes to the $NMSROOT/etc/install.cshrc file:
Different steps are required to verify the .cshrc file changes depending on which shell you use. If you use a C shell, refer to the instructions in the ".cshrc File Changes Using the C Shell" section. If you are using a Bourne shell, refer to the instructions in the ".profile File Changes Using the Bourne Shell" section.
Verify that the correct changes were made to the install.cshrc file by performing the following steps:
Step 1 Execute the commands in the new install.cshrc file by entering the following command:
source /usr/nms/etc/install.cshrc
Substitute your CiscoWorks destination directory if it is not /usr/nms. Note the install.cshrc file is in the /opt/CSCOcwh/etc default directory.
Step 2 Display the new values of the environment variables defined for your login account by entering the following command:
printenv | more
The values of the environment variables appear on screen. Check that values similar to the following are set:
The values on your screen will be different from those displayed above if you specify path names other than the defaults during installation and configuration.
Step 3 To copy the install.cshrc file into your existing .cshrc file, open both files with a text editor and copy the text from the install.cshrc file into the .cshrc file. Save the file and exit the editor when finished.
If you are using the Bourne shell, you cannot use the source command to run the install.cshrc file. You must manually change the .profile file to set the appropriate options.
![]() | Time Saver To change your default shell to the Bourne shell, run: chsh username /bin/shor simply type:/bin/sh |
To make the correct changes to the install.cshrc file or add those changes to your existing .profile file, perform the following steps:
Step 1 Open the install.cshrc file with a text editor and edit the file to adapt it for Bourne shell use.
This book does not discuss Bourne shell requirements. Refer to your UNIX reference manual for detailed instructions on changing from C shell to Bourne shell commands. For example, replace the setenv command with an equal sign (=):
C shell:
setenv NMSROOT /opt/CSCOcwh
Bourne shell:
NMSROOT=/opt/CSCOcwh
export NMSROOT
Step 2 Save the file when finished.
Step 3 Open your . .profile file and copy the text from the install.cshrc file into the .profile file. Modify the file, as necessary, for the Bourne shell. Save the file and exit the editor when finished.
Step 4 Run . . profile to execute the new commands.
Once you install and configure CiscoWorks and verify the install.cshrc file, you can start your network management platform software and display CiscoWorks applications. After you start CiscoWorks, you can verify that the appropriate CiscoWorks processes are running by opening the Process Manager window.
The Process Manager window tracks several different types of CiscoWorks processes or daemons. A daemon is a process that performs a specific function for the system.
Refer to your platform-specific instructions to start the CiscoWorks applications.
CiscoWorks is fully integrated with HP OpenView, so you can access CiscoWorks applications directly from the main window of the HP OpenView platform (See Figure 3-1). To display the main window of the HP Open View platform, enter the following:
%ovw

This section briefly discusses how to start the SunNet Manager (SNM) Console to run CiscoWorks. For a more detailed description and options, refer to the SunNet Manager User's Guide.
You can use any of several commands to start the SNM Console. However, you must be running an X Window Manager session.
To access SNM and CiscoWorks, perform the following steps:
Step 1 To start the SNM Console initially (when there is no database present) or when you want to bring up the last map file, enter the following:
snm
If problems occur, your PATH environment variable may not include a path to SNM executables. You can enter a fully qualified path. In the following example, /opt/SUNWconn/bin is the path to the executables:
/opt/SUNWconn/bin
Step 2 Load a database map file (in ASCII format) into the SNM Console by selecting File>Load.
Step 3 To start the SNM Console using other options than above, enter one of the following:
% snm -i
% snm map_name
For more information on starting the SNM Console or troubleshooting startup problems, refer to the SunNet Manager User's Guide.
Step 4 On SNM, you can start CiscoWorks applications from either the Tools menu or the Glyphs menu. Figure 3-2 shows the CiscoWorks applications available on the Tools menu.

SNM also has a menu that becomes available when you click on an icon. To display the menu, select an icon, place the pointer anywhere in the window pane, and press the MENU mouse button. On SNM, icons are called glyphs, and the menu that becomes available is called the Glyph menu (Figure 3-3).

Step 5 Select Tools>CW - Process Mgr.
The Process Manager window opens (Figure 3-4).

Step 6 To start a process, click the On checkbox next to it.
If the process starts successfully, the On checkbox appears dark. If an error message indicates that the process could not be started, check your SNM Console window for an error message.
Step 7 To exit the Process Manager application, select File>Exit.
After validating CiscoWorks installation as described in this chapter, proceed to the section "Learning to Use CiscoWorks," in the "CiscoWorks Getting Started On SunNet Manager" chapter to learn some simple tasks associated with CiscoWorks.
|
|