IBM BRMS for i

IBM BRMS for i

Connect, learn, share, and engage with IBM Power.

 View Only
Expand all | Collapse all

BRMS media class uses

  • 1.  BRMS media class uses

    Posted 24 days ago

    Hey all,

    There's a great conversation going on about the BR1>BR2 migration, and about BRMS as a whole.  This lead me to ask a question about the concept of "media class" in BRMS. 

    If all of your tapes are the same density (i.e. ULTRIUM5), what is the benefit of using multiple media classes?  From my perspective (using a VTL) there isn't much to be gained by using different media classes.  It actually creates a situation where a backup might complain about not having available media of X class, when in reality there is plenty of available tape media in the library.

    The control group sets the retention along with many other attributes of the backup.  So when does using different media classes become useful?

    Thanks,
    Steve Riedmueller



    ------------------------------
    Steven Riedmueller
    Certified IBM i Admin
    Speaker, Mentor, and Advocate
    ------------------------------


  • 2.  RE: BRMS media class uses

    Posted 24 days ago

    IDK about multiple media classes, but there are some options within a media class which do intrigue me.  For example, we never use *PERM on tapes.  We always set a retention period in the control group.  When the tape expires it just gets reused automatically and rewrites over the data on the tape.  There's an option in the media class to initialize the tape when it expires.  Normally a "who cares" kind of thing but if you really want to make sure data is gone on an *EXP tape there's your option there.  This actually was a thing here.

    But in general, I agree with you and we tend to only differentiate media classes for different media types.  You know, ULTRIUM5 vs ULTRIUM7 kind of things.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 3.  RE: BRMS media class uses

    Posted 24 days ago

    Thanks Rob for your valued input!

    I'm glad you mentioned the "initialize on expire" option.  It actually seems to be an important option to turn on with a VTL solution.  There's no "cost" in having the system "load" a virtual tape and initialize it, like there would be with a physical tape.  I've worked with two different VTL solution providers and both told me to make sure that setting is turned on within the media classes that we're using.

    I'm curious to see if anyone has any specific use cases for multiple media classes, aside from actual different media types.  I've come across an environment where 10 LPARs are all using a single media class for all backups, but in one oddball LPAR they're using 8 different media classes but nobody seems to know why.  "It's always been that way." :D



    ------------------------------
    Steven Riedmueller
    Certified IBM i Admin
    Speaker, Mentor, and Advocate
    ------------------------------



  • 4.  RE: BRMS media class uses

    Posted 24 days ago
    Edited by Robert Berendt 24 days ago

    The obvious question is:  What is different between the various media classes?  Then again, I just discovered two identical media classes.  All the values were the same except for the name of the Media class.  One was ULTRIUM# and one was ARCHIVE#.

    Only explanation I can come up with was to reduce the possibility of that special save being reused accidentally.  ARCHIVE# has one tape in it.  With a *PERM Expiration Date.  With a Creation Date just over 10 years ago.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 5.  RE: BRMS media class uses

    Posted 24 days ago

    I wonder if, in your case, the person was not quite ready to go 'all in' on BRMS.  If they weren't allowed to use special tape names for daily saves, monthly saves, annual saves, then, by golly, they were going to separate them some how.  A totally meaningless exercise since BRMS can use the creation dates, expiration dates, etc.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 6.  RE: BRMS media class uses

    Posted 24 days ago

    Hello

    Using several distinct media classes with the same density might be useful if you don't want to mix distinct types of backups on the same media. For instance, you might want to use one class for regular backups, and another class for archive purposes. Archive within BRMS provides the capability to delete the objects to recover disk space once they are backed up, because they are no longer needed online.

    A typical usage we had when I was still working is a specific media class for audit journal receivers and history log files archives. If I remember fine, you can also protect media from a media class not to be read by every one, which could be interesting for such purpose.



    ------------------------------
    Marc Rauzier
    ------------------------------



  • 7.  RE: BRMS media class uses

    Posted 23 days ago

    Hi all,

    A good reason to define at least two classes for the same format (like ULTRIUM5 or 7, for example) is when you have a VTL-type library.

    A parameter inside the media class allows you to define a media reset upon expiration. This reset is handled by the maintenance job (STRMNTBRM).

    This frees up the disk space used by the volume within the disk array attached to the VTL. If you don't do this, the disk space allocated to tape is not "cleaned up".

    This option has been available since V5R4 (in a different form at the time) with the use of virtual tapes defined within IBM i.

    I'm familiar with the subject because I was the source of this incident.

    At the time, the IBM i Service Point developed programs to overcome this deficiency while waiting to have the appropriate PTFs.

    This fix allows the deletion of virtual data to be applied, whether internal to the IBM i or in a VTL.



    ------------------------------
    Jean-Bernard MALET
    CEO/Consultant
    BACKUPKEYS
    Paris
    ------------------------------


  • 8.  RE: BRMS media class uses

    Posted 23 days ago

    But why two separate media classes?  If you want to use media reset upon expiration, why not use it on all the tapes?  Why would you want to reset the expired tapes in one case but not reset the expired tapes in another case?



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 9.  RE: BRMS media class uses

    Posted 23 days ago
    For one simple reason: one class is used for physical tapes and a second for virtual media. If you use a single media class, you will be submit the reinitialization of all media : virtual and physical.
    I'll let you evaluate the constraints of reinitializing physical tapes within a robot, whatever it may be (TS4300, TS4500, etc.), especially if you have dozens of expired tapes.
     
    In the case of a VTL, reinitializing tapes, from IBM i and BRMS perspective, is extremely fast, whereas reinitializing multiple physical tapes can be very long, even very very very long. Not to mention the unavailability of a drive...


    ------------------------------
    Jean-Bernard MALET
    CEO/Consultant
    BACKUPKEYS
    Paris
    ------------------------------


  • 10.  RE: BRMS media class uses

    Posted 23 days ago

    Perfect sense.

    It didn't click on me as we've not had a physical tape since before this decade.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 11.  RE: BRMS media class uses

    Posted 23 days ago

    In France, I have many clients who have a VTL, but some still want to outsource their tapes. Furthermore, some want to outsource encrypted tapes.
    To avoid using physical tape, it makes sense to have a second, remotely replicated VTL, but the infrastructure costs are sometimes prohibitive for some clients.
    In summary, many clients have two types of libraries: physical and VTL, but not one or the other.
    When they have a VTL, they keep their physical library for duplication or to perform SAVSYS or SAV21 from time to time.



    ------------------------------
    Jean-Bernard MALET
    CEO/Consultant
    BACKUPKEYS
    Paris
    ------------------------------


  • 12.  RE: BRMS media class uses

    Posted 23 days ago

    Again, perfect sense.

    We have the duplicate VTL as we have a VTL in each major DC, along with Power systems in each major DC.

    I can see how that might be cost prohibitive for others.

    When we had physical tapes our outsourcing was couriered and stored by/at Iron Mountain.  Not sure how much that cost as compared to a remote VTL.  And the physical labor involved took a few hours daily but I suspect the operator at the time was trying to fill time to avoid taking on new tasks as she approached retirement.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 13.  RE: BRMS media class uses

    Posted 23 days ago

    Thanks for this context Jean-Bernard!  More than one VTL vendor has stressed the importance of this "initialize upon expiration" setting.  It's so interesting to talk to the person who was originally involved in the issue which lead to this solution!

    In this environment they only have one VTL and no physical library.  I checked the 8 different media classes that are being used in one LPAR and they are all having the same settings.  In the end it only creates extra work for the Ops team to change the class of volumes whenever they get an error that there is no media available with the desired class.  I think we will change the backups so only one media class is used.



    ------------------------------
    Steven Riedmueller
    Speaker, Mentor, and Advocate
    Kisco Systems, LLC
    ------------------------------



  • 14.  RE: BRMS media class uses

    Posted 23 days ago

    Your welcome.

    I always recommend setting the minimum. The less description, the easier it is to manage.



    ------------------------------
    Jean-Bernard MALET
    CEO/Consultant
    BACKUPKEYS
    Paris
    ------------------------------


  • 15.  RE: BRMS media class uses

    Posted 23 days ago

    We have used media classes for a software-based VTL environment where we only want to replicate certain virtual tapes to another remote VTL e.g only weekly/monthly backups. To do this within the VTL software the tapes are part of 2 distinct pools, one pool with tapes set to be replicated and the other pool for non-replicated tapes. The only way we can force BRMS to 'pick' from the the correct pool of tapes e.g tapes to be replicated , is by adding tapes with a media class named REPLICATE or NONREPLICATE. These are then picked from the correct VTL pool (the backup media policy points to the correct class for the backup) and replicated/not replicated as required.

    Granted this might just be a configuration quirk of the VTL software we use.

    Thanks

    Mark Waterhouse

    Technical Consultant



    ------------------------------
    MARK WATERHOUSE
    ------------------------------



  • 16.  RE: BRMS media class uses

    Posted 23 days ago

    We replicate all tapes between VTL's.  IDK why you would not, unless you really undersized your VTL.  Or your comm is two paper cups and a string and you don't want to tie it up during the week.

    Since the VTL is in the same rack as the Power system it would be really abhorrent to lose up to a weeks worth of data by only replicating weekly backups.  Granted, you may have that covered by some method of Power system replication, but to lose those saves in time...

    But, hey, your reply is a possible case for multiple media classes and helps people to understand.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------