Query Recovery Plan File

rdavila

ADSM.ORG Member
Joined
Aug 11, 2006
Messages
53
Reaction score
0
Points
0
Hi,

When I run PREPARE I can see that a file is created in the path configured in DRMPLANPREFIX.

I can see the file is created, but when I run QUERY RPFILE DEVCLASS=* nothing is shown. I get ANR2034E QUERY RPFILE: No match found using this criteria.

I opened the file generated by PREPARE with vi and it seems to be ok (a lot of info on the server, stg pools, scripts, etc...)

This is my QUERY DRMSTATUS:
Code:
              Recovery Plan Prefix: /tsmdata/drm/dr-recoveryplans/tsmserver1-dr
          Plan Instructions Prefix: /tsmdata/drm/dr-instructions/*
        Replacement Volume Postfix: @
             Primary Storage Pools: BACKUPPOOL DBMETADATABACKUPPOOL DIRBACKUPPOOL TAPEPOOL
                Copy Storage Pools: OFFSITE_DATA
       Not Mountable Location Name: Puerta de Libreria
                      Courier Name: Mensajero
                   Vault Site Name: Boveda
  DB Backup Series Expiration Days: 28 Day(s)
Recovery Plan File Expiration Days: 31 Day(s)
                      Check Label?: No
         Process FILE Device Type?: No
                 Command File Name:

Why does
Code:
QUERY RPFILE DEVCLASS=*
responds with
Code:
ANR2034E QUERY RPFILE: No match found using this criteria.

Soon I'll be doing our first DR Test and I need to know if I'm doing something wrong with DRM.

TIA
 
Are you using a db snapshot as the source for the prepare ? if so then you need to specify source=dbs e.g QUERY RPFILE DEVCLASS=* SOURCE=DBS as the q rpf command defaults to source=DBB
 
This only works for RP files that are stored on another TSM server (kind of like a virtual volume) using Server to Server communications, so it won't list plain RP files just stored on disk.

See the title of "help q rpfile":

QUERY RPFILE (Query Recovery Plan File Information Stored on a Target
Server)
 
hulk:
It is DB BACKUP

BBB:
That makes a lot of sense.
I guess this one goes into the RTFM category for me. :redface:

Thanks
 
Back
Top