ADSM-L

Re: Possible to restore db w/ no library?

2003-04-18 10:09:38
Subject: Re: Possible to restore db w/ no library?
From: "Kauffman, Tom" <KauffmanT AT NIBCO DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 18 Apr 2003 08:44:08 -0500
Ah, but you HAVE a library!

In your device config file (the flatfile) -- define a manual library with
one drive. It will look like this:

DEFINE LIBRARY EXB LIBTYPE=MANUAL
DEFINE DRIVE EXB DRIVE_1 DEVICE=/dev/mt1

And after you restore the database you get to delete the drives and library
so you can re-define them again.

Tom Kauffman
NIBCO, Inc

-----Original Message-----
From: Theresa Sarver [mailto:tsarver.IFMC AT SDPS DOT ORG]
Sent: Thursday, April 17, 2003 2:41 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Possible to restore db w/ no library?


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>