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

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 R8.0 server, the CTM R8.0 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:

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 R8.0:

/opt/CiscoTransportManagerServer8.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 either the ctms-stop or ctms-abort 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 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\TransportManagerClient8_0.


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:

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/CiscoTransportManagerClient8.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.

B.5  Uninstalling the Oracle9i Software


Caution If you remove the Oracle9i software, you cannot use CTM R8.0. 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 R8.0, see the Cisco Transport Manager Release 8.0 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.