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

Table of Contents

Removing CSRC

Removing CSRC

This chapter describes how to remove a CSRC software package and restore the LDAP database to its original state.

Removing CSRC

You can use the pkgrm command to uninstall a CSRC software package. The installer asks you to confirm that you want to remove the package. You must uninstall the CSRC packages in the opposite order in which the packages were installed. You cannot uninstall CNR until you have uninstalled the CSCOcsrcn package.

Table D-1 describes what the installer does when you remove specific CSRC packages.


Table D-1:
Package What the Installer Does

CSCOcsrcw

Restores the kas, kcs, kjs, and kxs scripts to the form they were in before you installed CSRC.

All CSRC packages

Removes all of the files associated with CSRC, except for the LDAP data and schema files.

All CSRC packages

Removes the /opt/csrc directory, if it is empty.

Removing CSRC Packages

When you uninstall the CSCOcsrcd package, the installer does not remove the following:

To uninstall a CSRC package, do the following:

Step 1 Log in as superuser, or if you are already logged in as a normal user, switch to superuser.

Step 2 Enter the following command:

# pkgrm package

 

where package is the identifier for the CSRC package you want to uninstall.

Step 3 At the prompt, enter yes to confirm that you want to remove the CSRC software, or no if you want to abandon the operation.

For example, if the LDAP server is installed on the same system as other CSRC servers and you want to install it on another system, you can use the following command line to uninstall the LDAP server.

# pkgrm CSCOcsrcd

 

You can then use the pkgadd utility to install the CSCOcsrcd package on the desired system. You must then update the csrc.cfg file on all other systems and reboot the systems. For more information on updating the csrc.cfg file, see the "Updating the csrc.cfg File" section.

Updating the csrc.cfg File

The csrc.cfg file is located in the conf subdirectory of the CSRC root directory and is installed with every CSRC software package, except CSCOcsrcd. If you move a component from one system to another, you must update the configuration parameters in the csrc.cfg file on each system and then reboot the system.

For example, if you move the LDAP server to another system, you must update the DataStore.ldap-host parameter and any other Data Store Parameters you changed, including the following parameters in the csrc.cfg file:

#Data Store Parameters
DataStore.ldap-host = ldap-host
DataStore.ldap-port = 389
DataStore.ldap-username =
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot
*DataStore.ldap-password = !ci?Pzl{
DataStore.ldap-search-base = csrcprogramname=csrc,o=NetscapeRoot
 

Note The ldap-password parameter is an encoded password (see the
"Changing Passwords" section). The asterisk at the beginning of the ldap-password parameter line indicates to CSRC that the password is encoded. You can enter a plain text password for this parameter and remove the asterisk; however, for security purposes Cisco does not recommend that you do this.

Similarly, if you move the CNR server to another system, you must update the CNR.hostname parameter and any other CNR parameters you reconfigure. For example:

#Cisco Network Registrar Parameters
CNR.hostname = cnr-host
CNR.username = admin
*CNR.password = !ciCBw|\LLz[
CNR.pathname = /opt/nwreg2
 

Restoring the Directory Database

Uninstalling CSRC does not automatically remove CSRC data and schema from the LDAP database. After you uninstall CSRC, you can restore the database to its original state by removing the CSRC data and schema. The following sections discuss how to do this.

Removing CSRC Data from the Database

To remove CSRC data from the NDS database, do the following:

Step 1 Start the Netscape Server Console using the startconsole command.

Step 2 Enter the appropriate administrator username and password.

Step 3 Double-click the Hostname entry with the name of your current host computer.

Step 4 Double-click the Server Group folder.

Step 5 Double-click the Directory Server entry. The Directory Service Console window appears.

Step 6 From the Directory Service Console window, select the Directory tab.

Step 7 In the left-hand panel, expand the folders until the Root Directory Node you assigned during CSRC installation is visible.

Step 8 Locate and highlight the csrc folder in the Root Directory Node.

Step 9 In the Edit menu, select Delete.

Step 10 In the confirmation message, click Yes to confirm the deletion.

Step 11 Select OK at the prompt.

Removing CSRC Schema from the Database

To remove CSRC schema from the NDS database, do the following:

Step 1 Start the Netscape Server Console using the startconsole command.

Step 2 Enter the appropriate administrator username and password.

Step 3 Double-click the Hostname entry with the name of your current host computer.

Step 4 Double-click the Server Group folder.

Step 5 Double-click the Directory Server entry. The Directory Service Console window appears.

Step 6 From the Directory Service Console window, select the Tasks tab.

Step 7 Click Stop the Directory Server.

Step 8 Wait for a message to appear confirming that the Directory Service has stopped and then click OK.

Step 9 Open a Terminal Window at the UNIX workstation.

Step 10 Navigate to the NDS installation directory.

Step 11 Change to the config directory.

Step 12 In the slapd.conf file, remove the lines between the following lines:

Begin CSRC Changes
    . . .
End CSRC Changes
 

Step 13 Save your changes and exit the editor.

Step 14 From the Directory Server Console, click Start the Directory Server to restart the Directory Server.

Step 15 Ensure that the following directories are empty and then delete them. In particular, remove slapd.user_at.conf and slapd.user_oc.conf from the /opt/csrc/conf directory.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Sep 25 12:38:17 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.