Chinaunix首页 | 论坛 | 博客
  • 博客访问: 687783
  • 博文数量: 147
  • 博客积分: 5347
  • 博客等级: 大校
  • 技术积分: 1453
  • 用 户 组: 普通用户
  • 注册时间: 2005-06-06 11:11
文章分类

全部博文(147)

文章存档

2014年(4)

2012年(9)

2011年(5)

2010年(28)

2009年(21)

2008年(29)

2007年(15)

2006年(17)

2005年(19)

我的朋友

分类: 服务器与存储

2008-11-03 09:57:28

Problem(Abstract)
Recovering a broken/corrupted TSM server service on Windows 
 
 
 
Resolving the problem
During a typical TSM server installation on Windows (using the TSM initial configuration wizards), the TSM server service is created and referenced in the TSM management console as well as the Windows Services Control Manager. This allows the TSM server to run in the background.
If the TSM server service becomes damaged or corrupted (which means that the TSM server cannot start in the background as a Windows service, but can still start in the foreground using the dsmserv.exe executable), the following steps can be taken to "repair" the TSM server service. Note: In the following examples "TSM Server1" (the default first TSM server instance) will be the TSM server instance being repaired. If not repairing the first TSM server instance, make sure to note which TSM server instance is being repaired and adjust the examples accordingly to match.

1. Stop the TSM server if it is running in a foreground MS-DOS window.

2. Make a copy the dsmserv.opt, dsmserv.dsk, volhist.out, and devcnfg.out files which are located in the program files\tivoli\tsm\serverX directory by default(where X is replaced by the TSM server instance number that is being repaired ex: program files\tivoli\tsm\server1).

3. Start the registry editor (Start -> Run -> regedit.exe) and CAREFULLY delete the following keys relating to the TSM server instance number above. Note: A registry export of the following is highly recommended before deleting the keys as a safety precaution.
HKLM\Software\IBM\ADSM\CurrentVersion\console\\Server1
HKLM\Software\IBM\ADSM\CurrentVersion\server\Server1
HKLM\System\CurrentControlSet\Services\TSM Server1

4. Open the TSM management console and select the machine name from the left panel. Right click and select "Add a new TSM server". This should bring up the "Initial Configuration Task List for TSM" wizard.

5. Install a new TSM server instance by following the first three wizards. Make sure to check the following in the Server Initialization wizard:
a. Verify the TSM server instance number being installed matches the one that was deleted in step 3 above (ex: Server1).
b. Verify the server instance directory location is the same path as the one where the original dsmserv.dsk, dsmserv.opt, volhist.out, and devcnfg.out used to reside (in step 2 above)
c. Make sure to NOT reference the original production db, log, and disk volumes in the "Server Volume Location" step. Point to a set of brand new volumes (which will be discarded later). Use the default size values.

6. After the new TSM server instance is configured/installed per step 5 above, it should be running as a Windows service. Stop this service from the TSM management console or Windows services control manager.

7. Restore the backed up copies of the dsmserv.dsk, dsmserv.opt, volhist.out, and devcnfg.out from step 2 into the new server instance directory. This will effectively wipe out the references to the temporary db, log, and disk volumes created in step 5 above, and restore the original TSM server instance state.

8. At this point, the original TSM server instance should be ready for use as either a foreground program or Windows background service. Start the TSM server instance via the TSM management console and verify that everything is working correctly.

9. Delete the temporary db, log, and disk volumes created in step 5 above. They are no longer needed. 

阅读(1441) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~