IT Services



Removing the TSM Client Software from Linux


Contents



1. Uninstalling TSM from Linux



1.1. Debian based systems



1.1.1. TSM 6.3

To remove the TSM 6.3 Linux client retaining the existing configuration files

 apt-get remove tsm-client tsm-client-base gskcrypt64 gskssl64

To remove the TSM 6.3 Linux client and the configuration files

 apt-get purge tsm-client tsm-client-base gskcrypt64 gskssl64

This will still leave the OUCS HFS repository set up should you wish to reinstall. To remove that do

 apt-get remove oucs-hfs-repo


1.1.2. TSM 6.2

To remove the TSM 6.2 Linux client retaining the existing configuration files

 apt-get remove tsm-client tsm-client-base gskcrypt32 gskssl32

To remove the TSM 6.2 Linux client and the configuration files

 apt-get purge tsm-client tsm-client-base gskcrypt32 gskssl32

This will still leave the OUCS HFS repository set up should you wish to reinstall. To remove that do

 apt-get remove oucs-hfs-repo


1.1.3. TSM 6.1, 5.5, 5.4

To remove the TSM Linux client retaining the existing configuration files

 apt-get remove tsm-client

To remove the TSM Linux client and the configuration files

 apt-get purge tsm-client


1.2. RPM based systems



1.2.1. TSM 6.3

To remove the TSM 6.3 Linux client

 rpm -e tsm-client tsm-client-base gskcrypt64 gskssl64

This will still leave the OUCS HFS repository set up should you wish to reinstall. To remove that do

 rpm -e oucs-hfs-repo


1.2.2. TSM 6.2

To remove the TSM 6.2 Linux client

 rpm -e tsm-client tsm-client-base gskcrypt32 gskssl32

This will still leave the OUCS HFS repository set up should you wish to reinstall. To remove that do

 rpm -e oucs-hfs-repo


1.2.3. TSM 6.1, 5.5, 5.4

To remove the TSM Linux client

 rpm -e tsm-client


1.3. Uninstalling a tar file installation



1.3.1. TSM 6.2 or 6.3

To remove the TSM 6.2 Linux client

 /opt/tivoli/tsm/client/ba/bin/HFSscheduler off
                 rm -rf /opt/tivoli
                 rm -rf /etc/adsm
                 rm -rf /usr/local/ibm/gsk* 


1.3.2. TSM 6.1

To remove the TSM 6.1 Linux client

 rm -rf /opt/tivoli
                 rm -rf /etc/adsm 


1.3.3. TSM 5.5, 5.4

To remove the TSM 5.5 or 5.4 Linux client

 /opt/tivoli/tsm/client/ba/bin/HFSsched-remove.sh
                 rm -rf /opt/tivoli
                 rm -rf /etc/adsm 


1.3.4. TSM 6.1, 5.5, 5.4

To remove the TSM Linux client

 rpm -e tsm-client


1.4. Removing log files

The log files in /var/log/dsm*.log are not removed by the removal process. You may want to remove them manually to free up disk space.



2. Uninstalling TSM 5.3 and earlier from Linux

Depending on which version you have installed will mean you have a particular package name. The following table lists the different package names (in cases of package names ending in -b1 this also could be -b2, -b3, -b4, -b6):

TSM Version 5.1 5.2 5.3
Tarball Yes Yes Yes
RPM Package name TIVsm-OUCS TIVsm-OUCS-B1 tsm-client-b1
DEB Package name tivsm-oucs tivsm-oucs-b1 tsm-client-b1

Shutdown any scheduler process running as below:

                    # If using an init script - ( here called 'dsmsched' )
                    % dsmsched stop
                    % ps -ef | grep [d]smc	# should return no output
                    
                    # if just running in the background
                    % pid=`ps -ef | grep [d]smc | awk '{print $2}'`
                    % kill -TERM $pid
                

Now uninstall the TSM software as below:

                    # Linux Redhat - as root user
                    % rpm -e TIVsm-OUCS
                    
                    # Debian Linux - as root user
                    % dpkg --purge tivsm-oucs
                    
                    # Removing an installation from tar files - as root user
                    % cd /opt
                    % rm -rf tivoli/