Question & Answer
Question
How can I manually uninstall IBM® Rational® ClearCase® from a Red Hat® Linux or SUSE® Linux server by removing the installed binaries and start-up scripts?
Answer
The instructions for this process are specific to the ClearCase version installed.
For ALL ClearCase versions:
============================
- Log in as root
- Backup scheduled jobs if there are any have have been customized from their defaults or if there are newly added jobs
- To make a backup of the existing schedule run:
[root@dude ~]# cleartool schedule -get > /tmp/originalSchedule.bkup
- Once the uninstall is completed and you have re-installed ClearCase, you can use the contents of the above backup file to re-populate the scheduler
[root@dude ~]# cleartool schedule -edit
(This will display your scheduler for editing. At this point you can replace the default scheduler with the contents of the backup file replacing the default jobs from the new install.)
Replace the entire schedule? [yes] yes
(Selecting YES will save the schedule with the originally backed up contents.)
- Stop ClearCase services (/opt/rational/clearcase/etc/clearcase stop) -- VERY IMPORTANT!
- Backup the /var/adm/rational/clearcase directory
- Make sure that any customizations (such as trigger scripts or a modified atria_start) made in the /opt/rational/clearcase path are backed up
- Remove the /view directory (ClearCase services MUST be stopped before this in done!!)
ClearCase 2003.06.00 and later
============================
7. Rename (or remove) the ClearCase files in the start-up directories:
- Red Hat
mv /etc/init.d/clearcase /etc/init.d/old.clearcase
rm /etc/rc.d/rc0.d/K*clearcase
rm /etc/rc.d/rc1.d/K*clearcase
rm /etc/rc.d/rc2.d/K*clearcase
rm /etc/rc.d/rc4.d/K*clearcase
rm /etc/rc.d/rc6.d/K*clearcase
rm /etc/rc.d/rc3.d/S*clearcase
rm /etc/rc.d/rc5.d/S*clearcase
- SUSE
mv /etc/init.d/clearcase /etc/init.d/old.clearcase
rm /etc/rc3.d/K*clearcase
rm /etc/rc3.d/S*clearcase
rm /etc/rc5.d/K*clearcase
rm /etc/rc5.d/S*clearcase
cd /opt/rational/
rm -rf clearcase
8a Remove the linked atria directory structure
- cd /usr
rm -rf atria
9. Remove the adm directory (by default stored in /var/adm/rational/clearcase)
cd /var/adm/rational/
rm -rf clearcase
9a Remove the linked atria directory structure
- cd /var/adm
rm -rf atria
10. Remove the ClearCase kernel modules
modprobe -r mvfs
*Red Hat systems only
modprobe -r vnode
10a Remove the mvfs kernel module
cd /lib/modules/<kernel version>/kernel/fs/
rm -fr mvfs
11. Reboot the server.
ClearCase is now completely de-installed from the system.
Related Information
[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2003.06.00;7.0;7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21257486