cc/td/doc/product/rtrmgmt/bacbba/bacbba25
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Pre-installation Tasks
Partitioning the Hard Disk for Installation
Setting Up the Oracle Server
Cisco Broadband Access Center Server Installation Prerequisites
Mounting the CD-ROM Manually
Important BAC Pre-installation Information

Pre-installation Tasks


This chapter describes the tasks that you must perform prior to installing the Cisco Broadband Access Center for Broadband Aggregationproduct.

This chapter includes the following sections:

Partitioning the Hard Disk for Installation

Installing the BAC software and making it run efficiently requires significant system resources.

If you partition the disk space (2x36 GB) prior to installation of the BAC complete provisioning system, most of the space (at least 40 GB) should be allocated to the BAC installation directory (the default directory is /opt).

Setting Up the Oracle Server

The Oracle database provides storage for administrative networks, devices, network resources, and subscriber data. The Oracle database is not bundled with BAC; but Oracle is a required component. Some customers may already use Oracle for other applications. In these cases, the customer must add another use for Oracle to integrate with BAC.

This section provides the information necessary to set up Oracle to work with BAC. This section contains the following topics:

Before You Begin

Read the following information before you set up Oracle and begin installing BAC:

If you have Oracle server currently installed, then you can:


Note    The only requirement is that the name given to the tablespace at the time of its creation (BAC_DAT in the example) be the same as the default tablespace listed when you create the BAC user account.

Setting Up Oracle Before BAC Installation

If you already have Oracle installed, follow these steps to set up the Oracle server. During the Oracle installation process, you must set up tablespace for the BAC subscriber (see "Creating the Oracle Tablespace" section.

To install Oracle, follow these steps:


Step 1   Install the Oracle Server. Go to:

http://otn.oracle.com/documentation/oracle8i.html

Step 2   Follow the links to perform the following tasks:


Note    You must also set up a database instance with an Oracle SID so an Oracle client can access the Oracle Server. In this case, the SID is BAC.

Step 3   Create an oracle.csh file with your unique system variables so that the BAC installation software can use the values that you specified. You must be the Oracle user and in the $ORACLE_HOME directory. The following is an example of an oracle.csh file:

setenv ORACLE_BASE /opt/oracle
setenv ORACLE_HOME /opt/oracle/product/8.1.7
setenv ORACLE_SID <sid>
setenv ORACLE_PATH $ORACLE_HOME/bin:/usr/ccs/bin/opt/oracle
setenv LD_LIBRARY _PATH $ORACLE_HOME/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib
setenv PATH .:ORACLE_PATH

Step 4   To test your Oracle connection, enter:

sqlplus <user_name> / <password>@<sid>

If the sqlplus prompt displays, then it indicates that the Oracle connection is set up properly. If not, check if your database instance is up, if the listener is up and if your environment is set up properly, then try connecting again.


Note   During the BAC installation, an active connection to the Oracle server is established. If this connection fails, the BAC installation is terminated and the script exits.



Creating the Oracle Tablespace

If you must create a tablespace for BAC, then follow these steps:


Step 1   Login as the oracle user.

Step 2   Start the Oracle Server Manager:

% svrmgrl
> connect internal

Step 3   To create the tablespace for BAC servers, specify the following:

> create tablespace <BAC_DAT>
> datafile '/<your_data_directory>/<data_file_name>'
> size 200M autoextend on next 50M maxsize unlimited;

The data directory you specify must already exist and have write permissions for the Oracle user. The tablespace and datafile names you assign are arbitrary. You can use any names that help you keep track of what files are associated with what database. The only requirement is that the name given to the tablespace at the time of its creation (<table_space_name> in the example) be the same as the default tablespace listed when you create the BAC user account.

The autoextend option allows Oracle to automatically extend your datafile. The maximum size of the datafile will be limited only by the available space on the file's disk.

Step 4   To create the BAC Oracle user account and grant access to it, perform the following:

> CREATE USER <user_name> IDENTIFIED BY <password> DEFAULT TABLESPACE <table_space_name>;
> GRANT CONNECT TO <user_name>;
> GRANT RESOURCE TO <user_name>;

You should use the chosen user name and password along with the Oracle SID (<sid>) when you specify the Oracle information during installation of the BAC product.

Step 5   Enter exit to exit the Oracle Server Manager.



Cisco Broadband Access Center Server Installation Prerequisites

You must complete several tasks before you can install the BAC software and use it, as explained in the following sections:

Setting Up Groups and Users

A Broadband Access Center (BAC) group and user account is required for BAC installation and administration. You can use this user account for running BAC by creating one group and one user only. You must perform the following tasks:


Step 1   Create a BAC group name with the admintool utility or the groupadd command. For example:

% groupadd bacgrp

Step 2   Create a BAC installation user within the BAC group you created (for example, bacgrp) for the user's group with the admintool utility or the useradd command. For example:

% useradd -g bacgrp bacuser1



Setting System Variables

Before launching the BAC installation script, you must set up certain variables in your system environment.


Note   Make certain that the /etc/password has root with sh and not csh.

To install the Cisco Configuration Engine successfully through the BAC software scripts, make certain that the kernel values for the following parameters in the /etc/system configuration file are present and have the following minimum values:

SET shmsys:shminfo_shmmax = 131072000
SET semsys:seminfo_semmns = 13500
SET semsys:seminfo_semume = 100
SET semsys:seminfo_semmni = 500

You must reboot the system if you update any of the above variables. If Oracle is installed on the same system as the BAC server, you must increase the kernel parameters as needed.


Note   If you specify a smaller value than any of the values shown, the BAC server should still work. However, it may not be able to maintain or create as many objects as you desire.

Checking the /opt Directory Permissions

The /opt directory must be set up with 755 permissions. As root, specify the following command from the root directory (cd /) to check the directory's permissions.

# ls -l | grep /opt
# drwxr-xr-x 13 root sys 512 Aug 20 20:32 opt

If the output shows anything other than only the user having write permission, and the user, group, and others all having read and execute permissions (drwxr-xr-x) as shown in the example, enter the following command to change the /opt directory permissions: # chmod 755 /opt

Mounting the CD-ROM Manually

If your CD-ROM is not automounted, follow this procedure to mount the CD-ROM manually.


Step 1   Be sure you are logged in as root.

Step 2   Specify the mount command:

# mount -F hsfs -o -ro /dev/dsk/<cddevice> /<cdpath>

where:

<cddevice> is the name of the CD-ROM driver in your system. Typically, the device name is c0t6d0s2, however, it can vary from system to system. Use the correct device name for your CD-ROM drive.

<cdpath> is the CD-ROM mount point. When selecting a mount point, use an existing directory if one is available (a standard mount point is .cdrom). If you do not have an existing directory, use the UNIX mkdir command to create one.



Important BAC Pre-installation Information

This section lists information that you should know about before and after you install the BAC application.

Before Installing BAC

Read the following items before you begin to install the BAC software package:

Some of these components may already be installed in your network. Make certain that if they are that the versions of the software are compatible with BAC. For the simplest configuration, install BAC on two machines. Install CNS NR (and Oracle if you choose to do so) on one machine and BAC, with CNS AR and CNS Notification Engine on the second machine.

The order of component installation depends on whether you already have a component installed in your system, if you must upgrade to the supported software, or if you are installing BAC for the first time.


Note    If your machine does not have these LDAP files, then copy them from another machine or find them on the Solaris CD or the Sun web site.

If you intend to use Cisco Access Registrar for AAA services, make sure it is properly configured after installing BAC. See "After Installing BAC" section for detailed information.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jun 4 12:53:46 PDT 2003
All contents are Copyright © 1992--2003 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.