|
|
To install and configure CiscoWorks network management software on your HP OpenView platform running the Sun Operating System, you will perform the following general tasks.
CiscoWorks 2.1 is based on the OSF/Motif windowing system and requires Motif key mapping. During installation, a message will advise you that you need Motif key mapping. The installation script then offers to update the (key mapping) file for you in case you are using a different platform, such as OPEN LOOK. If necessary, you can also manually update the XKeysymDB file by appending $NMSROOT/etc/XKeysymDB to your XKeysymDB file.
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, perform the following steps:
Step 1 Attach a CD-ROM drive either to your workstation or to a remote workstation.
Step 2 If you plan to install CiscoWorks from a remote host, acquire the appropriate login account to mount the CD-ROM remotely.
Step 3 Log in as a superuser. For instructions, see the section "Becoming a Superuser " in Chapter 2.
![]() | Caution Avoid exposing the CiscoWorks CD-ROM to direct sunlight because it might harm the contents. |
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 CD-ROM insert booklet shipped with the product.
To mount the CD-ROM from a local CD-ROM drive, perform the following steps:
Step 1 Place the CD-ROM into its caddy and insert it into the CD-ROM drive.
Step 2 Become a superuser by entering the following command and supplying your root password:
<rootpassword>
Step 3 If the /cdrom directory does not already exist, enter the following command to create a new directory:
mkdir /cdrom
If the /cdrom directory already exists, proceed to the next step.
Step 4 To mount the CD-ROM, enter the following command:
mount -rt hsfs /dev/sr0 /cdrom
In this command, the -r option mounts the CD-ROM in read-only mode. The -t indicates the type of file system where hsfs specifies a file system with an ISO 9660 standard or High Sierra standard with Rock Ridge extensions. If you do not use these options, media error messages might display on the console.
If you are installing CiscoWorks for the first time, refer to the section "Installing CiscoWorks Software for the First Time" for instructions. If you are upgrading from an earlier version of CiscoWorks, refer to the section "Performing a CiscoWorks Upgrade."
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 username. 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 page on rhosts.
To mount the CD-ROM from a remote CD-ROM drive, perform the following steps on the remote system:
Step 1 Place the CD-ROM into its caddy and insert it into the CD-ROM drive.
Step 2 Become a superuser by entering the following command and supplying your root password:
<rootpassword>
Step 3 If the /cdrom directory does not already exist, enter the following command to create a new directory:
mkdir /cdrom
Step 4 If the /etc/exports file does not exist, create it.
Step 5 Edit the /etc/exports file to include the following line:
![]() | Time Saver Rebooting your computer from a server can take as long as 20 minutes. Entering the previous commands takes about 15 seconds and achieves the same effect. |
Step 6 If the /etc/exports existed previously, run exportfs -a:
exportfs -a
Step 7 If you just created /etc/exports (in Step 4), you must enable your workstation as an NFS server. The nfsd command can be started by either rebooting your workstation or entering the following commands at the UNIX prompt:
hostname# nfsd 8 &
hostname# rpc.mountd -n
Step 8 To mount the CD-ROM, enter the following command:
mount -rt hsfs /dev/sr0 /cdrom
In this command, the -r option mounts the CD-ROM in read-only mode. The -t indicates the type of file system where hsfs specifies the ISO 9660 standard or High Sierra standard with Rock Ridge extensions. If you do not use these options, media error messages may display on the monitor.
Perform steps 9 through 11 on the local workstation:
Step 9 Become a superuser by entering the following command and supplying your root password:
<rootpassword>
Step 10 If the /cdrom directory does not already exist, enter the following command to create a new directory:
mkdir /cdrom
Step 11 To mount the CD-ROM, enter the following command:
remote_workstation:/cdrom /cdrom
If you are installing CiscoWorks for the first time, refer to the following section, "Installing CiscoWorks Software for the First Time." If you are upgrading from an earlier version of CiscoWorks, refer to the section, "Performing a CiscoWorks Upgrade."
CiscoWorks software is distributed on a CD-ROM. It contains CiscoWorks software and the Sybase relational database. You can install CiscoWorks from a CD-ROM drive locally or from a remote system.
The installation script, ./extract_unbundled, prompts you to supply the device name of the local or the remote CD-ROM drive or the name of the remote system and the device name of the remote drive.
You will install CiscoWorks by running the ./extract_unbundled script on your system. The extract_unbundled script provides an interactive prompt and response dialog interface that guides you through the installation process. For more information on the ./extract_unbundled script, refer to the manual pages on ./extract_unbundled.
The installation and configuration process takes 20 to 30 minutes. 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 may take longer.
The .rhosts file (root directory) on the remote system must contain the local host name and your username to access the remote system. For more information, refer to the manual pages on rhosts.
If you use a local CD-ROM drive, the CiscoWorks software is installed directly onto your system.
This section provides a detailed explanation of the CiscoWorks installation script dialog for an installation from a CD-ROM drive.
During the installation, CiscoWorks prompts you for information regarding the naming and creating of directories, and similar functions of software installation. The letters or words enclosed in brackets are the default selections that you can make if you press Return. Or, you can enter your response and press Return.
Before installing CiscoWorks, you must do the following:
The installation script uses the following values:
To install CiscoWorks, perform the following steps:
Step 1 Change the directory to the /cdrom directory:
cd /cdrom
Step 2 Enter the following command to begin the ./extract_unbundled installation dialog:
./extract_unbundled
The following message appears and asks you if you want to continue:
Step 3 Press Return (the default for yes) to continue the installation process, or enter n to cancel the process.
Step 4 Respond to each of the installation prompts (press Return to accept the default or enter your response and press Return), until you return to the UNIX prompt.
Step 5 Enter the following command to reboot your system and ensure that the new kernel is used.
Step 6 After your computer reboots, log into your system as a superuser.
Your installation is complete. Next, configure the CiscoWorks software as described in the following section, "Configuring CiscoWorks."
If your CiscoWorks installation fails, or a given application seems to be malfunctioning, take a look at the log file to see if an error was generated that you can correct. If the error condition is unusual, you may want to supply the log file to a technical support representative in order to verify and resolve the condition.
If needed, you can obtain complete log information on the installation in /usr/tmp/unbundled/.install.log. Similarly, you can obtain complete log information on the configuration process in /usr/tmp/unbundled/ncsconfigure.
When you complete the installation process, you see CiscoWorks applications dispersed among the HP OpenView menus.
After installing CiscoWorks and rebooting your system, you must configure CiscoWorks to fit your particular environment. The interactive configuration script will 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 does the following:
If you are using Network Information Service (NIS), the configuration script saves NIS-related information to the following files:
After completing the CiscoWorks configuration, refer your NIS administrator to the information in these files to update your NIS server. Your NIS administrator can add these files to the NIS database and transfer this information to the NIS server as an update.
Before configuring CiscoWorks, do the following:
This section describes how to configure CiscoWorks for the first time.
During the installation, CiscoWorks prompts you for information regarding the directory where CiscoWorks is to be configured, the users and groups who can access CiscoWorks, and similar functions of software configuration. The letters or words enclosed in brackets ([ ]) are the default selections that will be used if you press Return. To select something other than the default, enter your response and press Return.
To configure CiscoWorks, perform the following steps:
Step 1 After rebooting your system and logging in as a superuser, enter the following command to begin the CiscoWorks configuration process:
The following script displays:
Step 2 Specify that you are configuring a new installation of CiscoWorks by pressing Return to accept the default option.
Step 3 Respond to each of the configuration prompts (press Return to accept the default or enter your response), until you complete the configuration process and return to the UNIX prompt.
Step 4 After configuring CiscoWorks, you can remove the installation log files by following the instructions in the section "Removing Log Files."
Step 5 To eject the CD-ROM, enter the following commands:
cd /
umount /cdrom
eject sr0
If you are using Network Information Service (NIS), sometimes called yellow pages, the configuration script saves NIS-related information during the configuration to the following files:
/usr/tmp/CW.group, /usr/tmp/CW.prod, and /usr/tmp/CW.sybase. Your NIS administrator can add these files to the NIS database and transfer this information to the NIS server as an update.
Step 6 Enter the following command to create additional space in the database and transaction log:
$NMSROOT/etc/enlarge_nms
An interactive script prompts you for the name of the file to enlarge and the new size.
Respond to each of the configuration prompts (press Return to accept the default), until you return to the UNIX prompt.
If the message, "FIFO_config: Permission denied," displays during CiscoWorks configuration, perform the following steps:
Step 1 As root, remove the following files using the remove (rm) command:
rm /tmp/interfaces
rm $SYBASE/install/FIFO_config
rm $SYBASE/interfaces
umask 0
This allows you to rerun ncsconfigure and get the correct file permissions.
Step 2 Rerun ncsconfigure as a superuser by entering the following command:
/usr/tmp/unbundled/ncsconfigure
The configuration should run correctly. If you have further problems, refer to the troubleshooting information in the CiscoWorks User's Guide.
This section applies only to those few users who have installed an early version of CiscoWorks 2.1. All other users, whether installing CiscoWorks for the first time or replacing an existing version of CiscoWorks, should treat CiscoWorks 2.1 as a new installation.
| **before**Before continuing with the upgrade, back up your Sybase database. In case of sudden or unexpected data loss, you can restore the database from the backup copy. Unlike performing a new installation, if you are upgrading from a presales version of CiscoWorks 2.1 to the final version 2.1, CiscoWorks replaces only necessary files and automatically preserves the existing database records into the new database. @@before@@ | Caution **after**Before continuing with the upgrade, back up your Sybase database. In case of sudden or unexpected data loss, you can restore the database from the backup copy. Unlike performing a new installation, if you are upgrading from a presales version of CiscoWorks 2.1 to the final version 2.1, CiscoWorks replaces only necessary files and automatically preserves the existing database records into the new database. @@after@@ |
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," 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. 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 Ctrl-C to return to the UNIX environment. The responses you make up to the point you exit will be recorded as the defaults the next time you start the installation process.
To upgrade from your presales version of CiscoWorks 2.1 to the final CiscoWorks 2.1 on HP OpenView, perform the following steps:
Step 1 Change the directory to the /cdrom directory:
cd /cdrom
Step 2 Enter the following at the UNIX prompt:
zen# cd /cdrom
zen# ./extract_unbundled
The following script displays:
Step 3 To begin the installation process, press Return.
Step 4 Respond to each of the installation prompts. (Press Return to accept the default.) For example, when the installation script prompts you, "Verify type of installation as (n)ew or (u)pgrade," enter u for upgrade.
After you respond to each of the prompts, a CiscoWorks message confirms that the installation is completed.
This section provides information on configuring CiscoWorks.
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:
After completing the CiscoWorks configuration, your NIS administrator can add these files to the NIS database and transfer this information to the NIS server as an update.
To configure your CiscoWorks upgrade perform the following steps:
Step 1 At the UNIX prompt, enter the following.
/usr/tmp/unbundled/ncsconfigure -p Sybase sa password
Step 2 To begin the configuration process, press Return.
Step 3 Respond to each of the configuration prompts (press Return to accept the default), until you complete the configuration process and return to the UNIX prompt.
After configuring CiscoWorks, you can remove the installation log files by following the instructions in the section "Removing Log Files."
Step 4 To eject the CD-ROM enter the following commands:
cd /
umount /cdrom
eject sr0
The CD-ROM caddy is ejected from the drive.
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:
hostname# rm /usr/tmp/unbundled/.install/*.log
After installing and configuring CiscoWorks, proceed to Chapter 4, "Validating CiscoWorks Installation."
|
|