You are on page 1of 2

http://www-01.ibm.com/support/docview.wss?

uid=swg21143756

Repair a TSM server instance service on Windows Technote (troubleshooting) 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 confi guration wizards), the TSM server service is created and referenced in the TSM m anagement console as well as the Windows Services Control Manager. This allows t he 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 no te which TSM server instance is being repaired and adjust the examples according ly 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(w here 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 reg istry export of the following is highly recommended before deleting the keys as a safety precaution. HKLM\Software\IBM\ADSM\CurrentVersion\console\<hostname>\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 pan el. Right click and select "Add a new TSM server". This should bring up the "Ini tial 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 wa s deleted in step 3 above (ex: Server1). b. Verify the server instance directory location is the same path as the one whe re the original dsmserv.dsk, dsmserv.opt, volhist.out, and devcnfg.out used to r eside (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, i t should be running as a Windows service. Stop this service from the TSM managem ent console or Windows services control manager. 7. Restore the backed up copies of the dsmserv.dsk, dsmserv.opt, volhist.out, an d devcnfg.out from step 2 into the new server instance directory. This will effe ctively wipe out the references to the temporary db, log, and disk volumes creat ed 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 ei ther a foreground program or Windows background service. Start the TSM server in stance via the TSM management console and verify that everything is working corr ectly. 9. Delete the temporary db, log, and disk volumes created in step 5 above. They are no longer needed.

You might also like