Uninstalling Prime Optical
This chapter describes how to uninstall the Prime Optical server, the Prime Optical client, Cisco Edge Craft, and the Oracle software.
Uninstalling the Prime Optical Server
Uninstalling the Prime Optical server automatically uninstalls the Web Server, which cannot be uninstalled on its own.
Note
If Prime Optical is installed with an embedded database, the Oracle 12c software and Oracle operating system user are removed automatically along with the Prime Optical server.
Step 1
Log in to the Prime Optical server as a root user and enter the following command, where version is the specific version of the Prime Optical server that you want to uninstall:
/opt/CiscoTransportManagerServerversion
/UninstallerData/IAUninstaller.sh
For example, enter the following command to uninstall Prime Optical 10.5:
/opt/CiscoTransportManagerServer10.5.0/UninstallerData/IAUninstaller.sh
Step 2
When prompted to confirm the uninstallation, be sure to type your response in all capital letters, or the installer will quit. Enter YES.
Uninstalling the Oracle 12c Software
Caution
If you remove the Oracle 12c software, you cannot use Prime Optical 10.5. Verify that you want to remove the Oracle 12c software before completing the following steps.
Note
If Prime Optical is installed with an embedded database, the Oracle 12c software is removed automatically along with the Prime Optical server. The following steps are not required.
Step 1
Use the Oracle universal installer to uninstall the Oracle 12c software. See the Oracle 12c Installation Guide for Linux for more information. Enter the following commands:
/oracle/product/12.1.0/oui/bin/runInstaller
Step 2
Choose Uninstall all products.
Step 3
In a dual-server scenario, log in to the Oracle database workstation as a root user and enter the following commands:
rm -rf /oracle/product/12.1.0
rm -rf /var/opt/oracle/oraInst.loc
Step 4
In a single-server scenario, log in to the Prime Optical server workstation as a root user and enter the following commands:
rm -rf /oracle/product/12.1.0
rm -rf /var/opt/oracle/oraInst.loc
Reverting to the Previous Database
To revert to the database as it was prior to the upgrade to Prime Optical 10.5, see the Cisco Prime Optical 10.5 User Guide section “Restoring the Database from the Previous Backup.”
Note
The revert procedure will result in loss of local database information stored after the upgrade. In other words, a reverse database migration is not supported; rather, a backup copy of the original database is used.