How do you remove a server instance without uninstalling the TSM server?

Today while installing TSM 6.1.2 for one of my client I had end up with a crashed instance of TSM. I did not feel to reinstall TSM & wanted to delete that TSM instance & its database. Below the steps I have used to do just that:

1) Open a DOS command prompt and run “db2ilist”. This will list the TSM instances that are defined to DB2.

2) From the DOS command prompt issue “db2idrop <instance name>”. So if the instance you want to remove is “SERVER1” you would issue “db2idrop server1”

3) Open the registry to HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\Server. Here you will find the instance. Remove the instance directory. Do not remove HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\Server itself.

NOTE: Before making any registry changes it is always advised to export the registry incase you need to recover.

4) While in the registry the TSM instance service needs to be removed as well. It is located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

NOTE: Before making any registry changes it is always advised to export the registry incase you need to recover.

5) Delete all files located in the instance directory. By default, they are located in C:\Program Files\Tivoli\TSM\<instance name>

6) Delete all log and DB volumes for the instance. The location of these volumes was determined at the time of configuration. There is no default location.

NOTE: Ensure that you are deleting the correct volumes for the instance. If you delete volumes for a different instance than you are removing, that instance will no longer be operational.

7) Also ensure that c:\<instance name> is deleted.

You are now ready to run the config again.




One Response to 'How do you remove a server instance without uninstalling the TSM server?'

  1. Pierre Chapus - May 29th, 2012 at 9:54 am

    Hello

    The procedure runs well under TSM v6.31 but the Windows server need a reboot to get rid off the service, unless an error will be encountered when creating the service.

    Pierre91


Leave a Reply