You are on page 1of 30

DRM steps: tsm: TSM>define devc fileclass devt=file directory=g:\sanfiles tsm: TSM>define stg filestg fileclass maxscratch=200 update

copy standard standard standard dest=filestg tsm: TSM>assign defmgmt standard standard standard tsm: TSM>activate pol standard standard tsm: TSM>update node tsmnode domain=standard tsm: TSM>define stg copypool tapeclass po=co maxscratch=10 tsm: TSM>backup stg filestg copypool tsm: TSM>q drmst create folder in SAN drive (G:) for DRM - g:\drm\plan and g:\drm\instruction tsm: TSM>set drmplanprefix "g:\drm\plan\tsmrec" ANR6700I SET DRMPLANPREFIX command completed successfully. tsm: TSM>set drminstrprefix "g:\drm\instruction\" ANR6700I SET DRMINSTRPREFIX command completed successfully. tsm: TSM>set drmprimstgpool filestg ANR6700I SET DRMPRIMSTGPOOL command completed successfully. tsm: TSM>set drmcopystgpool copypool ANR6700I SET DRMCOPYSTGPOOL command completed successfully. tsm: TSM>set drmchecklabel no Atsm: TSM>set drmcouriername "secureservices" ANR6700I SET DRMCOURIERNAME command completed successfully. NR6700I SET DRMCHECKLABEL command completed successfully. tsm: TSM>update stg copypool reusedelay=2 ANR2202I Storage pool COPYPOOL updated.

tsm: TSM>set drmdbbackupexpiredays 2 ANR6700I SET DRMDBBACKUPEXPIREDAYS command completed successfully. tsm: TSM>set drmfileprocess yes ANR6700I SET DRMFILEPROCESS command completed successfully. tsm: TSM>set drmnotmountablename "DCMRACK" ANR6700I SET DRMNOTMOUNTABLENAME command completed successfully. tsm: TSM>set drmvaultname "VAULT" ANR6700I SET DRMVAULTNAME command completed successfully. tsm: TSM>q drmst

Recovery Plan Prefix: G:\DRM\PLAN\TSMREC Plan Instructions Prefix: G:\DRM\INSTRUCTION\ Replacement Volume Postfix: @ Primary Storage Pools: FILESTG Copy Storage Pools: COPYPOOL Not Mountable Location Name: DCMRACK Courier Name: secureservices Vault Site Name: VAULT DB Backup Series Expiration Days: 2 Day(s) Recovery Plan File Expiration Days: 60 Day(s) Check Label?: No Process FILE Device Type?: Yes Command File Name:

tsm: TSM>backup db devc=fileclass type=full

tsm: TSM>q drm * wherestate=mountable

Volume Name

State

Last Update LibName

Automated

Date/Time ---------------QEN422L2 ----------------Mountable Mountable

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

---------------TSMLIB

01/10/2013 14:57:11

G:\SANFILES\57859394.DBB

01/10/2013 15:09:54

tsm: TSM>move drm * wherestate=mountable tostate=vault ANR0609I MOVE DRMEDIA started as process 9. ANS8003I Process number 9 started.

tsm: TSM>q proc

Process Number -------9

Process Description

Status

-------------------MOVE DRMEDIA

------------------------------------------------ANR6748I Number of volumes processed: 0. Checking

out volume QEN422L2 from library TSMLIB. tsm: TSM>prepare ANS8003I Process number 10 started. ============================================================================== begin PLANFILE.DESCRIPTION

Recovery Plan for Server TSM Created by DRM PREPARE on 01/10/2013 15:18:05 DRM PLANPREFIX G:\DRM\PLAN\TSMREC Storage Management Server for Windows - Version 5, Release 5, Level 6.0

end PLANFILE.DESCRIPTION

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin PLANFILE.TABLE.OF.CONTENTS

PLANFILE.DESCRIPTION PLANFILE.TABLE.OF.CONTENTS

Server Recovery Stanzas: SERVER.REQUIREMENTS RECOVERY.VOLUMES.REQUIRED RECOVERY.DEVICES.REQUIRED RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE script RECOVERY.SCRIPT.NORMAL.MODE script LOG.VOLUMES DB.VOLUMES LOGANDDB.VOLUMES.INSTALL script LICENSE.REGISTRATION macro COPYSTGPOOL.VOLUMES.AVAILABLE macro

COPYSTGPOOL.VOLUMES.DESTROYED macro PRIMARY.VOLUMES.DESTROYED macro PRIMARY.VOLUMES.REPLACEMENT.CREATE script PRIMARY.VOLUMES.REPLACEMENT macro STGPOOLS.RESTORE macro VOLUME.HISTORY.FILE DEVICE.CONFIGURATION.FILE DSMSERV.OPT.FILE LICENSE.INFORMATION

end PLANFILE.TABLE.OF.CONTENTS

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin SERVER.REQUIREMENTS

Database Requirements Summary:

Available Space (MB): 24 Assigned Capacity (MB): 24 Pct. Utilization: 65.3 Maximum Pct. Utilization: 65.3 Physical Volumes: 2

Recovery Log Requirements Summary:

Available Space (MB): 8 Assigned Capacity (MB): 8 Pct. Utilization: 18.4 Maximum Pct. Utilization: 67.6 Physical Volumes: 1

Server Installation Directory: C:\Program Files\Tivoli\TSM\

end SERVER.REQUIREMENTS

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin RECOVERY.VOLUMES.REQUIRED

Volumes required for data base restore

Location = VAULT Device Class = FILECLASS Volume Name = G:\SANFILES\57859394.DBB

Volumes required for storage pool restore

Location = VAULT

Copy Storage Pool = COPYPOOL Device Class = TAPECLASS Volume Name = QEN422L2

end RECOVERY.VOLUMES.REQUIRED

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin RECOVERY.DEVICES.REQUIRED

Purpose: Description of the devices required to read the volumes listed in the recovery volumes required stanza.

Device Class Name: FILECLASS Device Access Strategy: Sequential Storage Pool Count: 1 Device Type: FILE Format: DRIVE Est/Max Capacity (MB): 2,048.0 Mount Limit: 20 Mount Wait (min): Mount Retention (min): Label Prefix: Drive Letter:

Library: Directory: G:\SANFILES Server Name: Retry Period: Retry Interval: Twosided: Shared: WORM: No Drive Encryption: Scaled Capacity: Last Update by (administrator): ADMIN Last Update Date/Time: 01/09/2013 17:25:22

Device Class Name: TAPECLASS Device Access Strategy: Sequential Storage Pool Count: 2 Device Type: LTO Format: DRIVE Est/Max Capacity (MB): Mount Limit: DRIVES Mount Wait (min): 10 Mount Retention (min): 5 Label Prefix: ADSM Drive Letter: Library: TSMLIB

Directory: Server Name: Retry Period: Retry Interval: Twosided: Shared: WORM: No Drive Encryption: Allow Scaled Capacity: Last Update by (administrator): ADMIN Last Update Date/Time: 01/09/2013 11:05:55

end RECOVERY.DEVICES.REQUIRED

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE script

@echo off

rem Purpose: This script contains the steps required to recover the server rem to the point where client restore requests can be satisfied rem directly from available copy storage pool volumes. rem Note: This script assumes that all volumes necessary for the restore have rem been retrieved from the vault and are available. This script assumes

rem the recovery environment is compatible (essentially the same) as the rem original. Any deviations require modification to this script and the rem macros and scripts it runs. Alternatively, you can use this script rem as a guide, and manually execute each step.

if not %1.==. if not %2.==. goto start echo Specify the following positional parameters: echo administrative client ID and password. echo Script stopped. goto end :start

rem Set the server working directory. pushd "c:\program files\tivoli\tsm\server1\"

rem Restore server options, volume history, device configuration files. copy "G:\DRM\PLAN\TSMREC.DSMSERV.OPT.FILE" "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DSMSERV.OPT" copy "G:\DRM\PLAN\TSMREC.VOLUME.HISTORY.FILE" "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DRMVOLH.TXT" copy "G:\DRM\PLAN\TSMREC.DEVICE.CONFIGURATION.FILE" "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DRMDEVC.TXT"

rem Initialize the log and database files. call "G:\DRM\PLAN\TSMREC.LOGANDDB.VOLUMES.INSTALL.CMD" 1> "G:\DRM\PLAN\TSMREC.LOGANDDB.VOLUMES.INSTALL.LOG" 2>&1 type "G:\DRM\PLAN\TSMREC.LOGANDDB.VOLUMES.INSTALL.LOG"

rem Restore the server database to latest version backed up per the rem volume history file. "C:\PROGRAM FILES\TIVOLI\TSM\SERVER\DSMSERV" -k "Server1" restore db todate=01/10/2013 totime=15:09:54 source=dbb

rem Start the server. start "Server1" "C:\PROGRAM FILES\TIVOLI\TSM\SERVER\DSMSERV" -k "Server1" echo Wait for the server to start. Ensure that the Administrative command echo line client option file is set up to communicate with this server, then echo press enter to continue recovery script execution. pause

rem Set the administrative command line client directory. pushd "C:\Program Files\Tivoli\TSM\Server\tsmdiag" set DSM_DIR=C:\Program Files\Tivoli\TSM\Server\tsmdiag

rem Register the Server Licenses. dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT OUTFILE="G:\DRM\PLAN\TSMREC.LICENSE.REGISTRATION.LOG" macro "G:\DRM\PLAN\TSMREC.LICENSE.REGISTRATION.MAC"

rem Tell the Server these copy storage pool volumes are available for use. rem Recovery Administrator: Remove from macro any volumes not obtained from vault. dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT OUTFILE="G:\DRM\PLAN\TSMREC.COPYSTGPOOL.VOLUMES.AVAILABLE.LOG" macro "G:\DRM\PLAN\TSMREC.COPYSTGPOOL.VOLUMES.AVAILABLE.MAC"

rem Volumes in this macro were not marked as 'offsite' at the time rem PREPARE ran. They were likely destroyed in the disaster. rem Recovery Administrator: Remove from macro any volumes not destroyed. dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT OUTFILE="G:\DRM\PLAN\TSMREC.COPYSTGPOOL.VOLUMES.DESTROYED.LOG" macro "G:\DRM\PLAN\TSMREC.COPYSTGPOOL.VOLUMES.DESTROYED.MAC"

rem Mark primary storage pool volumes as ACCESS=DESTROYED. rem Recovery administrator: Remove from macro any volumes not destroyed. dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT OUTFILE="G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.DESTROYED.LOG" macro "G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.DESTROYED.MAC"

rem Restore the previous working directory. popd

rem Restore the previous working directory. popd

:end end RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE script

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin RECOVERY.SCRIPT.NORMAL.MODE script

@echo off

rem Purpose: This script contains the steps required to recover the server rem rem rem primary storage pools. This mode allows you to return the copy storage pool volumes to the vault and to run the server as normal.

rem Note: This script assumes that all volumes necessary for the restore rem have been retrieved from the vault and are available. This script rem assumes the recovery environment is compatible (essentially the rem same) as the original. Any deviations require modification to this rem this script and the macros and scripts it runs. Alternatively, you rem can use this script as a guide, and manually execute each step.

if not %1.==. if not %2.==. goto start echo Specify the following positional parameters: echo administrative client ID and password. echo Script stopped. goto end :start

rem Create replacement volumes for primary storage pools that use device rem class DISK. rem Recovery administrator: Edit script for your replacement volumes. call "G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.REPLACEMENT.CREATE.CMD" 1> "G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.REPLACEMENT.CREATE.LOG" 2>&1 type "G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.REPLACEMENT.CREATE.LOG"

rem Set the administrative command line client directory. pushd "C:\Program Files\Tivoli\TSM\Server\tsmdiag" set DSM_DIR=C:\Program Files\Tivoli\TSM\Server\tsmdiag

rem Define replacement volumes in the primary storage pools. Must rem have different name than original. rem Recovery administrator: Edit macro for your replacement volumes. dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT OUTFILE="G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.REPLACEMENT.LOG" macro "G:\DRM\PLAN\TSMREC.PRIMARY.VOLUMES.REPLACEMENT.MAC"

rem Restore the primary storage pools from the copy storage pools. dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT -OUTFILE="G:\DRM\PLAN\TSMREC.STGPOOLS.RESTORE.LOG" macro "G:\DRM\PLAN\TSMREC.STGPOOLS.RESTORE.MAC"

rem Restore the previous working directory. popd

:end end RECOVERY.SCRIPT.NORMAL.MODE script

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin LOG.VOLUMES "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\LOG1.DSM" 8 end LOG.VOLUMES

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin DB.VOLUMES "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\D4728677.DBV" 12 "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DB1.DSM" 12 end DB.VOLUMES

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin LOGANDDB.VOLUMES.INSTALL script

@echo off

rem Purpose: Initialize the log and database volumes. rem Recovery Administrator: Run this to initialize the server rem database and log volumes.

rem Set the server working directory. pushd "c:\program files\tivoli\tsm\server1\"

rem Erase any existing log and database volumes. erase "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\LOG1.DSM" erase "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\D4728677.DBV" erase "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DB1.DSM"

rem Install the log and database volumes. "C:\PROGRAM FILES\TIVOLI\TSM\SERVER\DSMSERV" -k "Server1" format 1 FILE:"G:\DRM\PLAN\TSMREC.LOG.VOLUMES" 2 FILE:"G:\DRM\PLAN\TSMREC.DB.VOLUMES"

rem Restore the previous working directory. popd

end LOGANDDB.VOLUMES.INSTALL script

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin LICENSE.REGISTRATION macro

/* Purpose: Register the server licenses by specifying the names */ /* of the enrollment certificate files necessary to re-create the /* licenses that existed in the server. */ */

/* Recovery Administrator: Review licenses and add or delete licenses */ /* as necessary. */

register license file(dataret.lic) register license file(tsmbasic.lic) register license file(tsmee.lic)

end LICENSE.REGISTRATION macro

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin COPYSTGPOOL.VOLUMES.AVAILABLE macro

/* Purpose: Mark copy storage pool volumes as available for use in recovery. */ /* Recovery Administrator: Remove any volumes that have not been obtained */ /* from the vault or are not available for any reason. */ */

/* Note: It is possible to use the mass update capability of the server

/* UPDATE command instead of issuing an update for each volume. However, */ /* the 'update by volume' technique used here allows you to select /* a subset of volumes to be processed. */ */

upd vol "QEN422L2" acc=READO wherestg=COPYPOOL

end COPYSTGPOOL.VOLUMES.AVAILABLE macro

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin COPYSTGPOOL.VOLUMES.DESTROYED macro

/* Purpose: Mark destroyed copy storage pool volumes as unavailable. /* Volumes in this macro were not marked as 'offsite' at the time the */ /* PREPARE ran. They were likely destroyed in the disaster. */

*/

/* Recovery Administrator: Remove any volumes that were not destroyed. */

end COPYSTGPOOL.VOLUMES.DESTROYED macro

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin PRIMARY.VOLUMES.DESTROYED macro

/* Purpose: Mark primary storage pool volumes as ACCESS=DESTROYED. /* Recovery administrator: Delete any volumes listed here /* that you do not want to recover. */ */ */

*/

/* Note: It is possible to use the mass update capability of the server

/* UPDATE command instead of issuing an update for each volume. However */ /* the 'update by volume' technique used here allows you to select /* a subset of volumes to be marked as destroyed. */ */

upd vol "G:\SANFILES\00000004.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\00000005.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\00000006.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\00000007.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\00000008.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\00000009.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\0000000A.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\0000000B.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\0000000C.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\0000000D.BFS" acc=DESTROYED wherestg=FILESTG

upd vol "G:\SANFILES\0000000E.BFS" acc=DESTROYED wherestg=FILESTG

end PRIMARY.VOLUMES.DESTROYED macro

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin PRIMARY.VOLUMES.REPLACEMENT.CREATE script

@echo off

rem Purpose: Create replacement volumes for primary storage pools that rem use device class DISK. rem Recovery administrator: Edit this section for your replacement rem volume names. New name must be unique, i.e. different from any rem original or other new name.

rem Set the TSM management console directory. pushd "C:\Program Files\Tivoli\TSM\Console\"

rem Restore the previous working directory. popd

end PRIMARY.VOLUMES.REPLACEMENT.CREATE script

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin PRIMARY.VOLUMES.REPLACEMENT macro

/* Purpose: Define replacement primary storage pool volumes for either: */ /* 1. Original volume in a storage pool whose device class was DISK. */ /* 2. Original volume in a storage pool with MAXSCRATCH=0. /* 3. Original volume in a storage pool and volume scratch=no. /* Recovery administrator: Edit this section for your replacement /* volume names. New name must be unique, i.e. different from any /* original or other new name. */ */ */ */ */

/* Replace G:\SANFILES\00000004.BFS FILECLASS 2,046.7M in FILESTG */ def vol FILESTG "G:\SANFILES\00000004.BFS@" acc=READW f=2046 wait=yes

/* Replace G:\SANFILES\00000005.BFS FILECLASS 2,045.0M in FILESTG */

def vol FILESTG "G:\SANFILES\00000005.BFS@" acc=READW f=2044 wait=yes

/* Replace G:\SANFILES\00000006.BFS FILECLASS 2,041.7M in FILESTG */ def vol FILESTG "G:\SANFILES\00000006.BFS@" acc=READW f=2041 wait=yes

/* Replace G:\SANFILES\00000007.BFS FILECLASS 2,047.2M in FILESTG */ def vol FILESTG "G:\SANFILES\00000007.BFS@" acc=READW f=2047 wait=yes

/* Replace G:\SANFILES\00000008.BFS FILECLASS 2,046.0M in FILESTG */ def vol FILESTG "G:\SANFILES\00000008.BFS@" acc=READW f=2046 wait=yes

/* Replace G:\SANFILES\00000009.BFS FILECLASS 2,040.5M in FILESTG */ def vol FILESTG "G:\SANFILES\00000009.BFS@" acc=READW f=2040 wait=yes

/* Replace G:\SANFILES\0000000A.BFS FILECLASS 2,043.8M in FILESTG */ def vol FILESTG "G:\SANFILES\0000000A.BFS@" acc=READW f=2043 wait=yes

/* Replace G:\SANFILES\0000000B.BFS FILECLASS 2,037.4M in FILESTG */ def vol FILESTG "G:\SANFILES\0000000B.BFS@" acc=READW f=2037 wait=yes

/* Replace G:\SANFILES\0000000C.BFS FILECLASS 2,038.9M in FILESTG */ def vol FILESTG "G:\SANFILES\0000000C.BFS@" acc=READW f=2038 wait=yes

/* Replace G:\SANFILES\0000000D.BFS FILECLASS 2,047.2M in FILESTG */ def vol FILESTG "G:\SANFILES\0000000D.BFS@" acc=READW f=2047 wait=yes

/* Replace G:\SANFILES\0000000E.BFS FILECLASS 2,048.0M in FILESTG */ def vol FILESTG "G:\SANFILES\0000000E.BFS@" acc=READW f=2048 wait=yes

end PRIMARY.VOLUMES.REPLACEMENT macro

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin STGPOOLS.RESTORE macro

/* Purpose: Restore the primary storage pools from copy storage pool(s). */ /* Recovery Administrator: Delete entries for any primary storage pools */ /* that you do not want to restore. */

restore stgp FILESTG

end STGPOOLS.RESTORE macro

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin VOLUME.HISTORY.FILE

************************************************************************************* ******************** * * Sequential Volume Usage History

* * * * Operation Date/Time

Updated 01/10/2013 15:18:06

Volume Type

Backup Backup Volume Device Series Oper. Seq Class Name

Volume Name

************************************************************************************* ******************** 2013/01/09 13:26:02 STGNEW 2013/01/09 18:18:05 STGDELETE 2013/01/09 18:26:55 STGNEW 2013/01/09 18:31:50 STGNEW 2013/01/09 18:36:46 STGNEW 2013/01/09 18:41:44 STGNEW 2013/01/09 18:46:39 STGNEW 2013/01/09 18:51:34 STGNEW 2013/01/09 18:56:30 STGNEW 2013/01/09 19:01:29 STGNEW 2013/01/09 19:06:47 STGNEW 2013/01/09 19:11:44 STGNEW 2013/01/09 19:16:42 STGNEW 2013/01/10 14:46:18 STGNEW 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TAPECLASS 0 TAPECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 FILECLASS 0 TAPECLASS "QEN429L2" "QEN429L2" "G:\SANFILES\00000004.BFS" "G:\SANFILES\00000005.BFS" "G:\SANFILES\00000006.BFS" "G:\SANFILES\00000007.BFS" "G:\SANFILES\00000008.BFS" "G:\SANFILES\00000009.BFS" "G:\SANFILES\0000000A.BFS" "G:\SANFILES\0000000B.BFS" "G:\SANFILES\0000000C.BFS" "G:\SANFILES\0000000D.BFS" "G:\SANFILES\0000000E.BFS" "QEN422L2"

* Location for volume G:\SANFILES\57859394.DBB is: 'VAULT' 2013/01/10 15:09:54 BACKUPFULL "G:\SANFILES\57859394.DBB" 1 0 1 FILECLASS

end VOLUME.HISTORY.FILE

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin DEVICE.CONFIGURATION.FILE

/* Device Configuration */ DEFINE DEVCLASS FILECLASS DEVT=FILE FORMAT=DRIVE MAXCAP=2097152K MOUNTL=20 DIR="G:\SANFILES" SHARE=NO DEFINE DEVCLASS FILEDEV1 DEVT=FILE FORMAT=DRIVE MAXCAP=25600K MOUNTL=32 DIR="C:\PROGRAM FILES\TIVOLI\TSM\SERVER1" SHARE=NO DEFINE DEVCLASS TAPECLASS DEVT=LTO FORMAT=DRIVE MOUNTL=DRIVES MOUNTWAIT=10 MOUNTRETENTION=5 PREFIX=ADSM LIBRARY=TSMLIB WORM=NO DRIVEENCRYPTION=ALLOW DEFINE SERVER STASERVER COMMMETHOD=TCPIP HLADDRESS=193.9.200.143 LLADDRESS=1500 NODENAME=TSMNODE PASSWORD=21d7104553cc9182a2b6dd681147cfa671 SERVERPASSWORD=2112e28a5042e59dfc7186f5569cfa2d4c SET SERVERNAME TSM SET SERVERPASSWORD 2180eacb32541c864a183ac57d75f18635 DEFINE LIBRARY TSMLIB LIBTYPE=SCSI SERIAL="0000013114541000" SHARED=YES AUTOLABEL=NO RESETDRIVE=YES DEFINE DRIVE TSMLIB DRIVE1 ELEMENT=257 ONLINE=No WWN="500308C1402DE006" SERIAL="1110245151" DEFINE DRIVE TSMLIB DRIVE2 ELEMENT=256 ONLINE=Yes WWN="500308C1402DE003" SERIAL="1110022461" DEFINE PATH TSM TSMLIB SRCTYPE=SERVER DESTTYPE=LIBRARY DEVICE=lb2.1.0.4 ONLINE=YES DEFINE PATH TSM DRIVE2 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=TSMLIB DEVICE=mt2.0.0.4 ONLINE=YES DEFINE PATH STASERVER DRIVE2 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=TSMLIB DEVICE=mt2.0.0.4 ONLINE=YES

end DEVICE.CONFIGURATION.FILE

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin DSMSERV.OPT.FILE

SANDISCOVERY ON * The following option was added by PREPARE. VOLHIST "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DRMVOLH.TXT" * The following option was added by PREPARE. DEVCONF "C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DRMDEVC.TXT" * The following option was added by PREPARE. DISABLESCHEDS YES

end DSMSERV.OPT.FILE

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

begin LICENSE.INFORMATION

Last License Audit: 01/10/2013 05:04:24 Is IBM System Storage Archive Manager in use ?: No Is IBM System Storage Archive Manager licensed ?: Yes Is Tivoli Storage Manager Basic Edition in use: Yes Is Tivoli Storage Manager Basic Edition licensed: Yes

Is Tivoli Storage Manager Extended Edition in use: No Is Tivoli Storage Manager Extended Edition licensed: Yes Server License Compliance: Valid

end LICENSE.INFORMATION

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Breaking out the DR plan(command): cscript planexpl.vbs g:\drm\plan\TSMREC.20130110.153527 > obtain the recovery volume from file TSMREC.RECOVERY.VOLUMES.REQUIRED > Review the TSM macros > Review the device configuration TSMREC.DEVICE.CONFIGURATION.FILE > Start the restore TSM server scripts by command TSMREC.RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE.cmd admin admin ******************************************************* G:\drm\plan>TSMREC.RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE.CMD Specify the following positional parameters: administrative client ID and password. Script stopped.

G:\drm\plan>TSMREC.RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE.CMD admin admin The system cannot find the path specified. The system cannot find the path specified. 0 file(s) copied. The system cannot find the path specified. 0 file(s) copied.

The system cannot find the path specified. 0 file(s) copied. The system cannot find the path specified. The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. ANR0905W Options file G:\drm\plan\dsmserv.opt not found. ANR7800I DSMSERV generated at 10:33:00 on Oct 24 2011.

Tivoli Storage Manager for Windows Version 5, Release 5, Level 6.0

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2009. All rights reserved. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR4726I The ICC support module has been loaded. Allocated space for C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\LOG1.DSM: 9437184 bytes. Allocated space for C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\D4728677.DBV: 13631488 bytes. Allocated space for C:\PROGRAM FILES\TIVOLI\TSM\SERVER1\DB1.DSM: 13631488 bytes. ANR0300I Recovery log format started; assigned capacity 8 megabytes. ANR0301I Recovery log format in progress; 4 megabytes of 8.

ANR0301I Recovery log format in progress; 8 megabytes of 8. ANR0302I Recovery log formatting took 1000 milliseconds. ANR0303I Format rate: 2048.0 pages/second. ANR0304I Page service time: 0.5 ms.

ANR0305I Recovery log format complete. ANR0306I Recovery log volume mount in progress. ANR0365I Database format started. ANR0366I Database format in progress; 0 megabytes of 24 processed. ANR0366I Database format in progress; 4 megabytes of 24 processed. ANR0366I Database format in progress; 8 megabytes of 24 processed. ANR0366I Database format in progress; 12 megabytes of 24 processed. ANR0366I Database format in progress; 16 megabytes of 24 processed. ANR0366I Database format in progress; 20 megabytes of 24 processed. ANR0367I Database format completed. ANR0353I Recovery log analysis pass in progress. ANR0354I Recovery log redo pass in progress. ANR0355I Recovery log undo pass in progress. ANR0352I Transaction recovery complete. ANR0992I Server installation complete.

ANR0905W Options file G:\drm\plan\dsmserv.opt not found. ANR7800I DSMSERV generated at 10:33:00 on Oct 24 2011.

Tivoli Storage Manager for Windows Version 5, Release 5, Level 6.0

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2009. All rights reserved. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR4726I The ICC support module has been loaded. ANR8200I TCP/IP Version 4 driver ready for connection with clients on port 1500. ANR0200I Recovery log assigned capacity is 8 megabytes. ANR0201I Database assigned capacity is 24 megabytes. ANR4517E No files have been defined for storing sequential volume history information - information cannot be read.

Wait for the server to start. Ensure that the Administrative command line client option file is set up to communicate with this server, then press enter to continue recovery script execution. Press any key to continue . . .

**************************************************** Copy the dsmserv.opt and dsmserv.dsk to the instance folder. TSM database successfully restored at this point. >Restore primary storage pool from copy storage pool, execute the script TSMREC.RECOVERY.SCRIPT.NORMAL.MODE - failed because copy volume information already exist in database. Run audit library which will delete the unavailable copy volume information from TSM database. Run checkin to checkin the copy volume into library update the copy volume from status unavailable to readonly Run the script TSMREC.RECOVERY.SCRIPT.NORMAL.MODE.cmd admin admin again The restore of primary pool started. DRM completed successfully.

You might also like