TSM 6.2.3.0 "dsmserv db restore"

adsmsuser

ADSM.ORG Member
Joined
Jan 11, 2010
Messages
118
Reaction score
2
Points
0
We have a Test-LM (TEST-LM2) and a TEST-LC (TEST-TSM2) running TSm 6.2.3.0.
After testing Standard Stuff we wanted to do a Restore of the LC Database.

- Made a Backup. Successful as the activitylog said.
- delete Files in /test-tsm2/tsmdb001 and 002.
- Tried a restart which failed as planned.
- started /opt/..../dsmserv restore db

and got:

ANR7801I Subsystem (master) process ID is 6526.
ANR0900I Processing options file /test-tsm2/server/dsmserv.opt.
ANR0921I Tracing is now active to file /tmp/trace7_restoreLC.out.
ANR7814I Using instance directory /test-tsm2/server.
ANR4726I The ICC support module has been loaded.
ANR1636W The server machine GUID changed: old value (), new value (00.00.00.00.bd.7d.11.de.b5.be.00.00.0a.ff.01.ae).
ANR8200I TCP/IP Version 4 driver ready for connection with clients on port 1950.
ANR4636I Starting roll-forward database restore.
ANR0408I Session 1 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR8920I Initialization and recovery has ended for shared library TEST-TS3500-06-3592JB3.
ANR0409I Session 1 ended for server TEST-LM2 (HP-UX).
ANR4620I Database backup series 4 operation 0 device class TEST_06_3592JB.
ANR0408I Session 2 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 2 ended for server TEST-LM2 (HP-UX).
ANR0408I Session 3 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 3 ended for server TEST-LM2 (HP-UX).
ANR8337I 3592 volume 512706JB mounted in drive E06_06_E06 (/dev/rmt/e06_06_e06).
ANR0510I Session 1 opened input volume 512706JB.
ANR1363I Input volume 512706JB opened (sequence number 1).
ANR1364I Input volume 512706JB closed.
ANR0514I Session 1 closed volume 512706JB.
ANR0408I Session 4 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 4 ended for server TEST-LM2 (HP-UX).
ANR0408I Session 5 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 5 ended for server TEST-LM2 (HP-UX).
ANR0408I Session 6 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 6 ended for server TEST-LM2 (HP-UX).
ANR0408I Session 7 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 7 ended for server TEST-LM2 (HP-UX).
ANR1402W Mount request denied for volume 512706JB - volume unavailable.
ANR0408I Session 8 started for server TEST-LM2 (HP-UX) (Tcp/Ip) for library sharing.
ANR0409I Session 8 ended for server TEST-LM2 (HP-UX).
ANR4578E Database backup/restore terminated - required volume was not mounted.

While opening and closing happens instantly!!
On the LM i see:

03.11.11 14:15:46 MEZANR8210E Unable to establish TCP/IP session with 10.16.142.60 - connection request timed out. (SESSION: 171)
03.11.11 14:15:46 MEZANR0454E Session rejected by server TEST-TSM2, reason: Communication Failure. (SESSION: 171)
03.11.11 14:15:46 MEZANR8390W Failure connecting to library client TEST-TSM2 to manage volume 512706JB. (SESSION: 171)
03.11.11 14:16:16 MEZANR8779E Unable to open drive /dev/rmt/e06_06_e06, error number= 16. (SESSION: 171)
03.11.11 14:16:16 MEZANR8311E An I/O error occurred while accessing drive E06_06_E06 (/dev/rmt/e06_06_e06) for SETPARM-3 operation, errno = 9, rc = 1. (SESSION: 171)
03.11.11 14:16:16 MEZANR8355E I/O error reading label for volume 512706JB in drive E06_06_E06 (/dev/rmt/e06_06_e06). (SESSION: 171)
03.11.11 14:16:47 MEZANR8779E Unable to open drive /dev/rmt/e06_06_e06, error number= 16. (SESSION: 165)
03.11.11 14:16:58 MEZANR8469E Dismount of 3592 volume 512706JB from drive E06_06_E06 (/dev/rmt/e06_06_e06) in library TEST-TS3500-06-3592JB3 failed. (SESSION: 165)
03.11.11 14:16:58 MEZANR8475I Dismount of volume 512706JB failed. It may still be in the drive.
03.11.11 14:16:58 MEZANR9790W Request to mount volume 512706JB for library client TEST-TSM2 failed. (SESSION: 174)

There are no firewalls.
The serverpassword ist test for both servers.
updated in devconf.out for LC and set serverpa for LM.

So whats wrong here?
I can see a session from TEST-TSM2 on TEST-LM2.
I can see the tape beeing mounted.
But TEST-TSM2 cant read it AND
After this the Tape is not UNmounted, which i have to to in the library gui by "move to home element"

audit library ... successful

any ideas? anyone had such a problem?
thanks!!!
 
I would recommend you wipeout the devconfig like I did and just define a manual library, drive, and path and then using the gui manually move the tape. It works like a charm and once the DB is restored the library will revert to using its old definitions. See my blog post here.
 
hi chad,

i will keep this in mind if IBM wont have an idea whats the problem in our environement.
because actually it SHOULD work the way i tried :) shouldn't it?

And i can do this with a SCSI/SAN Library with multiple Logical Libraries without Problems?? Just configure that one Drive as "MANUAL"!?
Just asking because the Syntax says: "Syntax for a library in a LAN"


DEFINE SERVER TEST-LM2 COMMMETHOD=TCPIP HLADDRESS=1.2.3.4 LLADDRESS=1920 SERVERPASSWORD=test
SET SERVERNAME TEST-TSM2
SET SERVERPASSWORD test

and doing SET SERVERPASSWORD test on the TEST-LM2 should make shure, that there are NO rejected sessions ^^


i just don't see why it says "ANR8390W Failure connecting to library client TEST-TSM2"
If i change the serverpa and def server password.... in the devconfig i get a connection error when starting the restore.
But why does this happen when AFTER the tape is mounted, opened AND closed from the LC.. thats weired.
 
Last edited:
Back
Top