Cisco Transport Manager Installation Guide, 9.0
Appendix C: Uninstalling CTM, Cisco Edge Craft, and the Oracle Database

Table Of Contents

Uninstalling CTM, Cisco Edge Craft, and the Oracle Database

C.1  Deleting the Oracle Database

C.2  Uninstalling the CTM Server

C.3  Uninstalling the CTM Client and Cisco Edge Craft on Microsoft Windows

C.4  Uninstalling the CTM Client and Cisco Edge Craft on Sun Solaris

C.5  Uninstalling the Oracle 10g Software

C.6  Reverting to the Previous Database


Uninstalling CTM, Cisco Edge Craft, and the Oracle Database


This appendix describes how to uninstall the CTM R9.0 server, the CTM R9.0 client, Cisco Edge Craft, and the Oracle software. This appendix also describes how to delete the EMS information from the Oracle database.


Note You cannot uninstall only CTM GateWay/CORBA. To uninstall CTM GateWay/CORBA, you must uninstall the entire CTM server. See Uninstalling the CTM Server.


C.1  Deleting the Oracle Database

This section explains how to delete only the Oracle database. Before deleting the Oracle database, use the ctms-stop command to shut down the server.


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>


C.2  Uninstalling the CTM Server

Before uninstalling the CTM server, use the ctms-stop command to shut down the server.

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:

echo $DISPLAY

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:

/opt/CiscoTransportManagerServer<version>/UninstallerData/IAUninstaller.sh

For example, enter the following command to uninstall CTM R9.0:

/opt/CiscoTransportManagerServer9.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 the CTM server is still running, you are prompted with an error dialog box. To stop the uninstallation process, click OK. Use the ctms-stop command to stop the CTM server. The uninstall process will proceed once the CTM server is no longer running.


Step 6 At the Uninstall Complete screen, click Done.

Step 7 Choose y or n when prompted to remove the files that were not removed by the uninstaller script.


C.3  Uninstalling the CTM Client and Cisco Edge Craft on Microsoft Windows


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 and Cisco Edge Craft client sessions that are currently open.

Step 2 Use the Windows Add or Remove Programs tool to uninstall the CTM client.

a. From the Start menu > Control Panel, choose Add or Remove Programs.

b. In the Add or Remove Programs dialog box, choose Cisco Transport Manager Client and click Change/Remove.

c. At the Uninstall Cisco Transport Manager Client screen, click Uninstall.

d. At the prompt to close any CTM client sessions that are currently open, click OK.

e. At the Uninstall Complete screen, click Done.

f. Close the Add or Remove Programs dialog box.

Step 3 Delete the directory where the CTM client was installed. The default installation directory is C:\Cisco\TransportManagerClient9_0.


C.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:

cd /opt

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/CiscoTransportManagerClient9.0):

rm -rf <full_path_to_installation_directory>

Step 5 Enter the following command to remove the symbolic link to ctmc-start:

rm /usr/bin/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.


C.5  Uninstalling the Oracle 10g Software


Caution If you remove the Oracle 10g software, you cannot use CTM R9.0. Verify that you want to remove the Oracle 10g software before completing the following steps.


Step 1 Use the Oracle universal installer to uninstall the Oracle 10g software. See the official Oracle installation guide for more information. Enter the following commands:

su - oracle
/oracle/product/10.2.0/oui/bin/runInstaller

Step 2 Choose Uninstall all products.

Step 3 In a dual-server scenario, log into the Oracle database workstation as the root user and enter the following commands:

rm -rf /oracle/product/10.2.0
rm -rf /var/opt/oracle/oraInst.loc

Step 4 In a single-server scenario, log into the CTM server workstation as the root user and enter the following commands:

rm -rf /oracle/product/10.2.0
rm -rf /var/opt/oracle/oraInst.loc


C.6  Reverting to the Previous Database

To revert to the database as it was prior to the upgrade to CTM R9.0, see the Cisco Transport Manager Release 9.0 User Guide, which is available online at http://www.cisco.com/en/US/products/sw/opticsw/ps2204/products_user_guide_list.html. See 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.