Table Of Contents
Uninstalling CTM, Cisco Edge Craft, and the Oracle Database
B.1 Deleting the Oracle Database
B.2 Uninstalling the CTM Server
B.3 Uninstalling the CTM Client and Cisco Edge Craft on Microsoft Windows
B.4 Uninstalling the CTM Client and Cisco Edge Craft on Sun Solaris
B.5 Uninstalling the Oracle9i Software
B.6 Reverting to the Previous Database
Uninstalling CTM, Cisco Edge Craft, and the Oracle Database
This appendix describes how to uninstall the CTM R7.2 server, the CTM R7.2 client, Cisco Edge Craft, and the Oracle software. This appendix also describes how to delete the EMS information from the Oracle database.
B.1 Deleting the Oracle Database
Step 1
Log in as the root user on the server where the Oracle database is installed.
Step 2
Enter the following commands:
cd /opt/CiscoTransportManagerServer/bin
./delete_old_db.sh <ORACLE_SID>
B.2 Uninstalling the CTM Server
Note
Before uninstalling the CTM server, use the ctms-stop command to shut down the server.
Note
Uninstalling the CTM server automatically uninstalls the web server (if the web server was installed). The web server cannot be uninstalled on its own.
Step 1
Enter the following command to set the display on your terminal:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 2
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 3
Log into the CTM server as the root user and enter the following command, where <version> is the specific version of the CTM server that you want to uninstall:
cd /opt/CiscoTransportManagerServer<version>/UninstallerData/IAUninstaller.sh
For example, enter the following command to uninstall CTM R7.0:
/opt/CiscoTransportManagerServer7.0/UninstallerData/IAUninstaller.sh
Step 4
Wait for up to 60 seconds while the following message appears:
Uninstalling Cisco Transport Manager server...
Step 5
At the Uninstall Cisco Transport Manager screen, click Uninstall.
Note
If you are prompted to stop the CTM server, click OK.
Step 6
At the Uninstall Complete screen, click Quit.
B.3 Uninstalling the CTM Client and Cisco Edge Craft on Microsoft Windows
Step 1
On the workstation where the client will be uninstalled, close any CTM client sessions and Cisco Edge Craft client sessions that are currently open.
Step 2
Use the Windows Add/Remove Programs tool to uninstall the CTM client.
a.
Choose Start > Settings > Control Panel > Add/Remove Programs.
b.
In the Add/Remove Programs dialog box, choose Cisco Transport Manager Client and click Change/Remove.
c.
At the Uninstall Cisco Transport Manager Client screen, click Uninstall.
Note
If you are prompted to close any CTM client sessions that are currently open, click OK.
d.
At the Uninstall Complete screen, click Done.
e.
Close the Add/Remove Programs dialog box.
Step 3
Delete the directory where the CTM client was installed. The default installation directory is C:\Cisco\TransportManagerClient7_2.
B.4 Uninstalling the CTM Client and Cisco Edge Craft on Sun Solaris
Note
If any reports or exports of CTM data have been stored under the client directory and need to be saved, move the reports to a different directory before uninstalling the CTM client.
Step 1
On the workstation where the client will be uninstalled, close any CTM client sessions that are currently open.
Step 2
Log in as the root user or become the root user on the workstation where the client will be uninstalled.
Step 3
Enter the following command to change directories to the /opt directory:
Step 4
Enter the following command to remove the /opt/CiscoTransportManagerClient directory:
rm -rf CiscoTransportManagerClient
If at the time of installation you specified a directory other than the default /opt/CiscoTransportManagerClient directory, enter the following command specifying the full path (for example, /opt/CiscoTransportManagerClient7.0):
rm -rf <full_path_to_installation_directory>
Step 5
Enter the following command to remove the symbolic link to ctmc-start:
Caution 
In the Bourne shell, if you enter
ctmc-start to start the client and then execute
Ctrl+C in the xterm window where the client was launched, the CTM client will terminate.
B.5 Uninstalling the Oracle9i Software
Caution 
If you remove the Oracle9i software, you cannot use CTM R7.2. Be sure that you want to remove the Oracle9i software before completing the following steps.
Step 1
Log into the Oracle database workstation as the root user and enter the following commands:
rm -rf /oraclesw9i/product/9.2
rm -rf /var/opt/oracle/oraInst.loc
Step 2
Log into the CTM server workstation as the root user and enter the same commands:
rm -rf /oraclesw9i/product/9.2
rm -rf /var/opt/oracle/oraInst.loc
B.6 Reverting to the Previous Database
To revert to the previous database prior to the upgrade to CTM R7.2, see the Cisco Transport Manager Release 7.2 User Guide, which is available online at http://www.cisco.com/en/US/products/sw/opticsw/ps2204/products_user_guide_list.html. Refer to the section "Restoring the CTM 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.