Uninstalling Broadband Access Center
This chapter describes how you can uninstall Cisco Broadband Access Center (BAC).
The procedure described in this chapter uninstalls the RDU, Cisco Network Registrar extensions, the DPE, and the KDC, but it does not uninstall the Network Registrar application. Before removing BAC you must manually remove the BAC configuration on Network Registrar.
The uninstallation program removes all files found in the installation directory (the default directory is /opt/CSCObac). The program also shuts down and removes these processes, if they are detected: RDU, KDC, SNMP Agent, Tomcat, BAC agent, and DPE.
The uninstallation program does not remove files that were placed outside the installation directory. For example, a component installation places the database and database logs directories under /var/CSCObac. These files must be removed manually. (Subsequent sections describe how to delete these files.) Also, the program does not remove any files found in the Network Registrar directory.
If you have installed BAC extensions on Network Registrar, you must uninstall those extensions to completely uninstall the BAC program; otherwise, an error message similar to the following appears:
The uninstall program found a copy of the BAC extensions in the NR extension
directory(/opt/nwreg2/local/extensions/dhcp/dex/libbprextensions.so), please disable
the extensions and remove the library before uninstalling BAC.
Note The path to the Network Registrar extensions differs based on the location where you have installed Network Registrar; the default location is /opt/nwreg2.
If the uninstallation program fails to uninstall BAC, error messages appear.
This chapter describes:
This section describes the procedures to uninstall BAC.
After uninstalling BAC, manually remove the data and database logs directories. See Post-Uninstallation Task.
To uninstall BAC from the command line:
Step 1 Log in as root.
Step 2 Manually remove the configuration of the BAC extensions on the Network Registrar server. You can do this from any server that has nrcmd installed and connectivity with Network Registrar.
a. To uninstall the BAC extensions from your Network Registrar configuration, enter:
# NR_HOME/local/usrbin/nrcmd -N admin -P changeme -b <
b. To reload your DHCP server, enter:
# /etc/init.d/nwreglocal stop
# /etc/init.d/nwreglocal start
# NR_HOME/local/usrbin/nrcmd -N admin -P changeme "dhcp reload"
c. To remove the BAC extensions from the Network Registrar extensions directory, enter:
# rm -f NR_HOME/local/extensions/dhcp/dex/libbprextensions.so
Step 3 At the CLI prompt, enter:
The following information appears:
The following package is currently installed:
CSCObac Cisco BAC product
Do you want to remove this package? [y,n,?,q] y
Step 4 Enter y, and press Enter to start uninstalling.
The program again prompts you to confirm uninstalling because the uninstallation program runs on superuser (root) permission.
Step 5 Enter y and press Enter.
When uninstalling is complete, the following message appears:
Removal of <CSCObac> was successful.
After you have uninstalled BAC, you must manually remove the data and database logs directories. To remove these directories:
Step 1 Log in as root.
Step 2 Remove the data and the database logs directories. (The default directory for both is /var/CSCObac.)
For example, enter:
The data and the database logs directories are deleted.