|
|
Installing and Configuring CiscoWorks on HP-UX
To install and configure CiscoWorks you will perform the following general tasks:
To complete these tasks, follow the detailed steps in the following sections. After you complete these tasks, continue to Chapter 4, "Validating CiscoWorks Installation on HP-UX," to validate the installation.
To perform the tasks associated with installing and configuring CiscoWorks, you must log into your system as a superuser. Being a superuser allows you to perform functions restricted from normal users.
To become a superuser, you must know the root password. In the following examples, the root password is shown as rootpassword.
If you are not logged in, enter the following commands to log in as a superuser:
Because you are logged in as superuser, the UNIX prompt changes to a # sign:
If you are already logged in, but not as root, enter the following commands to change your login to root:
The CiscoWorks software is distributed on a CD-ROM. The CD-ROM contains a number of partitions that store the software; some of the partitions are divided into filesets. A partition is a portion of a disk. A fileset is group of related files. Each partition or fileset contains a specific set of files (Table 3-1).
Table 3-1 : Parts of the CiscoWorks Software
When you install CiscoWorks, you can install just the partitions or filesets you choose.
Installing CiscoWorks from a Local CD-ROM Drive
If you are installing CiscoWorks from a local CD-ROM drive, complete the steps in this section. Before you do so, fill out the CiscoWorks Installation Worksheet and the CiscoWorks Configuration Worksheet. See the following sections in Chapter 2, "CiscoWorks Installation Worksheet" and "CiscoWorks Configuration Worksheet" for more information.
To install CiscoWorks from a local CD-ROM drive, perform the following steps:
This completes the CiscoWorks installation from a local CD-ROM drive. Now you can continue with the instructions in Chapter 4, "Validating CiscoWorks Installation on HP-UX." Once you validate the installation, you will be able to access CiscoWorks on HP OpenView.
Installing CiscoWorks from a Remote CD-ROM Drive
If you are installing CiscoWorks from a remote CD-ROM drive, complete the steps in this section. Before you do so, fill out the CiscoWorks Installation Worksheet and the CiscoWorks Configuration Worksheet. See the following sections in Chapter 2, "CiscoWorks Installation Worksheet" and "CiscoWorks Configuration Worksheet" for more information.
To install CiscoWorks from a remote CD-ROM drive, perform the following steps:
This completes the CiscoWorks installation. Now you can continue with the instructions in
As part of the CiscoWorks installation, you must configure your workstation so that it can use the Trivial File Transfer Protocol (TFTP). TFTP allows you to transfer configuration files between your workstation and other devices on your network.
You can have the CiscoWorks installation script set up the TFTP boot files and directory, or you can do it yourself, according to the instructions that follow.
To set up the TFTP daemon, perform the following steps:
Creating the TFTP Home Directory
The TFTP home directory temporarily holds files that are being transferred between your system and devices on your network.
Creating the TFTP home directory is optional, because the TFTP home directory is accessible to all users. To protect the security of your system, you may choose not to set up this directory on your system. However, without a TFTP home directory, you will be unable to use the CiscoWorks AutoInstall Manager, Configuration Manager, and Software Management applications.
If you want to use the CiscoWorks Software Library Manager or Device Software Manager applications to manage device software, you should allocate at least 4 MB of space for the TFTP home directory.
To create the TFTP home directory, perform the following steps:
After you complete these steps, all users accessing the TFTP boot directory will have read, write, and execute permissions.
After you install CiscoWorks for the first time, you may need to reinstall it, for example if some files on your workstation become damaged or corrupted. Reinstalling means that you delete some or all of the existing CiscoWorks files and reinstall them from the same version of CiscoWorks.
To reinstall CiscoWorks files from a local CD-ROM drive, perform the following steps:
This completes the reinstallation process.
During the installation process, several log files are created to track the installation process and provide diagnostic information if a problem arises. When you are satisfied that CiscoWorks is properly installed and operating, you can remove these files. To remove these files from your system, enter the following command:
The log files are described in Table 3-2.
Table 3-2 : CiscoWorks Log Files
Modifying Your .Xdefaults File
You can customize certain features of your CiscoWorks and HP OpenView environment by modifying the X Windows .Xdefaults file. For example, you can change the colors that windows display or specify certain ways in which CiscoWorks runs in your X Windows environment.
This section provides information on the following topics:
Customizing CiscoWorks Colors and Fonts
You can customize any of the X resources that the CiscoWorks applications use, including colors and fonts. This allows you to customize the colors and fonts in CiscoWorks windows. To use your own colors and fonts for CiscoWorks, perform one of the following procedures:
Editing the .Xdefaults File Entry to Specify the Text Editor
Defining the look of your text editor window requires that you add the following command to the .Xdefaults file, substituting the appropriate options:
This completes the process of specifying the text editor.
Enabling boot file generation is a matter of editing the .Xdefaults file so that it specifies the on state. To specify the on state, perform the following steps:
This completes the process of enabling boot file generation.
Updating the Refresh Interval in the CiscoWorks Log Manager Window
Your CiscoWorks Log Manager refreshes its window according to a default interval of 900 seconds. You can customize the frequency of this process by modifying the .Xdefaults file.
To change the refresh interval of the Log Manager window, perform the following steps:
This completes the process of updating the refresh interval.
Resetting the Default Window Size of CiscoWorks Applications
When working with CiscoWorks applications, you may notice that the window sizes vary from application to application. The layout of the window and the size of its text and graphics is preset to be large enough to contain all the elements that define the window. However, you can resize the window without obscuring the text.
To reset the default CiscoWorks window size, perform the following steps:
This completes the process of resetting the default window size.
Copyright 1988-1996 © Cisco Systems Inc.
login: root
Password: <rootpassword>
hostname#
hostname% su
Password: <rootpassword>
Partition Name
Fileset Name
Contents
CWIC
The ncsinstall and ncsconfigure scripts, which install and configure CiscoWorks
CISCO-WORKS
CW-BIN
The actual CiscoWorks applications
CW-DOC
The CiscoWorks help and UNIX manual (man) page files
CW-ETC
The daemons and utilities that support the CiscoWorks applications
CW-MISC
Software tools that you can use with CiscoWorks, such as tcl (a language for writing scripts)
CW-OV-REGISTER
The CiscoWorks files that support HP OpenView
SYBASE
The Sybase relational database
SHARE-LIBS
LIBXMU
The X11 standard libraries
CPP-SHARE-LIBS
The C++ runtime libraries
hostname#
mkdir
/cdrom
hostname#
/etc/mount -rt cdfs /dev
/device_filename /cdrom
hostname#
mkdir
/usr/nms
hostname#
/etc/update -s
/cdrom/
cw.tar -d
/usr/nms
CWIC
hostname#
/usr/nms/
install/bin/ncsinstall -s
/cdrom/
cw.tar -d
/usr/nms
-db
size
Allow size MB for the nms database
-log
size
Allow size MB for the nms database log
-syb
path name
Install Sybase in path name
-nosybase
Do not install Sybase
-data
path name
Install the nms database in path name
-f
filesets
CiscoWorks software to install
hostname#
/usr/nms/
install/bin/ncsconfigure
hostname#
cd /
hostname#
umount
/cdrom
hostname#
mkdir
/cdrom
/cdrom
-ro
hostname#
nfsd 8 &
hostname#
/usr/etc/rpc.mountd -n
hostname#
/etc/mount -rt cdfs /dev
/device_filename
/cdrom
hostname#
exportfs -a
hostname#
mkdir
/cdrom
hostname#
mount
remote-hostname
:
/cdrom /cdrom
hostname#
mkdir
/usr/nms
hostname#
/etc/update -s
/cdrom/
cw.tar -d
/usr/nms
CWIC
hostname#
/usr/nms/
install/bin/ncsinstall -s
/cdrom/
cw.tar -d
/usr/nms
-db
size
Allow size MB for the nms database
-log
size
Allow size MB for the nms database log
-syb
path name
Install Sybase in path name
-nosybase
Do not install Sybase
-data
path name
Install the nms database in path name
-f
filesets
CiscoWorks software to install.
hostname#
/usr/nms/
install/bin/ncsconfigure
hostname#
cd /
hostname#
umount
/cdrom
hostname#
cd /
hostname#
umount
/cdrom
Chapter 4, "Validating CiscoWorks Installation on HP-UX." Once you validate the installation, you will be able to access CiscoWorks on HP OpenView.
tftp 69/udp # Trivial File Transfer Protocol
tftp dgram udp wait root /etc/tftpd tftpd
hostname#
/etc/inetd -c
tftp:*:510:10:Trivial FTP user:
directory name
:/bin/false
directory name
represents the TFTP home directory.
hostname#
netstat -a | grep tftp
udp 0 0 *.tftp *.*
hostname#
mkdir
<directory name>
hostname#
chown tftp
<directory name>
hostname#
chgrp guest
<directory name>
hostname#
chmod 777
<directory name>
hostname#
/etc/mount -rt cdfs /dev/
device_filename
/cdrom
hostname#
cd
/cdrom
hostname#
/usr/nms/
etc/shutdown_nms
hostname#
rmfn -l { CWIC | CISCO-WORKS | SYBASE | SHARE-LIBS }
CWIC
The installation and configuration scripts
CISCO-WORKS
The CiscoWorks software
SYBASE
The Sybase database
SHARE-LIBS
The X11 standard and C++ runtime libraries
hostname#
/usr/nms/
install/bin/ncsinstall -s
/cdrom/
cw.tar -d
/usr/nms
-f { CWIC | CISCO-WORKS | SYBASE | SHARE-LIBS }
hostname#
/usr/nms/
install/bin/ncsconfigure
hostname# rm /usr/nms/install/log/*.log
Log File Name
Contents of the Log File
ncsconfigure.defs
Your responses to the questions asked during the configuration
ncsinstall.log
The installation log messages
load_nms.log
The database loading messages
ncsconfigure.log
The configuration log messages
update.log
Messages logged while extracting files from CD-ROM
dbcc.log
Database consistency check log messages
-font 9x15bold).
hostname%
vi $HOME/.Xdefaults
command string
%s
*EditorFormat:/usr/vue/bin/vuepad %s
hostname%
vi $HOME/.Xdefaults
*Bootfile:on
hostname#
vi $HOME/.Xdefaults
XCiscoWorks*refreshInterval:
<seconds>
XCiscoWorks*refreshInterval:450
XCiscoWorks*geometry:500x400+0+0
xrdb -merge ~/XCiscoWorks
![]()
![]()
![]()
![]()
![]()
![]()
![]()