-
null
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes how you can uninstall Broadband Access Center (BAC).
The procedure described in this chapter uninstalls the RDU, 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/CSCObpr). The program also shuts down and removes these process, 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 transaction logs directories under /var/CSCObpr. These files must be manually removed. (Subsequent sections describe how to delete these files.) But if you chose to install the home, data, and database transaction logs in the same location, as in the case of a lab installation, the uninstallation program warns you that continuing the uninstallation removes the data and log files. Also, the program does not remove any files found in the Network Registrar directory.
This chapter describes:
This section describes the procedures to uninstall BAC.
After uninstalling BAC, manually remove the Data and Database Transaction Logs directories. See Post-Uninstallation Task.
You can uninstall BAC in two modes:
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.
Note The NR_HOME path that this procedure describes is defined as the Network Registrar installation directory (the default directory is /opt/nwreg2), followed by the /regional or /local directory depending on the Network Registrar version that is installed on your system. For example, if you have installed:
•Version 6.1 or later, use /opt/nwreg2/local/ for the local cluster and /opt/nwreg2/regional for the regional cluster.
•Versions lower than 6.1, use /opt/nwreg2/local.
a. To uninstall the BAC extensions from your Network Registrar configuration, enter:
# NR_HOME/usrbin/nrcmd -N admin -P changeme -b <
BPR_HOME/cnr_ep/bin/bpr_cnr_disable_extpts.nrcmd
b. To reload your DHCP server, enter:
# /etc/init.d/nwreglocal stop
# /etc/init.d/nwreglocal start
Alternatively, enter:
# NR_HOME/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/extensions/dhcp/dex/libbprextensions.so
Step 3 At the CLI prompt, enter:
# BPR_HOME/_uninst/uninstall.bin -console
Note If you are uninstalling a lab installation, the program prompts you to confirm if you want to delete the BAC database, which resides in the home directory in a lab environment. The home directory is, by default, /opt/CSCObpr. To continue with the uninstallation, enter y and
press Enter.
The following information appears:
Welcome to the Uninstallation Program
Press Enter to uninstall Cisco Broadband Provisioning Registrar from your system.
Press Enter to Continue or 'q' to Quit:
Step 4 Press Enter to start uninstalling.
Step 5 When uninstallation ends, these messages appear:
Cisco Broadband Provisioning Registrar was Uninstalled
Cisco Broadband Provisioning Registrar files were uninstalled successfully.
Press Enter to finish:
Press Enter to exit the program.
To uninstall BAC from the graphical user interface:
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.
Note The NR_HOME path that this procedure describes is defined as the Network Registrar installation directory (the default directory is /opt/nwreg2), followed by the /regional or /local directory depending on the Network Registrar version that is installed on your system. For example, if you have installed:
•Version 6.1 or later, use /opt/nwreg2/local/ for the local cluster and /opt/nwreg2/regional for the regional cluster.
•Versions lower than 6.1, use /opt/nwreg2/local.
a. To uninstall the BAC extensions from your Network Registrar configuration, enter:
# NR_HOME/usrbin/nrcmd -N admin -P changeme -b <
BPR_HOME/cnr_ep/bin/bpr_cnr_disable_extpts.nrcmd
b. To reload your DHCP server:
# /etc/init.d/nwreglocal stop
# /etc/init.d/nwreglocal start
Alternatively, enter:
# NR_HOME/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/extensions/dhcp/dex/libbprextensions.so
Step 3 Navigate to the home directory where the BAC program is installed. The default directory is /opt/CSCObpr.
Step 4 At the CLI prompt, change to the _uninst directory and run the uninstall.bin script.
Note If you are uninstalling a lab installation, a warning appears that you are about to delete the BAC database, which resides in the home directory in a lab environment. To continue with the uninstallation, click Yes.
Step 5 The welcome screen of the uninstallation program appears. Click Next.
Step 6 The uninstallation program begins removing BAC files. When uninstallation is complete, a message appears indicating successful uninstallation. Click Finish to exit the uninstallation program.
Once you have uninstalled BAC, you must manually remove the Data and Database Transaction Logs directories.
To remove these directories:
Step 1 Log in as root.
Step 2 Remove the Data and the Database Transaction Logs. (The default directory for both is /var/CSCObpr.)
For example, enter:
# rm -rf /var/CSCObpr
The data and the database transaction logs directories are deleted.