345 pts.
 Mounting Tape on Tape Drive using BRMS
Hi,

We have BRMS installed on AS400 V5R4.The Backup and Restore are done manually.Once the tapes are ordered the operator puts it in the tape library.Can anyone please let me know how I mount the tape on the tape drive remotely.

As an example,I am pasting below the 'Work with media Library Media ' screen

                       Work with Media Library Media                                                                           Media library . . . . . . :  TAPMLB03                          Position to . . . . . . . .               Starting characters                                                                 Type options, press Enter.                                       1=Add MLB media      2=Work with media    5=Initialize         6=Change category    7=Eject   8=Mount    9=Demount                                                                                    Media            ---BRM Information---              Opt Volume Type  Category   Media Class   Expired  Status                                                                         ED0265       *SHARE400  ULTRIUM3       *YES    Available       ED0266       *SHARE400  ULTRIUM3       *YES    Available       ED0277       *INSERT    ULTRIUM3       *YES    Inserted        ED0278       *INSERT    ULTRIUM3       *YES    Inserted        ED0279       *INSERT    ULTRIUM3       *YES    Inserted        ED0281       *INSERT    ULTRIUM3       *YES    Inserted        ED0283       *INSERT    ULTRIUM3       *YES    Inserted  

Now,if the restore was to be done from the last tape ED0283,how will I move it to tape drive (In my case TAP03 in library TAPMLB03)remotely so that I can do the restore.

I am new to BRMS and hence would appreciate if anyone can help me here.

Thanks

Hughes



Software/Hardware used:
BRMS and Tape Restore
ASKED: July 1, 2010  4:28 PM
UPDATED: July 6, 2010  8:02 PM

Answer Wiki:
To mount the tape use the tape library name TAPMLB03 instead of the device like TAP01. The tape library must be in a varied on mode with the tapes in an operational mode. In our case the tape library is TAPLTO instead of TAPMLB03. To see this use the WRKMLBSTS command and it will show the results below. The tape library will pick the device that is operational and unprotected and load and unload the tape after use if you use the TAPMLB03 as the device in BRMS and not the indivisual device like TAP01. Opt Resource Status Allocation TAPLTO VARIED ON LTO03 OPERATIONAL UNPROTECTED TAP07 OPERATIONAL UNPROTECTED TAP08 OPERATIONAL UNPROTECTED TAP09 OPERATIONAL UNPROTECTED TAP10 OPERATIONAL UNPROTECTED TAP11 OPERATIONAL UNPROTECTED
Last Wiki Answer Submitted:  July 3, 2010  8:00 pm  by  Lovemyi   2,310 pts.
All Answer Wiki Contributors:  Lovemyi   2,310 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Thank you Lovemyi.

Just to make sure that I understand correctly what you have explained,can you please confirm if following is true:

1.On Work with Media Library Media,the follwoing tapes are currently shown:

Media library . . . . . . :  TAPMLB03                         
 Position to . . . . . . . .               Starting characters 
                                                               
 Type options, press Enter.                                    
   1=Add MLB media      2=Work with media    5=Initialize      
   6=Change category    7=Eject   8=Mount    9=Demount       
 Media            ---BRM Information---            
Opt Volume Type  Category   Media Class   Expired  Status    
                                                             
    EA0266       *SHARE400  ULTRIUM3       *YES    Available 
    EA0277       *SHARE400  ULTRIUM3       *YES    Available 
    EA0278       *SHARE400  ULTRIUM3       *YES    Available 
    EA0279       *SHARE400  ULTRIUM3       *YES    Available 
    EA0281       *SHARE400  ULTRIUM3       *YES    Available 
    EA0283       *SHARE400  ULTRIUM3       *YES    Available 

Now ,if the restore was to be done from another tape with volume id EA0284 and operator had loaded it to the tape library,will the status show as INSERTED instead of AVAILABLE in the above screen?

2.To start the restore from tape EA0284,I vary on TAPMLB03 as shown below(thru WRKMLBSTS):

Device/                                                      Job  
 Opt     Resource     Status                 Allocation             name 
       TAPMLB03       VARIED ON                                          
         TAP03        OPERATIONAL            UNPROTECTED                 

3.Finally for the restore I run the following command:

===>

RSTOBJ OBJ(*ALL) SAVLIB(DBSLIB) DEV(TAPMLB03) VOL(EA0284) SEQNBR(1698) MBROPT(*ALL) ALWOBJDIF(*ALL) RSTLIB(DBSLIBXX) OUTPUT(*PRINT)   

Coding TAPMLB03 and EA0284 will ensure that the tape is automatically picked up from ‘Work with media library Media’screen in step1 ? Or do I have to use any option like option 8(Mount) specifically to Mount the tape EA0284 to the tape drive TAP03 ?

Kindly guide me thru .Many thanks for your help

Hughes

 345 pts.

 

Hughes,

The following statement is not clear.
Now ,if the restore was to be done from another tape with volume id EA0284 and operator had loaded it to the tape library,will the status show as INSERTED instead of AVAILABLE in the above screen?

For that system they will show as AVAILABLE but if that tpae library shares drives with another iSeries machine then those tapes added to the second iSeries machine via the ADDMLMBRM command would show as INSERTED when you look at the WRKMLMBRM command the iSeries machine. You can ginore thiose tapes as the system you are looking at does. It just lists them for all systems.

The step 3 Restore is absolutely correct. The tape library will pick the tape device that is assigned to it and will automatically load and unload the tape from the drive when done.

Hope this helps.

Lovemyi

 2,310 pts.