基于Windows平台TSM 6.x版本下,如何删除初始化失败的实例。

大家知道Windows如果初始化失败了TSM的实例,注册表里残留信息非常麻烦。


如果没有彻底删除,那么你的Windows系统中如果再次初始化TSM实例,它会从Server2开始重新初始化,而非Server1,因为注册表里还有Server1的相关陈旧信息。


国外有人总结删除步骤,参考如下:


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.


你可能感兴趣的:(TSM)