DRM Documentation

Rick111

ADSM.ORG Member
Joined
Feb 21, 2005
Messages
98
Reaction score
0
Points
0
Location
Liverpool
Website
vpnova.com
I have recently setup a DRM Enviroment and then simulated a disaster and had to recover the TSM server, all went well.



I put these notes together while running through these stages and throught they might be useful for anyone trying a similar scenario

(notes are not revised, feel free to comment on potential mistakes)

---------------

Setting up the enviroment

1. First ‘query drmstatus’ for current setup

2. Set database expiry ‘set drmdbbackupexpiredays 10’

3. Set DRM to work with file device classes ‘set drmfileprocess yes’

4. Set the location of the prepare plan, create recplans folder within the baclient dir first, then submit ‘set drmplanprefix "c:\Program Files\Tivoli\TSM\recplans\"’

5. Set the location of the instruction files, create recinst folder first ‘set drminstrprefix "c:\Program Files\Tivoli\TSM\recinst\"’





Ensure maintenance script is correctly configured to backup the storage pools, database and is assigned to run at a scheduled interval.



At a predefined time an administrator will run the following commands as to understand what media will be required to take offsite:

Cmd query drmedia * wherestate=mountable (This identifies what media is to be checked out of the library)

Cmd move drmedia * wherestate=mountable (This will check the volumes out and update their status to ‘not mountable’) If using tapes, physically remove them from the library and when they are ready to leave site proceed to the next command

Cmd move drmedia * wherestate=notmountable (TSM is now aware that the tapes are in transit with the courier and the state updated to ‘courier’)



Run the ‘prepare’ command and copy the file to a diskette and give this disk to the courier

Cmd query drmedia * wherestate=vaultretrieve (This list is handed to the courier so he can returned the volumes)



To check the volumes back in that have came back from the courier, run the following command. Please note that the first half of the command deletes the volumes from the database/storage pools and the second half checks them into the library as scratch volumes. If you wanted to manage which volumes you were to use as scratch, by checking them in when required, you would not use the second part of the command. Cmd move drmedia * wherestate=courierretrieve checkin libv [3584lib] search=bulk checkl=barcode status=scratch



When the volumes that are with the courier have reached the vault run ‘move drmedia * wherestate=courier’



When the volumes that were in the ‘vault retrieve’ state are passed to the courier run ‘move drmedia * wherestate=vaultretrieve’







Notes: Written when using only disk primary and copy pools, so untested with library

----------------------



RECOVERING FROM A DISASTER



TSM Disaster Recovery



Required files: planfile, database files, bfs files, volhist.out, devcnfg.out and dsmserv.opt



1. Install TSM Server per documentation and run minimal configuration taking parameters from the prepare file

2. Ensure server is licensed

3. Run through prepare file setting up device classes and ensure you have the volumes required for restore

4. Copy volhist.out, devcnfg.out and dsmserv.opt to tsm\server1 and tsm\server

5. Copy bfs files to location where the devc is configured to read from

6. Run ‘dsmserv.exe –k “Server1” restore db todate=xx/xx/xxxx totime=xx:xx:xx source=dbb’ get date/time from prepare file

7. Start drmserv.exe with no parameters, when successful, end exe and start service

8. Test a restore

----------------



Peace and love

111
 
Thanks for taking the time to post, given the time of year you must be really dedicated to the world of Tsm.......i'll certainly be trying it out after the holidays :)
 
Back
Top