cc/td/doc/product/rtrmgmt/csrc/install
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Installing CSRC Software Packages

Installing CSRC Software Packages

After you install the software packages required for CSRC to work properly, you are ready to install the CSRC components.

Table 4-1 lists the CSRC software packages included on the CSRC distribution media. You can install each of these packages separately or all at once. You must install the packages in the same order as they are listed in the table if you install the software packages on the same host. You can choose to install the packages on the same system or on different systems (see the "Installation Worksheet" section).


Table 4-1:
Package Identifier Description Contents

CSCOcsrcd

Cisco Subscriber Registration Center LDAP data

The components that provide CSRC LDAP schema and initial data. You must install the CSCOcsrcd package on the system on which Netscape Directory Server is running.

CSCOcsrcn

Cisco Subscriber Registration Center / Cisco Network Registrar integration

The components that enable the Cisco Network Registrar's TFTP server to interoperate with CSRC and to dynamically generate DOCSIS configuration files. You must install the CSCOcsrcn package on the system on which the Cisco Network Registrar servers are installed. If, however, DNS is supported on a different host than DHCP, CSCOcsrcn is not required on the host supporting DNS.

CSCOcsrcw

Cisco Subscriber Registration Center Web user interface

The components that provide the Web-based user interface to CSRC. You must install the CSCOcsrcw package on the system on which the Netscape Application Server and Web server are running.

CSCOcsrcu

Cisco Subscriber Registration Center command line utilities

The components that provide CSRC command line utilities (for example, csrc_dbtool).

CSRC Software Packages

This chapter first provides background information you need to know about installing the CSRC packages. It then describes how to install the CSRC software packages, verify the installation, and references "Configuring Your Network for CSRC" for information on integrating CSRC into your cable network.

CSRC Installation

The following sections describe the installation requirements and how to install CSRC.

CSRC Installation Requirements

You can install the CSRC packages on multiple hosts with different operating systems, based on the CSRC data center you design. The order in which you install the CSRC packages is important if you install the packages on the same host. You must install the CSRC packages in the following order:

You can specify one or more packages on the pkgadd command line; however, when specifying multiple packages you must enter the packages on the command line in the order specified above.

As you install the CSRC software packages, do the following:

If you install multiple CSRC packages on the same host, you only need to install the required software for each package once on that host. For example, the CSCOcsrcn and CSCOcsrcw packages each require that you install Perl on the host on which the package is installed. If you install CSCOcsrcn and CSCOcsrcw on the same host, you only need to install Perl once on that host.

Using the "CSRC Installation Worksheet" for CSRC

The CSRC installer requires you to enter values that pertain to the installation of a previously installed required component (for example, the LDAP administrator password entered during the directory server installation). To ensure that you enter consistent values, refer to the appropriate boxes on the "CSRC Installation Worksheet" (see Figure 2-1) as you answer the CSRC installer's questions.

As you install CSRC, be sure to indicate the root distinguished name for CSRC data on the "CSRC Installation Worksheet" (box 20). This is the path in the directory server's hierarchy where CSRC data will be stored. The default is o=NetscapeRoot.

CSRC Installation from the Distribution Media

You can install CSRC from the CSRC distribution CD-ROM. To do this, the command line has the following syntax:

pkgadd -d /cdrom/csrc_1_0/CSRC/Solaris [-r response-file] [packages]
 

CSRC Installation from the Electronic Distribution Image

You can also install CSRC from the CSRC electronic distribution image. To do this, you must unpack the distribution image into a directory and then specify that directory in the command line. For example, if you unpack the distribution image into the CSRCdist directory, the command line has the following syntax:

pkgadd -d /CSRCdist/csrc_1_0/CSRC/Solaris [-r response-file] [packages]
 

Step 6---Install the CSRC Software Packages

Step 6 of the CSRC installation process is to install the CSRC software packages that operate with the software packages you previously installed.

Before You Begin Installing CSRC

Before you begin installing the CSRC software packages, you must confirm that the Netscape Application Server (NAS) can start without loading errors. To do this, do the following:

Step 1 Enter the following command to determine if NAS is already started:

    # /usr/bin/ps -ef | grep -i nas
     
    

Step 2 If NAS is started, check the log files (particularly the kjs_1_CCSO log file) to ensure that the NAS internal processes and extension services registered and loaded properly.

If NAS is not started, enter the following command to start it and check the log files to ensure that NAS started without loading errors.

    # NASHOME/bin/KIVAes.sh start
     
    

where NASHOME is the directory in which NAS is installed.

Step 3 After NAS starts without any loading errors, you must stop it before you begin installing the CSRC software packages. To do this, enter the following command:

    # NASHOME/bin/KIVAes.sh stop
     
    

After stopping the NAS, enter the following command to ensure that NAS did stop:

    # /usr/bin/ps -ef | grep -i nas
     
    

If NAS is stopped, no NAS processes display as the output of the ps command.

NAS must not be running when you begin installing CSRC. The CSRC installer starts NAS at the appropriate time.

CSRC Installation Procedure (first CSRC software package)

You must install CSRC as root. The following procedure describes how to install the first CSRC software package on a host. The steps in the procedure indicate the number of the box on the "CSRC Installation Worksheet" that contains the information requested. In this procedure, the first package installed on the host is CSCOcsrcd. If the first package you install on the host is another CSRC package, substitute the other package name on the command line. All other steps remain the same.

To install the first CSRC package on a host, do the following.

Step 1 Log in to your Solaris system as superuser or switch to superuser if you are logged in as a normal user.

Step 2 Enter the following command to ensure that NAS is stopped:

    # /usr/bin/ps -ef | grep -i nas
     
    

Step 3 To start the installer from the CD-ROM, enter the following command line:

    pkgadd -d /cdrom/csrc_1_0/CSRC/Solaris  CSCOcsrcd 
     
    

where 1_0 is the version number of CSRC. If you are installing another CSRC package, substitute the other package name for CSCOcsrcd.

Step 4 Enter yes to indicate that you want the installer to prompt you for all CSRC installation parameters. This allows you to create a response file that you can use later to install additional CSRC packages.

    Prompt for all CSRC installation parameters now? [no]: yes
    

Step 5 Enter the full pathname of the Perl executable (box 1).

    Enter pathname of Perl executable [/usr/bin/perl]:
     
    

If the /usr/bin/perl default does not exist, a default value does not appear in the prompt.

If you specify a pathname that does not exist, the installer displays the prompt again.

Step 6 Enter the full path of the directory in which you installed the Netscape Application Server (box 17). The default is /usr/local/nas21, if it exists.

    Enter the NAS installation root directory [/usr/local/nas21]:
     
    

If you enter a directory that does not exist, the installer displays the prompt again.

Step 7 Enter the name of the user under which the Netscape Application Server processes execute (box 18). The default displays the owner of the NAS installation root directory.

    Enter user name of the NAS owner:
     
    

While installing the CSCOcsrcw package, if you enter a username that the operating system does not recognize, the installer displays the prompt again.

While installing CSRC packages other than CSCOcsrcw, if the operating system does not recognize the username, a warning message appears indicating that the installation is continuing with the assumption that the NAS is installed on another host on which the username you specified is valid.

Step 8 Enter the full path of the directory in which you installed the LDAP directory server (box 11). The default is /usr/netscape/server4, if it exists. Otherwise, the default is none.

    Enter the LDAP server installation root directory:
    

Step 9 Enter the name of the host on which the LDAP server is installed (box 12). The default is the output of the hostname command.

    Enter the LDAP server host name:
    

Step 10 Enter the unique identifier for the LDAP server (box 13). The default is the LDAP server host name with its domain removed, if the corresponding server directory LDAP-server-root/slapd-host-name exists. Otherwise, there is no default.

    Enter directory server identifier:
    

Step 11 Enter the port number on which the LDAP server listens for queries (box 14). The default is the value of the Port parameter in the slapd.conf file, if it exists. Otherwise, there is no default.

    Enter the LDAP port number:
    

Step 12 Enter the root distinguished name (DN) for CSRC data (box 20). The root DN you specify must already exist. If it does not, you must create it. For Netscape Directory Server, the default is o=NetscapeRoot. You can use the default.

    Enter the root distinguished name for CSRC data [o=NetscapeRoot]:
    

To prevent CSRC data from conflicting with the data of other applications, a specific location is allocated in the directory server's hierarchy for CSRC data. The root DN for CSRC data is the path to this location. If you specify a DN that does not contain the substring o=, the installer displays the prompt again.

For example: ou=csrc,o=cisco.com

Step 13 Enter the administrator ID for the LDAP directory server (box 15). The default is admin.

    Enter the directory server administrator ID [admin]:
    

Step 14 Enter the password for the directory server administrator ID you specified in the previous step (box 16). You must enter the password twice identically.

    Enter the directory server administrator password:
    Again:
    

Step 15 Enter the name of the host on which the Cisco Network Registrar servers are installed (box 2). The default is the output of the hostname command.

    Enter Cisco Network Registrar host name:
     
    

Step 16 Enter the username for the Cisco Network Registrar administrator who has access to the Cisco Network Registrar database (box 3). The default is admin.

    Enter Cisco Network Registrar user name:
     
    

Step 17 Enter the password for the CNR administrator you specified in the previous step (box 4), and then enter the password again to confirm it.

    Enter password for Cisco Network Registrar "username" user: 
    Again: 
    

Step 18 Review the information the installer displays to confirm the values you entered. The installer does not display the actual value you entered for a password. Instead, it displays <not displayed>. The installer stores the passwords you entered in encoded form in both the Solaris package database and the csrc.cfg file.

If the values displayed are correct, press Enter to accept the prompt's default answer and continue installing CSRC, or enter no or quit to terminate the installation.

    Proceed with the installation of Cisco Subscriber Registration Center version [Y]?
     
    

At this point, the installer saves the parameter values you entered, if you previously indicated that you wanted to create a response file when the installer prompted you. The installer saves the parameter values in the /tmp/csrc_install_defaults file and displays a message indicating how to invoke the pkgadd utility to use the response file when installing additional CSRC packages.

CSRC Installation Procedure (additional packages)

To install additional CSRC packages on a host on which you have already installed a CSRC package, enter the following command. Substitute the package names in the command line with the one or more additional packages you are installing:

        pkgadd -d /cdrom/csrc_1_0/CSRC/Solaris -r /tmp/csrc_install_defaults CSCOcsrcn CSCOcsrcw CSCOcsrcu
        

If you want to install CSRC packages on a different host, using the response file, copy the response file to that host and invoke pkgadd as described in the above example.

As the installation of CSRC continues, the installer does the following:

If the installer fails to perform a step, it tries to undo all of the previous post-installation configuration steps and then aborts. However, the installer does not remove the files previously copied from the distribution media to the /opt/csrc directory.
If the installer successfully performs all configuration steps, it saves the configuration changes in the package database and displays a message indicating that the installation was successful.

What to Do After You Install the CSCOcsrcw Package

Cisco recommends that you replace the index.html file for your Web server with the ur-redirect.html file. This file is located in the /opt/csrc/html directory.

For Apache Web servers, the index.html file is typically located in the /opt/csrc/apache/htdocs directory.

For example, you can make a symbolic link using the following command:

ln -s /opt/csrc/html/ur-redirect.html /opt/csrc/apache/htdocs/index.html
 

Step 7---Verifying the CSRC Installation

Step 7 of the installation process is to verify the CSRC installation. Use the following procedures to verify that the CSRC is working properly. In these procedures, you create a new administrator using User Registrar and you remove the administrator using Modem Registrar.

Verifying User Registrar Administrator

To verify the User Registrar Administrator application, do the following:

Step 1 Start your browser and enter the following URL to open the CSRC Welcome page:

    http://hostname/csrc/admin.html  
     
    

where hostname is the actual name of the host on which the admin.html file is stored.

Step 2 On the CSRC Welcome page, click the following hypertext link to open the Administrator Login to User Registrar page (see Figure 4-1):

    Log in to User Registrar Administrator
     
    

Figure 4-1: Administrator Login to User Registrar Page


Step 3 Enter the following default administrator username and password in the Username and Password fields.

    Username    admin
    Password    changeme
     
    

Step 4 Click Login. The User Registrar Home page (see Figure 4-2) appears.


Figure 4-2: Home Page


Step 5 On the Home Page, click Administrators. The Manage Administrators page (see Figure 4-3) appears.


Figure 4-3: Manage Administrators Page


Step 6 On the Manage Administrators page, click Add Administrator. The Add Administrator page (see Figure 4-4) appears.


Figure 4-4: Add Administrator Page


Step 7 On the Add Administrator page, enter the following username in the Administrator username field:

    Administrator username: testadmin
     
    

Step 8 Enter a description in the Description field to further identify the administrator.

Step 9 Enter the following password in the Administrator password and Confirm password fields:

    Administrator password: 1234
    Confirm password: 1234
     
    

Step 10 Select all of the Administrator privileges checkboxes.

Step 11 Click Add Administrator. The Confirm Addition of Administrator page (see Figure 4-5) appears.


Figure 4-5: Confirm Addition of Administrator Page


Step 12 On the Confirm Addition of Administrator page, click Add Administrator to add the new administrator. The Manage Administrators page (see Figure 4-3) appears.

Step 13 On the Manage Administrators page, enter the testadmin username in the Username field and click Search to display the new administrator.

Step 14 Click Logout. The Administrator Logout from User Registrar page (see Figure 4-6) appears.


Figure 4-6: Administrator Logout from User Registrar Page


Step 15 On the Administrator Logout from User Registrar page, click Logout again to exit from the User Registrar administrator application. The Administrator Login to User Registrar page (see Figure 4-1) appears.

Proceed to the "Verifying Modem Registrar" section to continue verifying the CSRC installation.

Verifying Modem Registrar

To verify the Modem Registrar application, do the following:

Step 1 Enter the following URL in your browser to open the CSRC Welcome page:

    http://hostname/csrc/admin.html  
     
    

where hostname is the actual name of the host on which the admin.html file is stored.

Step 2 On the CSRC Welcome page, click the following hypertext link to open the Modem Registrar Login (see Figure 4-7) page:

    Log in to Modem Registrar
    

Figure 4-7: Login Page


Step 3 On the Login page, enter the following username and password in the Username and Password fields to log in as the default administrator:

    Username: admin
    Password: changeme
     
    

Step 4 Click Login. The Main Menu page (see Figure 4-8) appears.


Figure 4-8: Main Menu Page


Step 5 On the Main Menu page, click Administrators. The Manage Administrators page (see Figure 4-9) appears.


Figure 4-9: Manage Administrators Page


Step 6 On the Manage Administrators page, enter the testadmin username in the Username field and click Search to list the administrator you previously added using User Registrar.

Step 7 Locate the testadmin username in the list of currently defined administrators and click Delete for that administrator. The Confirm Deletion of Administrator page (see Figure 4-10) appears.


Figure 4-10: Confirm Deletion of Administrator Page


Step 8 On the Confirm Deletion of Administrator page, click Delete to remove the testadmin administrator.

Step 9 On the Manage Administrators page (see Figure 4-9), click Logout to exit the Modem Registrar application.

What's Next

Step 8 of the installation process is to configure your cable network for CSRC before you begin using the CSRC software. For more information, see "Configuring Your Network for CSRC."


hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Aug 17 08:49:15 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.