HP RISS Components manual Recplan.Recovery.Script.Disaster.Recovery.Mode.Cmd

Models: RISS Components

1 148
Download 148 pages 28.04 Kb
Page 110
Image 110

Before you continue, make sure that you have the two volumes that contain the storage pool and database backup, and the recovery plan file.

1.Reinstall the backup server.

Use the backup server installation media to reinstall the operating system and Tivoli Storage Manager software as described in the RISS Installation Guide in “Optional backup server.” (Your HP service representative has this document.) Perform all of the steps to create a working, fresh installation of the TSM server.

NOTE:

When installing the new backup server do not use the commands /usr/local/ tsmBackup/configTiv initdel.

2.Recover the server.

a.Copy the recovery plan file back to the backup server, into the directory:c:\tsmbackup.

b.Connect to the backup server through VNC and open a command prompt.

c.Run the following command to split the recovery plan file into instructions, command files and TSM macros. (Replace <recoveryPlanFile.txt> with the actual file name.)

C:\Program Files\Tivoli\TSM\server>cscript planexpl.vbs c:\tsmbackup\<recoveryPlanFile.txt>

d.Familiarize yourself with the files that were created.

e.Place the two volumes with the backup data, TAPE.3 and 2 (note the order), in the library.

f.Add or modify the following two comments in the file RECPLAN.DEVICE.CONFIGURA- TION.FILE, so that TSM can find the backup media for restoring the database. (See the TSM Administrator’s Guide, “Automated SCSI Library at the Original and Recovery Sites,” page 788.):

/* LIBRARYINVENTORY SCSI LIB.TAPE TAPE.3 11 102*/ /* LIBRARYINVENTORY SCSI LIB.TAPE TAPE.2 12 102*/

g.Stop the TSM server by using the TSM Management Console.

Expand the tree: TSM > TSM Server1 > Reports > Service Information.

h.Right-click the service name, and select Stop.

i.Open a command prompt, change to the directory c:\tsmbackup, and run:

RECPLAN.RECOVERY.SCRIPT.DISASTER.RECOVERY.MODE.CMD

This restores the database from the tape and starts the server in a new window. It also registers the licenses and marks as destroyed the volumes that remain on the server.

j.Run the following command to ensure that the TSM database is consistent with the library volumes:

INTERNAL>audit library LIB.TAPE command

k.Check in and label two empty volumes, which will be used to restore the storage pools. See "Adding and labeling new media (command line)" on page 104.

l.To restore the storage pool, run the command:

RECPLAN.RECOVERY.SCRIPT.NORMAL.MODE.CMD

m.Return the volumes that were used to restore the database and storage pool by issuing the following commands:

tsm: INTERNAL>update volhist TAPE.3 devcl=DC.TAPE ormstate=mount- able

110 Backup system administration

Page 110
Image 110
HP RISS Components manual Recplan.Recovery.Script.Disaster.Recovery.Mode.Cmd, INTERNALaudit library LIB.TAPE command