Veritas-bu

[Veritas-bu] Expiring media

2004-08-06 11:17:37
Subject: [Veritas-bu] Expiring media
From: james.park AT bt DOT com (james.park AT bt DOT com)
Date: Fri, 6 Aug 2004 16:17:37 +0100
Yeah that too.  I was simply answering his question of ..
 
"Is thre any way to expire a media which its media catalog is missed?"
 
 

        -----Original Message----- 
        From: Tim Hoke [mailto:thoke AT northpeak DOT com] 
        Sent: Fri 06/08/2004 14:40 
        To: Arif Budiman 
        Cc: Park,JR,James,X2 C; veritas-bu AT mailman.eng.auburn DOT edu 
        Subject: RE: [Veritas-bu] Expiring media
        
        

        Did it get rid of the images as well?  My guess is NO!
        
        Here's the problem you ran into.  When the mediaDB was overwritten 
during
        the upgrade, you lost one of the three critical DBs.
        
        Without too much detail, here are the DBs:
        
        Image DB: Contiains information about what was backed up on each client
        and where to get it for a restore.  Stored on Master server in
        netbackup/db/images.
        
        MediaDB: Contains information about tapes once they are written (# 
images,
        expiration dates, etc).  This is kept on each media server in
        netbackup/db/media/mediaDB.
        
        VolDB: Contains information on physical charecteristics of tapes (#
        mounts, assignement, location in/out of a library, etc).
        
        In your case, you probably ended up in a situation where there were 
images
        on media (imageDB) and the tapes were assigned (volDB).
        
        To remedy this situation can be quite time consuming and should not be
        taken lightly.
        
        You'll first want to check out if there are images on the tapes to do
        that, run bpimmedia.
        
        Next, determine if they are valid.  If they are, you'll want to consider
        importing the tapes so as to re-create the mediaDB entries.  If they
        aren't valid, you can remove the remains.  To do that will require
        bpexpdate -justimage -m $MID -d 0 followed by the vmquery -deassignbyid 
to
        remove the assignment and make the tape available for re-use.
        
        You might consider contacting PS for some assistance as they have some
        tools to help identify problems and clean them up.
        
        -Tim
        
        
        On Fri, 6 Aug 2004, Arif Budiman wrote:
        
        > Great james, it works !
        > Thank you so much..
        > 
        >
        > Regards,
        > Arif Budiman
        > PTExcelcomindo Pratama
        >
        > -----Original Message-----
        > From: james.park AT bt DOT com [mailto:james.park AT bt DOT com]
        > Sent: 06 Agustus 2004 15:26
        > To: Arif Budiman; veritas-bu AT mailman.eng.auburn DOT edu
        > Subject: RE: [Veritas-bu] Expiring media
        >
        >
        > use "vmquery" deassignbyid, then the tape will be expirable
        > 
        > Usage: vmquery [-h <volume_database_host>,...,-h 
<volume_database_host>]
        >            [-b | -w | -l]
        >            {
        >            -a |
        >            -m <media_id> |
        >            -v <volume_group> |
        >            -rn <robot_number> |
        >            -rt <robot_type> |
        >            -mt <media_type> |
        >            -p <pool_number> |
        >            -pn <pool_name> |
        >            -res <robot_type> <robot_number> <robot_control_host>
        >                 <robot_coord1> <robot_coord2> |
        >            -assignbyid <media_id> <media_type> <pool_number> <status>
        >                        <assigntime> |
        >            -deassignbyid <media_id> <pool_number> <status>
        >            }
        >
        > -----Original Message-----
        > From: veritas-bu-admin AT mailman.eng.auburn DOT edu
        > [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of 
Arif
        > Budiman
        > Sent: 06 August 2004 09:13
        > To: veritas-bu AT mailman.eng.auburn DOT edu
        > Subject: [Veritas-bu] Expiring media
        >
        >
        > Hi guys,
        > Is thre any way to expire a media which its media catalog is missed?
        > I tried to use bpexpmedia, but it requires a media server contains the
        > media catalog. A guy reinstall the previous media server and delete 
the
        > media catalog.
        >
        > Regards,
        > Arif Budiman
        > PTExcelcomindo Pratama
        >
        >
        
        



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