ADSM-L

Possible to restore db w/ no library?

2003-04-17 21:06:21
Subject: Possible to restore db w/ no library?
From: Theresa Sarver <tsarver.IFMC AT SDPS DOT ORG>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 17 Apr 2003 15:41:12 -0400
Hi All;

I'm trying to restore one of our Tivolli environents onto a test system, and 
have hit a wall - that I don't think there is a way around. ???  In short, is 
it possible to restore a Tivoli database with just a drive and NO library?

The Production TSM Server is running 5162 and the client is at v515.  Also, our 
production environment has a DLT tape library w/ 2-7337 drives.  One the test 
system however, I do not have a library available to me, only a single 
[external] DLT drive.  

Here is what I get when I try to restore in the test environment:

root@viper:/usr/tivoli/tsm/server/bin>dsmserv restore db dev=autoclass 
vol=dsm076 commit=yes

Tivoli Storage Manager for AIX-RS/6000
Version 5, Release 1, Level 6.2

Licensed Materials - Property of IBM

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

ANR0900I Processing options file
/usr/tivoli/tsm/server/bin/dsmserv.opt.
ANR7811I Direct I/O will be used for all eligible disk files.
ANR8200I TCP/IP driver ready for connection with clients on port 1500.
ANR0200I Recovery log assigned capacity is 1000 megabytes.
ANR0201I Database assigned capacity is 1008 megabytes.
ANR8500E No paths are defined for library AUTOLIB in device
configuration information file.
ANR1438W Skipping device configuration file:
/usr/tivoli/tsm/server/bin/devconfig.out.                                       
                        
       

I have edited the original devconfig file (at the bottom of this message) and 
stripped out all referenced to the second tape drive as well as the library, 
but it still complains:

root@viper:/usr/tivoli/tsm/server/bin>more devconfig.out
DEFINE DEVCLASS AUTOCLASS DEVTYPE=DLT FORMAT=DRIVE MOUNTLIMIT=2
MOUNTWAIT=60 MOUNTRETENTION=60 PREFIX=DSM LIBRARY=AUTOLIB
DEFINE LIBRARY AUTOLIB LIBTYPE=SCSI
DEFINE DRIVE AUTOLIB DLT0 ELEMENT=116 ONLINE=Yes
DEFINE PATH ADSM DLT0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=AUTOLIB 
DEVICE=/dev/mt0 ONLINE=YES

I was able to successfully add the mt1 device, however, I do not have a library 
on which to add the lb0 device.

root@viper:/usr/tivoli/tsm/server/bin>lsdev -C| grep mt
rmt0       Available 10-60-00-0,0    SCSI 8mm Tape Drive
rmt1       Available 10-68-00-2,0    Differential SCSI DLT Tape Drive
mt0        Available 10-68-00-2,0    Tivoli Storage Manager Tape Drive

Here is the orgininal devconfig file:

root@viper:/usr/tivoli/tsm/server/bin>more devconfig.orig
DEFINE DEVCLASS AUTOCLASS DEVTYPE=DLT FORMAT=DRIVE MOUNTLIMIT=2
MOUNTWAIT=60 MOUNTRETENTION=60 PREFIX=DSM LIBRARY=AUTOLIB
DEFINE DEVCLASS DBBACKUP_FILES DEVTYPE=FILE FORMAT=DRIVE
MAXCAPACITY=10485760K MOUNTLIMIT=1 DIRECTORY=/tivoli/DR/db_backups SHARED=NO
SET SERVERNAME ADSM
DEFINE LIBRARY AUTOLIB LIBTYPE=SCSI SHARED=NO
DEFINE DRIVE AUTOLIB DLT0 ELEMENT=116 ONLINE=Yes
DEFINE DRIVE AUTOLIB DLT1 ELEMENT=117 ONLINE=Yes                       
DEFINE PATH ADSM AUTOLIB SRCTYPE=SERVER DESTTYPE=LIBRARY
DEVICE=/dev/lb0 ONLINE=YES
DEFINE PATH ADSM DLT0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=AUTOLIB
DEVICE=/dev/mt0 ONLINE=YES
DEFINE PATH ADSM DLT1 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=AUTOLIB
DEVICE=/dev/mt1 ONLINE=YES                                                      
   
      

Any and all help would be much appreciated.

Thank you;
Theresa

<Prev in Thread] Current Thread [Next in Thread>