|
|
CiscoWorks Release 1.0(3)
Getting Started Guide Addendum
This document provides instructions for installing and configuring CiscoWorks Release 1.0(3) from a CD-ROM. It supplements Chapter 2 and replaces Chapter 3 in the CiscoWorks Getting Started Guide. You do not need your tape drive for CiscoWorks installation.
It also includes installation-related information that has changed since the release of CiscoWorks Release 1.0. If you are installing CiscoWorks Release 1.0(3) for the first time or upgrading from either NetCentral Release 1.3 or CiscoWorks Release 1.0 or 1.0(2), read this document and the CiscoWorks Getting Started Guide.
This document contains the following sections:
Installing and configuring CiscoWorks Release 1.0(3) for the first time or upgrading from NetCentral Release 1.3 or earlier versions of CiscoWorks includes the following procedures:
Preparing to Install and Configure CiscoWorks Release 1.0(3)
This section provides installation and configuration information about CiscoWorks Release 1.0(3) that has changed since the release of CiscoWorks Release 1.0 software.
CiscoWorks Release 1.0(3) requires the following:
These requirements are described in the following sections.
CiscoWorks runs on SunOS 4.1.2 and later. This includes SunOS 4.1.3. CiscoWorks does not run on Solaris 2.x.
Expanded Disk Space Required for CiscoWorks Release 1.0 or 1.0(2) or NetCentral Release 1.3 Upgrades
The new Sybase server that is installed with CiscoWorks Release 1.0(3) needs extra disk space to store your current database during the upgrade. Depending on which release your are upgrading from, refer to the following procedures for calculating CiscoWorks or NetCentral upgrade requirements.
CiscoWorks Release 1.0 or 1.0(2) Upgrade
If you are upgrading from CiscoWorks Release 1.0 or 1.0(2) to 1.0(3), your system must have a minimum of 70 megabytes (MB) of disk space to perform the upgrade. The upgrade procedure requires this additional space for the old Sybase database server to continue running while the new Sybase server is installed into a separate directory. In addition to the 70 MB, you should also have at least 1 MB of free space in the database for the upgrade.
Use the following procedure to calculate disk space before you perform the installation upgrade.
Calculating Disk Space Requirements
The disk space required is displayed during installation, but we recommend that you calculate the space ahead of time to ensure its availability. To calculate disk space use the following formula:
To estimate the disk space required, perform the following steps at the UNIX prompt (%):
The CiscoWorks upgrade also requires at least 1 MB of swap space in the database when it upgrades the database.
NetCentral Release 1.3 Upgrade
To calculate the required disk space before you perform the installation, refer to Chapter 8, "Database Administration," in the CiscoWorks User Guide. The section "Verifying Available Disk Space" provides instructions on how to use the checkalloc command to find out how much disk space is being used by your database.
CiscoWorks Installation Worksheet
The CiscoWorks Installation Worksheet located on page 2-5 of the CiscoWorks Getting Started Guide specifies a 1/4-inch tape, but you cannot use a 1/4-inch tape. Instead, you need a CD-ROM drive.
You may also want to calculate the amount of disk space your system has in order to ensure an uninterrupted installation. For more information, refer to the section "Expanded Disk Space Required for CiscoWorks Release 1.0 or 1.0(2) or NetCentral Release 1.3 Upgrades" on page 2.
The CiscoWorks Release 1.0(3) configuration script detects the presence of Network Information Service (NIS) if your workstation is set up for NIS. If you are using NIS, the configuration script saves the data to be added to your NIS Master in the following files: /usr/tmp/CW.group, /usr/tmp/CW.prod, and /usr/tmp/CW.sybase. After configuring CiscoWorks Release 1.0(3), add the information in the files to your NIS Master.
Installing from a Local or Remote CD-ROM
CiscoWorks software is distributed on a CD-ROM. To install CiscoWorks from a CD-ROM drive attached to your system or from a drive attached to a remote system, do the following:
Before beginning the installation procedure, place the CiscoWorks CD-ROM into its caddy and insert it into the CD-ROM drive. If you are using a CD-ROM drive that is connected to your workstation, refer to the following section, "Mounting from a Local CD-ROM." If you are using a CD-ROM drive that is connected to a remote workstation, refer to the section "Mounting from a Remote CD-ROM." These instructions are also provided in the CiscoWorks Release 1.0(3) CD-ROM insert booklet shipped with the product.
To mount the CD-ROM from a local CD-ROM drive, perform the following steps:
If you are installing CiscoWorks for the first time, refer to the section "Installing CiscoWorks Release 1.0(3) for the First Time" on page 6 for instructions. If you are upgrading from NetCentral Release 1.3 or CiscoWorks Release 1.0 or 1.0(2) to CiscoWorks Release 1.0(3), refer to the section "Performing a CiscoWorks Upgrade" on page 17.
If you plan to use a CD-ROM drive attached to a remote system, CiscoWorks does not require any disk space on the remote system. The software is copied across the network to the local workstation.
The root .rhosts file on the remote system must contain the local host name of your system and your user name. Otherwise, you will not be able to access the remote system to download software from the CD-ROM drive connected to the remote system. For more information, refer to the manual pages on rhosts.
To mount the CD-ROM from a remote CD-ROM drive, perform the following steps on the remote machine:
Perform steps 9 through 11 on the local workstation:
If you are installing CiscoWorks for the first time, refer to the following section, "Installing CiscoWorks Release 1.0(3) for the First Time." If you are upgrading from NetCentral Release 1.3 to CiscoWorks Release 1.0 or 1.0(2) to CiscoWorks Release 1.0(3), refer to the section "Performing a CiscoWorks Upgrade" on page 17.
Installing CiscoWorks Release 1.0(3) for the First Time
After mounting the CD-ROM, install CiscoWorks by changing to the /cdrom directory and invoking and running the ./extract_unbundled script which is supplied on the CD-ROM.
The installation and configuration process takes approximately 20 to 30 minutes, although the amount of time can vary depending on your system performance and installation method. Installation from a CD-ROM drive attached to a remote device can take longer.
The following are used for the installation procedure and script in this section:
Substitute the appropriate names and directory path names when you install the software.
Some of the output displayed by the sample installation script is not included. Ellipses (...) in the script indicate that some output is not displayed. A bracketed item ([ ]) after a prompt denotes the default response. If a bracketed item appears without any input next to it, the default value has been accepted.
Procedure for a New Installation
This section provides a detailed explanation of the CiscoWorks installation script dialog for an installation from a CD-ROM drive.
To install CiscoWorks Release 1.0(3), perform the following steps:
Configuring CiscoWorks Release 1.0(3)
This section provides a detailed configuration procedure to help you respond to the questions posed by the configuration script.
After installing CiscoWorks and rebooting your system, you must configure CiscoWorks to fit your particular environment. The interactive configuration script will first prompt you to enter all of the required information, then ask you to confirm your choices before any actual changes are made to your system.
When you run the configuration script ncsconfigure, it performs the following:
If you are using Network Information Service (NIS) at your site, the configuration script saves NIS-related information during the configuration to the following files:
After completing the CiscoWorks configuration, use the information in these files to update your NIS server.
Before configuring CiscoWorks, do the following:
Procedure for New Configuration
This detailed procedure describes how to configure CiscoWorks. Follow this procedure if you want an explanation of the information you need to provide during the configuration process.
Ellipses (...) in the script indicate that some output is not displayed. The letters or words enclosed in brackets are the default selection that will be made if you press Return. To select something other than the default, enter your response followed by Return.
To configure CiscoWorks Release 1.0(3), perform the following steps:
If you are using Network Information Service (NIS) at your site, the configuration script saves
Performing a CiscoWorks Upgrade
This section provides the CiscoWorks Release 1.0(3) installation and configuration script for a CiscoWorks Release 1.0 or 1.0(2) upgrade installation and configuration. Refer to this section if you are upgrading from CiscoWorks Release 1.0 or 1.0(2) to CiscoWorks Release 1.0(3).
Remember to backup your Sybase database before continuing with the upgrade.
CiscoWorks software is distributed on a CD-ROM. You can install CiscoWorks from a CD-ROM drive attached to your system or from a CD-ROM drive attached to a remote system.
After you mount the CD-ROM as described in the section "Installing from a Local or Remote CD-ROM" on page 3, you will install CiscoWorks by invoking and running the ./extract_unbundled script from the CD-ROM drive. The ./extract_unbundled script provides an interactive prompt and response dialog interface that guides you through the installation process.
The installation and configuration process takes 20 to 30 minutes, although the amount of time can vary depending on your system performance and installation method. An installation from a CD-ROM drive attached to a remote device might take longer.
You can exit the installation script at any time by entering Control-C (^C) to return to the UNIX environment. The responses you made up to the point you exit will be recorded for use as the defaults the next time you start the installation process.
Some of the output displayed by the sample installation script is not included. Ellipses (...) in the script indicate that some output is not displayed. A bracketed item ([ ]) after a prompt denotes the default response. If a bracketed item appears without any input next to it, the default value has been accepted.
To configure CiscoWorks, proceed to the next section, "Sample Configuration Dialog for a CiscoWorks Release 1.0 Upgrade."
Sample Configuration Dialog for a CiscoWorks Release 1.0 Upgrade
This section provides an example of a sample upgrade configuration of CiscoWorks Release 1.0. Refer to this section if you are configuring CiscoWorks Release 1.0(2) software to upgrade from CiscoWorks Release 1.0.
Before configuring CiscoWorks, do the following:
If you are using Network Information Service (NIS) at your site, the configuration script saves NIS-related information during the configuration to the following files:
The ncsconfigure script follows:
After completing the CiscoWorks configuration, use the information in these files to update your NIS server.
After configuring CiscoWorks Release 1.0(3), you can remove the installation log files by following the instructions on page 38 in the CiscoWorks Getting Started Guide.
To eject the CD-ROM enter the following commands:
The CD-ROM caddy is ejected from the drive.
Performing a NetCentral Release 1.3 Upgrade
This section provides CiscoWorks Release 1.0(3) installation and configuration scripts for a NetCentral Release 1.3 upgrade installation and configuration. Refer to this section if you are upgrading from NetCentral Release 1.3 to CiscoWorks Release 1.0(3).
CiscoWorks software is distributed on a CD-ROM. You can install CiscoWorks from a CD-ROM drive attached to your system or from a CD-ROM drive attached to a remote system.
After mounting the CD-ROM as described in the section "Installing from a Local or Remote CD-ROM" on page 3, you will install CiscoWorks by invoking and running the ./extract_unbundled script supplied on the CD-ROM. The ./extract_unbundled script provides an interactive prompt and response dialog interface that guides you through the installation process.
The installation and configuration process takes approximately 20 to 30 minutes, although the amount of time can vary depending on your system performance and installation method. An installation from a CD-ROM drive attached to a remote device might take longer.
You can exit the installation script at any time by entering Control-C (^C) to return to the UNIX environment. The responses you make up to the point you exit will be recorded for use as the defaults the next time you start the installation process.
Some of the output displayed by the sample installation script is not included. Ellipses (...) in the script indicate that some output is not displayed. A bracketed item ([ ]) after a prompt denotes the default response. If a bracketed item appears without any input next to it, the default value has been accepted.
Sample Installation Dialog for a NetCentral Release 1.3 Upgrade
This section provides an example of an upgrade installation of CiscoWorks Release 1.0(3). Refer to this section if you are upgrading from NetCentral Release 1.3 to CiscoWorks Release 1.0(3).
The letters or words enclosed in brackets are the default selection that will be made if you press Return. To select something other than the default, enter your response followed by Return.
The sample installation script uses the following values and Sun system:
Substitute the appropriate names and directory path names when you install the software on your system.
x ./snm/agents/cisco.schema, 113239 bytes, 222 tape blocks
About to install upgrade to Sybase version 4.9.1
uncompress -c /cdrom/sybase/sybase.sun4.tar.Z | tar xvfpB - 2>&1 | tee /disk/tmp
x ./sybase/interfaces.dist, 132 bytes, 1 tape blocks
Installation verified - CiscoWorks 1.0 files loaded correctly.
KERNEL MODIFICATIONS - This section of the CiscoWorks 1.0 installation
will make sybase modifications to your system kernel. You will be
prompted for an existing kernel configuration file to use as a base for
the new system kernel; the default is your current kernel configuration.
After this script has completed successfully, you must reboot your
system for the kernel modifications to take effect.
You may decide to skip this section of the installation if:
1. Your kernel has already been modified for Sybase 4.9.1,
2. You wish to modify and rebuild your kernel manually, or
3. Sybase will not be running on this system.
OK to continue with kernel modifications (y/n)? [y]
Please enter System Configuration file or (q)uit: [GENERIC]
The base kernel configuration file is : /sys/sun4c/conf/GENERIC
The new kernel configuration file will be : /sys/sun4c/conf/SYBASE
The old kernel will be saved as : /vmunix.syb_inst
The new SYBASE kernel will be installed as: : /usr/tmp/unbundled/ncskernel.log
Are these values correct (y/n) ? [y]
Saving old kernel as /vmunix.syb_inst ...
Creating /sys/sun4c/conf/SYBASE ...
Configuring /sys/sun4c/conf/SYBASE ...
Building SYBASE kernel from /sys/sun4c/conf/SYBASE ...
Installing new system kernel ...
SYBASE kernel modifications completed - Reboot your system to use the
new kernel before you proceed with CiscoWorks 1.0 configuration.
REBOOT NOW!
CiscoWorks 1.0 Installation completed - continue with CiscoWorks 1.0
configuration by starting /usr/tmp/unbundled/ncsconfigure.
To configure CiscoWorks, proceed to the next section, "Sample Configuration Dialog for a NetCentral Release 1.3 Upgrade."
Sample Configuration Dialog for a NetCentral Release 1.3 Upgrade
This section provides an example of a sample upgrade configuration of CiscoWorks Release 1.0(3). Refer to this section if you are configuring CiscoWorks Release 1.0(3) software to upgrade from NetCentral Release 1.3.
Before configuring CiscoWorks, do the following:
If you are using Network Information Service (NIS) at your site, the configuration script saves
After completing the CiscoWorks configuration, use the information in these files to update your NIS server.
After configuring CiscoWorks Release 1.0(3), you can remove the installation log files by following the instructions on page 38 in the CiscoWorks Getting Started Guide.
To eject the CD-ROM enter the following commands:
The CD-ROM caddy is ejected from the drive.
Troubleshooting Installation Problems
If you experience any installation or configuration problems, refer to the appendix on "Error Messages" in the CiscoWorks Getting Started Guide.
If you see the message, "FIFO_config: Permission denied," during the configuration, perform the following steps.
Transferring CD-ROM Documents to Your Hard Disk
Your CD-ROM contains the CiscoWorks Release 1.0 documentation. If you are upgrading from
Perform the following steps to copy these documents from the CD-ROM to your hard disk:
Copyright 1988-1996 © Cisco Systems Inc.
Disk Space Required = 45 MB + the amount of disk space used in $SYBASE/data
%
du -s $SYBASE/data.
login:
su
Password: <rootpassword>
hostname#
mkdir /cdrom
hostname#
mount -rt hsfs /dev/sr0 /cdrom
login:
su
Password: <rootpassword>
hostname#
mkdir /cdrom
/cdrom -ro
hostname#
mount -rt hsfs /dev/sr0 /cdrom
hostname#
exportfs -a
login:
su
Password: <rootpassword>
hostname#
mkdir /cdrom
hostname#
mount remote_workstation: /cdrom /cdrom
The ./extract_unbundled script provides an interactive prompt and response dialog interface that guides you through the installation process.
zen#
cd /cdrom
zen#
./extract_unbundled
./extract_unbundled: The following product will be installed:
***********************************************************************
CiscoWorks Version 1.0(3)
Copyright (c) 1986-1993 by Cisco Systems, Inc.
All rights reserved
***********************************************************************
Do you want to continue (y/n)? [y]
./extract_unbundled: Extracting installation scripts ...x ./install_unbundled, 717 bytes, 2 tape blocks
x ./1.0_CiscoWorks, 18774 bytes, 37 tape blocks
x ./ncsconfigure, 66695 bytes, 131 tape blocks
x ./ncskernel, 7953 bytes, 16 tape blocks
x ./.install/config.defs, 429 bytes, 1 tape blocks
...
x ./.install/dbunload, 3036 bytes, 6 tape blocks
./extract_unbundled: Starting installation process ...
./extract_unbundled: /usr/tmp/unbundled/install_unbundled -c/cdrom -f
/usr/tmp/unbundled/install_unbundled: Starting installation script /usr/tmp/unbundled/1.0_CiscoWorks ...
/usr/tmp/unbundled/install_unbundled: /usr/tmp/unbundled/1.0_CiscoWorks -c/cdrom -f
^^^^^^^^^^^^^^^^^CiscoWorks 1.0 INSTALLATION **********************
INSTALLATION SETUP - This section of the CiscoWorks 1.0 installation will ask you to specify the type of installation (new or upgrade) and the directory path for the product installation. Existing NetCentral data will be saved if this is an upgrade, and the new directory structure will be set up.
Is this a new installation of CiscoWorks 1.0, or an upgrade of an existing CiscoWorks 1.0 or NetCentral 1.3 installation?
Enter type of installation as (n)ew or (u)pgrade: [new]
/usr/nms. If this directory does not exist on your system, the installation script can create it for you.
What directory will CiscoWorks 1.0 be installed in? [/usr/nms]
Directory /usr/nms does not exist! Create it (y/n)? [y]
Directory /usr/nms has been created.
Installation type : new
Destination directory : /usr/nms
Are these values correct (y/n)? [y]
CDROM INSTALLATION - This section of the CiscoWorks 1.0 installation
will load files from the installation cdrom into the /usr/nms directory.
CiscoWorks 1.0 installation will take approximately 20 minutes.
Installing CiscoWorks 1.0 ...
uncompress -c /cdrom/ciscoworks/sun4.ncs.tar.Z | tar xvfpB - 2>&1 | tee /usr/tmp
/unbundled/.install/tar.log | cat -u
x ./snm/agents/cisco.schema, 113239 bytes, 222 tape blocks
x ./snm/agents/cisco.asn1.oid, 20825 bytes, 41 tape blocks
x ./snm/agents/snmp-mibII.oid, 8094 bytes, 16 tape blocks
...
x ./help/nmproc.hlp, 3419 bytes, 7 tape blocks
x ./help/nmsync.hlp, 3081 bytes, 7 tape blocks
x ./help/nmhealth.hlp, 6507 bytes, 13 tape blocks
Finished installing CiscoWorks 1.0.
Installing Sybase Database & Server ...
uncompress -c /cdrom/sybase/sybase.sun4.tar.Z | tar xvfpB - 2>&1 | tee /usr/tmp/
unbundled/.install/tar.log | cat -u
x ./sybase/bin/apt.std, 1630208 bytes, 3184 tape blocks
x ./sybase/bin/apt, 998 bytes, 2 tape blocks
x ./sybase/bin/aptcompile, 499712 bytes, 976 tape blocks
...
x ./sybase/termdef/xterm_c.ncd, 1514 bytes, 3 tape blocks
x ./sybase/termdef/xterm_c.sun, 1602 bytes, 4 tape blocks
x ./sybase/interfaces.dist, 132 bytes, 1 tape blocks
Finished installing Sybase Database & Server.
Verifying installed files ...
Installation verified - CiscoWorks 1.0 files loaded correctly.
KERNEL MODIFICATIONS - This section of the CiscoWorks 1.0 installation
will make sybase modifications to your system kernel. You will be
prompted for an existing kernel configuration file to use as a base for
the new system kernel; the default is your current kernel configuration.
After this script has completed successfully, you must reboot your system for the kernel modifications to take effect.
You may decide to skip this section of the installation if:
1. Your kernel has already been modified for Sybase 4.9.1,
2. You wish to modify and rebuild your kernel manually, or
3. Sybase will not be running on this system.
OK to continue with kernel modifications (y/n)? [y]
Please enter System Configuration file or (q)uit: [GENERIC]
The base kernel configuration file is : /sys/sun4c/conf/GENERIC
The new kernel configuration file will be : /sys/sun4c/conf/SYBASE
The old kernel will be saved as : /vmunix.syb_inst
The new SYBASE kernel will be installed as : /vmunix
The kernel rebuild will be logged in /usr/tmp/unbundled/ncskernel.log
Are these values correct [y/n]?
[y]
Saving old kernel as /vmunix.syb_inst ...
Creating /sys/sun4c/conf/SYBASE from /sys/sun4c/conf/GENERIC
Configuring /sys/sun4c/conf/SYBASE
Building SYBASE kernel from /sys/sun4c/conf/SYBASE
Installing new system kernel...
SYBASE kernel modifications completed - Reboot your system to use
the new kernel before you proceed with CiscoWorks 1.0 configuration.
REBOOT NOW!
CiscoWorks 1.0 Installation completed - continue with CiscoWorks 1.0
configuration by starting /usr/tmp/unbundled/ncsconfigure.
zen#
zen#
reboot
login:
root
password:
zen#
/usr/tmp/unbundled/ncsconfigure
******************** CiscoWorks 1.0 CONFIGURATION **********************
CONFIGURATION SETUP - This section of the CiscoWorks 1.0 configuration
will ask you to verify the type of installation (new or upgrade) and
the directory path where the product has been installed.
Is this a new installation of CiscoWorks 1.0, or an upgrade of an
existing CiscoWorks 1.0 or NetCentral 1.3 installation?
Verify type of installation as (n)ew or (u)pgrade: [new]
Verify the directory path for the CiscoWorks 1.0 software: [/usr/nms]
Installation type : new
Destination directory : /usr/nms
Are these values correct (y/n)? [y]
*****************************************************************
NIS CHECK - Your system appears to be running Network Information Service. Your NIS Administrator should update your NIS server
with any new or modified groups and users. This
information is also added to your local host.
*****************************************************************
GROUPS AND USERS - This section of the CiscoWorks 1.0 configuration will
set up a UNIX group and users for the installed software. You will be
asked for a group name, group id, and a list of group users. Next,
you will be asked to specify user information for ownership of the
CiscoWorks 1.0 files followed by user information for ownership of the
Sybase database files. The users for CiscoWorks 1.0 and Sybase will be
added to the group automatically.
Refer to your system and CiscoWorks 1.0 documentation for instructions
on adding/modifying groups and users after configuration is complete.
What would you like to call the CiscoWorks 1.0 group? [CscWorks]
/etc/group file on your system.
Group id for the CiscoWorks 1.0 group? [55]
Enter CiscoWorks 1.0 group user names one line at a time.
Terminate the list with an empty line.
Input users name>kwilson
Input users name>
Using the following values for the CiscoWorks 1.0 group:
CiscoWorks 1.0 Group Name : CscWorks
CiscoWorks 1.0 Group ID : 55
CiscoWorks 1.0 Group Users : kwilson,cscworks,sybase
Are these values correct? [yes]
****Please add this information to the NIS server:
CscWorks:*:55:root, kwilson, cscworks, sybase
This information is saved to /usr/tmp/CW.group also
What would you like to call the CiscoWorks 1.0 user name? [cscworks]
User ID for CiscoWorks 1.0 login? [100]
Full name for CiscoWorks 1.0 user? [CiscoWorks]
Shell for CiscoWorks 1.0 login? [/bin/csh]
Using the following values for the CiscoWorks 1.0 user:
CiscoWorks 1.0 User Name : cscworks
CiscoWorks 1.0 User ID : 100
CiscoWorks 1.0 Group ID : 55
CiscoWorks 1.0 Full Name : CiscoWorks
CiscoWorks 1.0 Home Directory : /usr/nms
CiscoWorks 1.0 Shell : /bin/csh
Are these values correct? [yes]
**** Please add this information to the NIS SERVER
cscworks:*:100:55:CiscoWorks:/disk/cw1.0:/bin/csh
This information is saved to /usr/tmp/CW.prod also
User ID for Sybase login? [101]
Shell for Sybase login? [/bin/csh]
Using the following values for the Sybase user:
Sybase User Name : sybase
Sybase User ID : 101
Sybase Group ID : 55
Sybase Full Name : Sybase
Sybase Home Directory : /usr/nms/sybase
Sybase Shell : /bin/csh
Are these values correct? [yes]
Please add this information to the NIS SERVER
sybase:*:55:Sybase:/disk/cw1.0/sybase:/bin/csh
This information is saved to /usr/tmp/CW.sybase also.
Updating CscWorks group in /etc/group with kwilson,cscworks,sybase ...
FILE OWNERSHIP AND PERMISSIONS - The ownership of the CiscoWorks 1.0
files will be changed to the selected users and groups. Permissions
of specific files will be modified to enable execution and read/write
capabilities.
Setting the owner and group for CiscoWorks 1.0 software ...
chown -R cscworks.CscWorks /usr/nms/.
chown -R sybase /usr/nms/sybase
chown root /usr/nms/bin/nmsummary
...
Setting the permissions for CiscoWorks 1.0 software ...
chmod -R 750 /usr/nms
chmod 4750 /usr/nms/bin/nmsummary
...
chmod 770 /usr/nms/log
SUNNET MANAGER MODIFICATIONS - A set of Cisco schema files must be
added to the SunNet Manager schema files to enable SunNet Manager to
to integrate CiscoWorks 1.0 functionality. You need to specify the
directory path for the SunNet Manager schema files.
Directory path for SunNet Manager schema files? [/usr/snm]
Merging CiscoWorks 1.0 schemas with SunNet Manager ...
cp /usr/nms/snm/agents/* /usr/snm/agents/
cp /usr/nms/snm/struct/* /usr/snm/struct/
cp /usr/nms/snm/icons/* /usr/snm/icons/
chmod +r /usr/snm/agents/*
chmod +r /usr/snm/struct/*
chmod +r /usr/snm/icons/*
Updating na.snmp.schemas in /etc/snm.conf ...
Running /usr/snm/bin/build_oid ...
Parsing /usr/snm/agents/enterprises.oid
Parsing /usr/snm/agents/snmp.oid
Parsing /usr/snm/agents/cisco.asn1.oid
Parsing /usr/snm/agents/sun-snmp.oid
Parsing /usr/snm/agents/snmp-mibII.oid
Writing /var/adm/snm/oid.dbase
SunNet Manager modifications completed.
TCP PORTS - An open set of tcp ports will be identified for this
new Sybase installation. The ports will be defined in the Sybase
interfaces file.
Identifying open ports for Sybase ...
Using ports 8000 thru 8003
Defining ports in /usr/nms/sybase/interfaces file ...
/usr/nms/etc/setaddress 8000
Please wait...
Sybase interface file has been changed.
DATABASE STARTUP - This section of the CiscoWorks 1.0 configuration will
build and load the CiscoWorks 1.0 database. The Sybase dataserver and
any daemons from previous installations will be halted. Then, the new
database will be built. If this is an upgrade installation, data from
the previous installation will be reloaded into the new database.
Certain operations will require you to provide the Sybase 'sa' (system
admin) password. Use password 'NULL' if this is a new installation.
OK to continue (y/n)? [y]
Halting Sybase dataserver and CiscoWorks 1.0 daemons ...
Running /usr/nms/etc/load_nms ...
**** Do not interrupt the execution of this script! ****
The load_nms script will create the Sybase master database and the
nms database. During database intensive operations, output may not
be produced for several minutes. If problems occur, this script can
be run manually from /usr/nms/etc/load_nms.
Creating master.dat database file ...
Starting Sybase dataserver ...
Database (null) is alive
Sybase is running.
No errors detected, the Database seems to be correctly installed.
TFTP CHECK - The CiscoWorks 1.0 Configuration Management application
uses TFTP for configuration upload and download of Cisco devices.
Correct operation of this feature requires that TFTP service be enabled
and that the TFTP directory have the correct access permissions.
Checking for correct TFTP service configuration ...
TFTP is correctly configured.
SYSLOG MODIFICATIONS - The CiscoWorks 1.0 Log Manager application
uses a centralized log file which gets messages from the UNIX syslogd
process. You will need to specify the log file name and which syslog
facility (local0-local7) to use. Use facility local7 if you want to
log both CiscoWorks 1.0 messages and Cisco device messages; use a
different facility if you want to log only CiscoWorks 1.0 messages.
Enter log file to use for CiscoWorks 1.0 messages: [/var/log/nmslog]
Enter syslog facility to use for CiscoWorks 1.0 messages: [local7]
OK to remove other syslog entries which use local7 (y/n)? [y]
The log file will be : /var/log/nmslog
The syslog facility will be : local7
Remove other syslog entries which use local7 : y
Are these values correct (y/n)? [y]
RC.LOCAL MODIFICATIONS - The Sybase dataserver and other CiscoWorks 1.0
daemons must be running as background processes for correct operation
of CiscoWorks 1.0. This section of the configuration will modify the file
/etc/rc.local to include nmstartup which will start the Sybase dataserver
and CiscoWorks 1.0 daemons during system reboot.
Checking for nmstartup in /etc/rc.local ...
Install nmstartup for CiscoWorks 1.0 in /etc/rc.local (y/n)? [y]
CRON MODIFICATIONS - The syslog file must be purged periodically
to avoid running out of disk space. This activity is automated by the
CiscoWorks 1.0 log purge utility when scheduled by the UNIX cron daemon.
This will purge syslog daily and maintain a seven day history of syslog files.
Schedule the CiscoWorks 1.0 log purge utility to run daily (y/n)? [y]
CONFIGURATION COMPLETE - Various environment variables must be defined for correct operation of CiscoWorks 1.0. You can append the following lines to the .login or .cshrc file of CiscoWorks 1.0 users so that required environment variables will be set correctly:
# Set environment variables for CiscoWorks 1.0.
setenv SNMHOME /usr/snm
setenv NMSROOT /usr/nms
setenv SYBASE /usr/nms/sybase
# Set path for CiscoWorks 1.0 man pages.
if (!($?MANPATH)) setenv MANPATH /usr/man
setenv MANPATH "$MANPATH":"$NMSROOT"/man
# Set path for CiscoWorks 1.0 executables.
set path=($path /usr/nms/bin /usr/nms/etc)
Refer to the CiscoWorks 1.0 Getting Started Guide for instructions on
validating your installation and configuration.
zen#
hostname#
cd /
hostname#
eject sr0
NIS-related information during the configuration to the following files: /usr/tmp/CW.group, /usr/tmp/CW.prod, and /usr/tmp/CW.sybase. Use the information in these files to update your NIS server.
zen# cd /cdrom
zen# ./extract_unbundled
./extract_unbundled: The following product will be installed:
****************************************************************************
CiscoWorks Version 1.0(3)
Copyright (c) 1986-1993 by Cisco Systems, Inc.
All rights reserved
****************************************************************************
Do you want to continue (y/n)? [y]
./extract_unbundled: Extracting installation scripts ...
x ./install_unbundled, 717 bytes, 2 tape blocks
x ./1.0_CiscoWorks, 18774 bytes, 37 tape blocks
x ./ncsconfigure, 66695 bytes, 131 tape blocks
x ./ncskernel, 7953 bytes, 16 tape blocks
x ./.install/config.defs, 429 bytes, 1 tape blocks
x ./.install/nmcopyout, 4935 bytes, 10 tape blocks
x ./.install/exclude.sun4, 0 bytes, 0 tape blocks
x ./.install/find.sun4, 10081 bytes, 20 tape blocks
x ./.install/include.install, 244 bytes, 1 tape blocks
x ./.install/upgrade_nms, 13279 bytes, 26 tape blocks
x ./.install/variables, 176 bytes, 1 tape blocks
x ./.install/dbunload, 3036 bytes, 6 tape blocks
./extract_unbundled: Starting installation process ...
./extract_unbundled: /usr/tmp/unbundled/install_unbundled -c/cdrom -f
/usr/tmp/unbundled/install_unbundled: Starting installation script /disk/tmp/unb
undled/1.0_CiscoWorks ...
/usr/tmp/unbundled/install_unbundled: /disk/tmp/unbundled/1.0_CiscoWorks -c/cdro
m -f
********************** CiscoWorks 1.0 INSTALLATION **********************
INSTALLATION SETUP - This section of the CiscoWorks 1.0 installation
will ask you to specify the type of installation (new or upgrade) and
the directory path for the product installation. Existing NetCentral
data will be saved if this is an upgrade, and the new directory
structure will be setup.
Is this a new installation of CiscoWorks 1.0, or an upgrade of an
existing CiscoWorks 1.0 or NetCentral 1.3 installation?
Enter type of installation as (n)ew or (u)pgrade: [new] u
What directory contains the existing installation? [/disk/netcentral]
Installation type : upgrade
Destination directory : /disk/netcentral
Destination directory : /disk/netcentral
Are these values correct (y/n)? [y]
CDROM INSTALLATION - This section of the CiscoWorks 1.0 installation
will load files from the installation cdrom into the /disk/netcentral
directory.
CiscoWorks 1.0 installation will take approximately 20 minutes.
Installing CiscoWorks 1.0 ...
uncompress -c /cdrom/ciscoworks/sun4.ncs.tar.Z | tar xvfpB - 2>&1 | tee /disk/tm
p/unbundled/.install/tar.log | cat -u
x ./snm/agents/cisco.schema, 113239 bytes, 222 tape blocks
x ./snm/agents/cisco.asn1.oid, 20825 bytes, 41 tape blocks
x ./snm/agents/snmp-mibII.oid, 8094 bytes, 16 tape blocks
x ./snm/struct/cisco-elements.schema, 14702 bytes, 29 tape blocks
x ./snm/icons/3000.icon, 622 bytes, 2 tape blocks
x ./snm/icons/3000.iconmask, 622 bytes, 2 tape blocks
x ./snm/icons/4000.icon, 622 bytes, 2 tape blocks
...
...
x ./help/nmsync.hlp, 3081 bytes, 7 tape blocks
x ./help/nmhealth.hlp, 6507 bytes, 13 tape blocks
Finished installing CiscoWorks 1.0.
About to install upgrade to Sybase version 4.9.1
To upgrade your Sybase server you will need 63.8135 Megabytes of free disk space
If you don't have enough space on the /disk/netcentral device,
you can enter a new path for the installation here,
otherwise press return to accept /disk/netcentral/syb491:
Installing Sybase Database & Server ...
uncompress -c /cdrom/sybase/sybase.sun4.tar.Z | tar xvfpB - 2>&1 | tee /disk/tmp
/unbundled/.install/tar.log | cat -u
x ./sybase/bin/apt.std, 1630208 bytes, 3184 tape blocks
x ./sybase/bin/apt, 998 bytes, 2 tape blocks
x ./sybase/bin/aptcompile, 499712 bytes, 976 tape blocks
x ./sybase/bin/apt.x11, 1654784 bytes, 3232 tape blocks
x ./sybase/bin/aptexec.std, 1056768 bytes, 2064 tape blocks
x ./sybase/bin/aptconv, 1081344 bytes, 2112 tape blocks
x ./sybase/bin/aptexec, 2718 bytes, 6 tape blocks
x ./sybase/bin/buildmaster, 860160 bytes, 1680 tape blocks
x ./sybase/bin/aptexec.x11, 1081344 bytes, 2112 tape blocks
x ./sybase/bin/aptmig, 1056768 bytes, 2064 tape blocks
...
...
x ./sybase/termdef/xterm_c.sun, 1602 bytes, 4 tape blocks
x ./sybase/interfaces.dist, 132 bytes, 1 tape blocks
Finished installing upgrade to sybase 4.9.1
Verifying installed files ...
Installation verified - CiscoWorks 1.0 files loaded correctly.
KERNEL MODIFICATIONS - This section of the CiscoWorks 1.0 installation
will make sybase modifications to your system kernel. You will be
prompted for an existing kernel configuration file to use as a base for
the new system kernel; the default is your current kernel configuration.
After this script has completed successfully, you must reboot your
system for the kernel modifications to take effect.
You may decide to skip this section of the installation if:
1. Your kernel has already been modified for Sybase 4.9.1,
2. You wish to modify and rebuild your kernel manually, or
3. Sybase will not be running on this system.
OK to continue with kernel modifications (y/n)? [y] n
**** Skipping kernel configuration ...
**** Kernel configuration not modified!
CiscoWorks 1.0 Installation completed - continue with CiscoWorks 1.0
configuration by starting /usr/tmp/unbundled/ncsconfigure.
zen# /usr/tmp/unbundled/ncsconfigure
********************** CiscoWorks 1.0 CONFIGURATION **********************
CONFIGURATION SETUP - This section of the CiscoWorks 1.0 configuration
will ask you to verify the type of installation (new or upgrade) and
the directory path where the product has been installed.
Is this a new installation of CiscoWorks 1.0, or an upgrade of an
existing CiscoWorks 1.0 or NetCentral 1.3 installation?
Verify type of installation as (n)ew or (u)pgrade: [upgrade]
Verify the directory path for the CiscoWorks 1.0 software: [/usr/nms]
Installation type : upgrade
Destination directory : /usr/nms
Are these values correct (y/n)? [y]
*****************************************************************
NIS CHECK - Your system appears to be running Network Information
Service. Your NIS Administrator should update your NIS server
with any new or modified groups and users. This
information is also added to your local host.
*****************************************************************
GROUPS AND USERS - This section of the CiscoWorks 1.0 configuration will
set up a UNIX group and users for the installed software. You will be
asked for a group name, group id, and a list of group users. Next,
you will be asked to specify user information for ownership of the
CiscoWorks 1.0 files followed by user information for ownership of the
Sybase database files. The users for CiscoWorks 1.0 and Sybase will be
added to the group automatically.
Refer to your system and CiscoWorks 1.0 documentation for instructions
on adding/modifying groups and users after configuration is complete.
What is the name of the existing CiscoWorks 1.0 group? [CscWorks]
Using the following values for the CiscoWorks 1.0 group:
CiscoWorks 1.0 Group Name : CscWorks
CiscoWorks 1.0 Group ID : 55
CiscoWorks 1.0 Group Users : kwilson,cscworks,sybase
Are these values correct? [yes]
****Please add this information to the NIS server:
CscWorks:*:55:root, kwilson, cscworks, sybase
This information is saved to /usr/tmp/CW.group also
What is the name of the existing CiscoWorks 1.0 login? [cscworks]
Using the following values for the CiscoWorks 1.0 user:
CiscoWorks 1.0 User Name : cscworks
CiscoWorks 1.0 User ID : 100
CiscoWorks 1.0 Group ID : 55
CiscoWorks 1.0 Full Name : CiscoWorks
CiscoWorks 1.0 Home Directory : /usr/nms
CiscoWorks 1.0 Shell : /bin/csh
Are these values correct? [yes]
**** Please add this information to the NIS SERVER
cscworks:*:100:55:CiscoWorks:/disk/cw1.0:/bin/csh
This information is saved to /usr/tmp/CW.prod also
Updating CscWorks group in /etc/group with kwilson,cscworks,sybase ...
FILE OWNERSHIP AND PERMISSIONS - The ownership of the CiscoWorks 1.0
files will be changed to the selected users and groups. Permissions
of specific files will be modified to enable execution and read/write
capabilities.
Setting the owner and group for CiscoWorks 1.0 software ...
chown -R cscworks.CscWorks /usr/nms/.
chown -R sybase /usr/nms/sybase
chown root /usr/nms/bin/nmsummary
chown root /usr/nms/bin/nmpoll
chown root /usr/nms/bin/nmproc
chown root /usr/nms/bin/nmpath
chown root /usr/nms/bin/nmdevmon
chown root /usr/nms/contrib/tcpdump
Setting the permissions for CiscoWorks 1.0 software ...
chmod -R 750 /usr/nms
chmod 4750 /usr/nms/bin/nmsummary
chmod 4750 /usr/nms/bin/nmpoll
chmod 4750 /usr/nms/bin/nmproc
chmod 4750 /usr/nms/bin/nmpath
chmod 4750 /usr/nms/bin/nmdevmon
chmod 4750 /usr/nms/contrib/tcpdump
chmod 660 /usr/nms/etc/ncspwd
chmod 770 /usr/nms/log
Do you wish to install the new MIB files? [yes]
SUNNET MANAGER MODIFICATIONS - A set of Cisco schema files must be
added to the SunNet Manager schema files to enable SunNet Manager
to integrate CiscoWorks 1.0 functionality. You need to specify the
directory path for the SunNet Manager schema files.
Directory path for SunNet Manager schema files? [/usr/snm]
Merging CiscoWorks 1.0 schemas with SunNet Manager ...
cp /usr/nms/snm/agents/* /usr/snm/agents/
cp /usr/nms/snm/struct/* /usr/snm/struct/
chmod +r /usr/snm/agents/*
chmod +r /usr/snm/struct/*
chmod +r /usr/snm/icons/*
Running /usr/snm/bin/build_oid ...
Parsing /usr/snm/agents/enterprises.oid
Parsing /usr/snm/agents/snmp.oid
Parsing /usr/snm/agents/cisco.asn1.oid
Parsing /usr/snm/agents/sun-snmp.oid
Parsing /usr/snm/agents/snmp-mibII.oid
Writing /var/adm/snm/oid.dbase
SunNet Manager modifications completed.
Halting Sybase dataserver and CiscoWorks 1.0 daemons ...
Starting sybase server for upgrade ...
Waiting for server to complete initialization ...
Upgrading CiscoWorks 1.0 Database ...
Please enter DBMS password for nmsuper:
Database SYBASE is alive
Upgrading 102 database to 103
This will take about 10 minutes ...
Enter directory where you installed the sybase upgrade [usr/nms/sybase]
[1] 735
Server SHUTDOWN by request.
The SQL Server is terminating this process.
DB-LIBRARY error:
Unexpected EOF from SQL Server.
Finished 102 to 103 upgrade
Upgrading sample reports ... Done
TFTP CHECK - The CiscoWorks 1.0 Configuration Management application
uses TFTP for configuration upload and download of Cisco devices.
Correct operation of this feature requires that TFTP service be enabled
and that the TFTP directory have the correct access permissions.
Checking for correct TFTP service configuration ...
TFTP is correctly configured.
SYSLOG MODIFICATIONS - The CiscoWorks 1.0 Log Manager application
uses a centralized log file which gets messages from the UNIX syslogd
process. You will need to specify the log file name and which syslog
facility (local0-local7) to use. Use facility local7 if you want to
log both CiscoWorks 1.0 messages and Cisco device messages; use a
different facility if you want to log only CiscoWorks 1.0 messages.
Enter log file to use for CiscoWorks 1.0 messages: [/var/log/nmslog]
/var/log/nmslog already exists! Use this file anyway (y/n)? [y]
Enter syslog facility to use for CiscoWorks 1.0 messages: [local7]
OK to remove other syslog entries which use local7 (y/n)? [y]
The log file will be : /var/log/nmslog
The syslog facility will be : local7
Remove other syslog entries which use local7 : y
Are these values correct (y/n)? [y]
Syslog modifications in progress ...
NMSLOGFILE = /var/log/nmslog
INSTALL = upgrade
Resetting database and system logs ...
logpurg 2.0 Experimental starting:
Process id = 618
Debugging: = Off
logpurg started at: Thu Feb 18 17:53:47 1993
logpurg completed
Syslog modifications completed.
Start the CiscoWorks 1.0 processes and database server (y/n)? [y]
Starting CiscoWorks 1.0. Please wait ...
RC.LOCAL MODIFICATIONS - The Sybase dataserver and other CiscoWorks 1.0
daemons must be running as background processes for correct operation
of CiscoWorks 1.0. This section of the configuration will modify the file
/etc/rc.local to include nmstartup which will start the Sybase dataserver
and CiscoWorks 1.0 daemons during system reboot.
Checking for nmstartup in /etc/rc.local ...
Old version of nmstartup detected in /etc/rc.local!
Update existing nmstartup for CiscoWorks 1.0 in /etc/rc.local (y/n)? [y]
Updating nmstartup for CiscoWorks 1.0 in /etc/rc.local ...
/etc/rc.local modifications completed.
CRON MODIFICATIONS - The syslog file must be purged periodically
to avoid running out of disk space. This activity is automated by the
CiscoWorks 1.0 log purge utility when scheduled by the UNIX cron daemon.
This will purge syslog daily and maintain a seven day history of syslog
files.
Schedule the CiscoWorks 1.0 log purge utility to run daily (y/n)? [y]
Adding line "0 2 * * * /usr/nms/bin/purge /usr/nms" to crontab
...
Cron modifications completed.
CONFIGURATION COMPLETE - Various environment variables must be defined
for correct operation of CiscoWorks 1.0. You can append the following lines
to the .login or .cshrc file of CiscoWorks 1.0 users so that required
environment variables will be set correctly:
# Set environment variables for CiscoWorks 1.0.
setenv SNMHOME /usr/snm
setenv NMSROOT /usr/nms
setenv SYBASE /usr/nms/sybase
# Set path for CiscoWorks 1.0 man pages.
if (!($?MANPATH)) setenv MANPATH /usr/man
setenv MANPATH "$MANPATH":"$NMSROOT"/man
# Set path for CiscoWorks 1.0 executables.
set path=($path /usr/nms/bin /usr/nms/etc)
Refer to the CiscoWorks 1.0 Getting Started Guide for instructions on
validating your installation and configuration.
hostname# cd /
hostname# eject sr0
zen# cd /cdrom
zen# ./extract_unbundled
./extract_unbundled: The following product will be installed:
****************************************************************************
CiscoWorks Version 1.0(3)
Copyright (c) 1986-1993 by Cisco Systems, Inc.
All rights reserved
****************************************************************************
Do you want to continue (y/n)? [y]
./extract_unbundled: Extracting installation scripts ...
x ./install_unbundled, 717 bytes, 2 tape blocks
x ./1.0_CiscoWorks, 18774 bytes, 37 tape blocks
x ./ncsconfigure, 66695 bytes, 131 tape blocks
x ./ncskernel, 7953 bytes, 16 tape blocks
x ./.install/config.defs, 429 bytes, 1 tape blocks
x ./.install/nmcopyout, 4935 bytes, 10 tape blocks
x ./.install/exclude.sun4, 0 bytes, 0 tape blocks
x ./.install/find.sun4, 10081 bytes, 20 tape blocks
x ./.install/include.install, 244 bytes, 1 tape blocks
x ./.install/upgrade_nms, 13279 bytes, 26 tape blocks
x ./.install/variables, 176 bytes, 1 tape blocks
x ./.install/dbunload, 3036 bytes, 6 tape blocks
./extract_unbundled: Starting installation process ...
./extract_unbundled: /usr/tmp/unbundled/install_unbundled -c/cdrom -f
/usr/tmp/unbundled/install_unbundled: Starting installation script /usr/tmp/unbundled/1.0_CiscoWorks ...
/usr/tmp/unbundled/install_unbundled: /usr/tmp/unbundled/1.0_CiscoWorks -c/cdrom -f
********************** CiscoWorks 1.0 INSTALLATION **********************
INSTALLATION SETUP - This section of the CiscoWorks 1.0 installation
will ask you to specify the type of installation (new or upgrade) and
the directory path for the product installation. Existing NetCentral
data will be saved if this is an upgrade, and the new directory
structure will be setup.
Is this a new installation of CiscoWorks 1.0, or an upgrade of an
existing CiscoWorks 1.0 or NetCentral 1.3 installation?
Enter type of installation as (n)ew or (u)pgrade: [new] u
What directory contains the existing installation? [/usr/nms]
Installation type : upgrade
Destination directory : /usr/nms
Are these values correct (y/n)? [y]
CDROM INSTALLATION - This section of the CiscoWorks 1.0 installation
will load files from the installation cdrom into the /usr/nms directory.
CiscoWorks 1.0 installation will take approximately 20 minutes.
Installing CiscoWorks 1.0 ...
uncompress -c /cdrom/ciscoworks/sun4.ncs.tar.Z | tar xvfpB - 2>&1 | tee /disk/tm
p/unbundled/.install/tar.log | cat -u
x ./snm/agents/cisco.asn1.oid, 20825 bytes, 41 tape blocks
x ./snm/agents/snmp-mibII.oid, 8094 bytes, 16 tape blocks
...
...
x ./help/nmhealth.hlp, 6507 bytes, 13 tape blocks
Finished installing CiscoWorks 1.0.
To upgrade your Sybase server you will need xxxxx Megabytes of free disk space
If you don't have enough space on the /usr/nms device,
you can enter a new path for the installation here,
otherwise press return to accept /usr/nms/syb491:
Installing Sybase Database & Server ...
/unbundled/.install/tar.log | cat -u
x ./sybase/bin/apt.std, 1630208 bytes, 3184 tape blocks
x ./sybase/bin/apt, 998 bytes, 2 tape blocks
...
...
Finished installing upgrade to sybase 4.9.1
Verifying installed files ...
NIS-related information during the configuration to the following files:
zen# /usr/tmp/unbundled/ncsconfigure
********************** CiscoWorks 1.0 CONFIGURATION **********************
CONFIGURATION SETUP - This section of the CiscoWorks 1.0 configuration
will ask you to verify the type of installation (new or upgrade) and
the directory path where the product has been installed.
Is this a new installation of CiscoWorks 1.0, or an upgrade of an
existing CiscoWorks 1.0 or NetCentral 1.3 installation?
Verify type of installation as (n)ew or (u)pgrade: [upgrade]
Verify the directory path for the CiscoWorks 1.0 software: [/usr/nms]
Installation type : upgrade
Destination directory : /usr/nms
Are these values correct (y/n)? [y]
*****************************************************************
NIS CHECK - Your system appears to be running Network Information
Service. Your NIS Administrator should update your NIS server
with any new or modified groups and users. This
information is also added to your local host.
*****************************************************************
GROUPS AND USERS - This section of the CiscoWorks 1.0 configuration will
set up a UNIX group and users for the installed software. You will be
asked for a group name, group id, and a list of group users. Next,
you will be asked to specify user information for ownership of the
CiscoWorks 1.0 files followed by user information for ownership of the
Sybase database files. The users for CiscoWorks 1.0 and Sybase will be
added to the group automatically.
Refer to your system and CiscoWorks 1.0 documentation for instructions
on adding/modifying groups and users after configuration is complete.
What is the name of the existing CiscoWorks 1.0 group? [CscWorks]
Using the following values for the CiscoWorks 1.0 group:
CiscoWorks 1.0 Group Name : CscWorks
CiscoWorks 1.0 Group ID : 55
CiscoWorks 1.0 Group Users : kwilson,cscworks,sybase
Are these values correct? [yes]
****Please add this information to the NIS server:
CscWorks:*:55:root, kwilson, cscworks, sybase
This information is saved to /usr/tmp/CW.group also
What is the name of the existing CiscoWorks 1.0 login? [cscworks]
Using the following values for the CiscoWorks 1.0 user:
CiscoWorks 1.0 User Name : cscworks
CiscoWorks 1.0 User ID : 100
CiscoWorks 1.0 Group ID : 55
CiscoWorks 1.0 Full Name : CiscoWorks
CiscoWorks 1.0 Home Directory : /usr/nms
CiscoWorks 1.0 Shell : /bin/csh
Are these values correct? [yes]
**** Please add this information to the NIS SERVER
cscworks:*:100:55:CiscoWorks:/disk/cw1.0:/bin/csh
This information is saved to /usr/tmp/CW.prod also
Using the following values for the Sybase user:
Sybase User Name : sybase
Sybase User ID : 101
Sybase Group ID : 55
Sybase Full Name : Sybase
Sybase Home Directory : /usr/nms/sybase
Sybase Shell : /bin/csh
Are these values correct? [yes]
Please add this information to the NIS SERVER
sybase:*:55:Sybase:/disk/cw1.0/sybase:/bin/csh
This information is saved to /usr/tmp/CW.sybase also.
Updating CscWorks group in /etc/group with kwilson,cscworks,sybase ...
FILE OWNERSHIP AND PERMISSIONS - The ownership of the CiscoWorks 1.0
files will be changed to the selected users and groups. Permissions
of specific files will be modified to enable execution and read/write
capabilities.
Setting the owner and group for CiscoWorks 1.0 software ...
chown -R cscworks.CscWorks /usr/nms/.
chown -R sybase /usr/nms/sybase
chown root /usr/nms/bin/nmsummary
chown root /usr/nms/bin/nmpoll
chown root /usr/nms/bin/nmproc
chown root /usr/nms/bin/nmpath
chown root /usr/nms/bin/nmdevmon
chown root /usr/nms/contrib/tcpdump
Setting the permissions for CiscoWorks 1.0 software ...
chmod -R 750 /usr/nms
chmod 4750 /usr/nms/bin/nmsummary
chmod 4750 /usr/nms/bin/nmpoll
chmod 4750 /usr/nms/bin/nmproc
chmod 4750 /usr/nms/bin/nmpath
chmod 4750 /usr/nms/bin/nmdevmon
chmod 4750 /usr/nms/contrib/tcpdump
chmod 660 /usr/nms/etc/ncspwd
chmod 770 /usr/nms/log
Do you wish to install the new MIB files? [yes]
SUNNET MANAGER MODIFICATIONS - A set of Cisco schema files must be
added to the SunNet Manager schema files to enable SunNet Manager
to integrate CiscoWorks 1.0 functionality. You need to specify the
directory path for the SunNet Manager schema files.
Directory path for SunNet Manager schema files? [/usr/snm]
Merging CiscoWorks 1.0 schemas with SunNet Manager ...
cp /usr/nms/snm/agents/* /usr/snm/agents/
cp /usr/nms/snm/struct/* /usr/snm/struct/
cp /usr/nms/snm/icons/* /usr/snm/sun4/snm/icons/
cp /usr/nms/snm/traps/cisco.traps /var/adm/snm/
chmod +r /usr/snm/agents/*
chmod +r /usr/snm/struct/*
chmod +r /usr/snm/icons/*
chmod +r /var/adm/snm/*
Running /usr/snm/bin/build_oid ...
Parsing /usr/snm/agents/enterprises.oid
Parsing /usr/snm/agents/snmp.oid
Parsing /usr/snm/agents/sun-snmp.oid
Parsing /usr/snm/agents/cisco.asn1.oid
Parsing /usr/snm/agents/snmp-mibII.oid
Writing /var/adm/snm/oid.dbase
SunNet Manager modifications completed.
DATABASE STARTUP - This section of the CiscoWorks 1.0 configuration will
build and load the CiscoWorks 1.0 database. The Sybase dataserver and
any daemons from previous installations will be halted. Then the new
database will be built. If this is an upgrade installation, data from
the previous installation will be reloaded into the new database.
Certain operations will require you to provide the Sybase `sa' (system
admin) password. Use password `NULL' if this is a new installation.
OK to continue (y/n)? [y]
Halting Sybase dataserver and CiscoWorks 1.0 daemons ...
Running /usr/nms/etc/load_nms ...
**** Do not interrupt the execution of this script! ****
The load_nms script will create the Sybase master database and the
nms database. During database intensive operations, output may not
be produced for several minutes. If problems occur, this script can
be run manually from /usr/nms/etc/load_nms.
Creating master.dat database file ...
Starting Sybase dataserver ...
Waiting for server to complete initialization...
Loading master database schema ... (ignore message about sp_configure)
Loading master database ... (ignore message about unexpected EOF)
`Disk' device added.
(return status = 0)
DB-LIBRARY error:
Unexpected EOF from SQL Server.
Restarting Sybase dataserver with new master database.
Creating new nms database ...
CREATE DATABASE: allocating 3072 pages on disk `nms'
CREATE DATABASE: allocating 2048 pages on disk `nms'
Loading nms database ... (ignore message about unexpected EOF)
Run the CHECKPOINT command in the database that was changed.
(return status = 0)
Run the CHECKPOINT command in the database that was changed.
(return status = 0)
Server SHUTDOWN by request.
The SQL Server is terminating this process.
DB-LIBRARY error:
Unexpected EOF from SQL Server.
/usr/nms/sybase/install
Sybase database installation and load is complete.
Upgrading database files ...
Start the new server on the old database ...
00: 02/Waiting for server to complete initialization ...
00: 92/10/12 08:50:11.96 kernel:SQL Server/4.8/EBF 984/Sun 4/SunOS 4.1.X/55/OPT/
Thu Aug 6 10:29:22 PDT 1992
00: 92/10/12 08:50:11.98 kernel: Sybase SMP SQL Server 4.8
00: 92/10/12 08:50:11.98 kernel: Confidential Property of Sybase, Inc.
...................................................
Loading database data from old server in new server ...
Where did you save the database data? [/usr/tmp]
Creating table testpoll
Creating table nms_rev_history
(0 rows affected)
(1 row affected)
(2 rows affected)
Database (null) is alive
Sybase is running.
No errors detected, the Database seems to be correctly installed.
TFTP CHECK - The CiscoWorks 1.0 Configuration Management application
uses TFTP for configuration upload and download of Cisco devices.
Correct operation of this feature requires that TFTP service be enabled
and that the TFTP directory have the correct access permissions.
Checking for correct TFTP service configuration ...
TFTP is correctly configured.
SYSLOG MODIFICATIONS - The CiscoWorks 1.0 Log Manager application
uses a centralized log file which gets messages from the UNIX syslogd
process. You will need to specify the log file name and which syslog
facility (local0-local7) to use. Use facility local7 if you want to
log both CiscoWorks 1.0 messages and Cisco device messages; use a
different facility if you want to log only CiscoWorks 1.0 messages.
Enter log file to use for CiscoWorks 1.0 messages: [/var/log/nmslog]
/var/log/nmslog already exists! Use this file anyway (y/n)? [y]
Enter syslog facility to use for CiscoWorks 1.0 messages: [local7]
OK to remove other syslog entries which use local7 (y/n)? [y]
The log file will be : /var/log/nmslog
The syslog facility will be : local7
Remove other syslog entries which use local7 : y
Are these values correct (y/n)? [y]
Syslog modifications in progress ...
NMSLOGFILE = /var/log/nmslog
INSTALL = upgrade
Resetting database and system logs ...
logpurg 1.0(2.8) Alpha starting:
Process id = 842
Debugging: = Off
logpurg started at: Fri Jul 23 17:19:21 1993
logpurg completed
Syslog modifications completed.
Start the CiscoWorks 1.0 processes and database server (y/n)? [y]
Starting CiscoWorks 1.0. Please wait ...
RC.LOCAL MODIFICATIONS - The Sybase dataserver and other CiscoWorks 1.0
daemons must be running as background processes for correct operation
of CiscoWorks 1.0. This section of the configuration will modify the file
/etc/rc.local to include nmstartup which will start the Sybase dataserver
and CiscoWorks 1.0 daemons during system reboot.
Checking for nmstartup in /etc/rc.local ...
Old version of nmstartup detected in /etc/rc.local!
Update existing nmstartup for CiscoWorks 1.0 in /etc/rc.local (y/n)? [y]
Updating nmstartup for CiscoWorks 1.0 in /etc/rc.local ...
/etc/rc.local modifications completed.
CRON MODIFICATIONS - The syslog file must be purged periodically
to avoid running out of disk space. This activity is automated by the
CiscoWorks 1.0 log purge utility when scheduled by the UNIX cron daemon.
This will purge syslog daily and maintain a seven day history of syslog
files.
Schedule the CiscoWorks 1.0 log purge utility to run daily (y/n)? [y]
Adding line "0 2 * * * /usr/nms/bin/purge /usr/nms" to crontab
...
Cron modifications completed.
CONFIGURATION COMPLETE - Various environment variables must be defined
for correct operation of CiscoWorks 1.0. You can append the following lines
to the .login or .cshrc file of CiscoWorks 1.0 users so that required
environment variables will be set correctly:
# Set environment variables for CiscoWorks 1.0.
setenv SNMHOME /usr/snm
setenv NMSROOT /usr/nms
setenv SYBASE /usr/nms/sybase
# Set path for CiscoWorks 1.0 man pages.
if (!($?MANPATH)) setenv MANPATH /usr/man
setenv MANPATH "$MANPATH":"$NMSROOT"/man
# Set path for CiscoWorks 1.0 executables.
set path=($path /usr/nms/bin /usr/nms/etc)
Refer to the CiscoWorks 1.0 Getting Started Guide for instructions on
validating your installation and configuration.
hostname# cd /
hostname# eject sr0
#
rm /tmp/interfaces
#
rm $SYBASE/install/FIFO_config
#
rm $SYBASE/interfaces
#
umask 0
#
/usr/tmp/unbundled/ncsconfigure
CiscoWorks Release 1.0(2) and have already transferred the CD-ROM documents to your hard disk, you do not need to repeat this procedure.
prompt (%). This path allows the documentation to remain with the source software.
%
mkdir /usr/nms/docs
%
cd /usr/nms/docs
%
cp /cdrom/documentation/Viewer_docs/UserGuide/* .
%
cp /cdrom/documentation/Viewer_docs/UserGuide/
filename
.view .
filename.view
.
%
cp -r /cdrom/documentation .
![]()
![]()
![]()
![]()
![]()
![]()
![]()