Skip to main content

Backup Recovery and Media Services

BRMS for IBM i

7.1 Overview 

Graphical interface enhancements

Recovery enhancements

Media services enhancements

Advanced Feature enhancements

Network enhancements

Install enhancements

Incremental saves of spooled file lists 

Recovery enhancements

Incremental saves of spooled file lists are now supported based on the creation date of the spooled files. This will allow users to save only new spooled files during backups. This function is available after loading the following PTFs:

Note: Incremental saves of spooled files are only available when using spooled file list backup items (*SPL) in controlgroups. Incremental saves done using library backup items in control groups will not save newly created spooled files.

Support to allow duplicate media to have the same expiration as the original media 

When using BRMS to run duplicates, DUPMEDBRM, the expiration date of the duplicate media will normally not have the same expiration date as the original media.

With PTF SI33971 (V5R3M0), SI33974 (V5R4M0) or SI33975 (V6R1M0) or superseding PTFs, it is possible to allow the expiration date of the duplicate volume to match the expiration date of the original volume.

In V6R1M0 or above specify *FROMVOL on DUPMEDBRM EXPDATE parameter.

In V5R3M0 and above, set the value to one of the following to get *FROMVOL expiration date in the DUPMEDBRM EXPDATE parameter:

010170 for systems with a Date format of *MDY
010170 for systems with a Date format of *DMY
700101 for systems with a Date format of *YMD

Adding object omits to a BRMS control group via green screen 

The ability to use an API to add and remove object level omit's to control group items has been introduced for V5R3 and V5R4.

Note: The following BRMS PTF or their supersede is required

V5R3M0            SI30646
V5R4M0            SI30647

This is included in the base code of BRMS at V6R1M0

Add Control Group Entry Object Omit (Q1AADDCGEO) API

This API will allow a way to programmatically add object omits to a backup item in a backup control group. Folders are not supported. Only libraries (includes generics), configuration and security data and user authority information for ASPs 2-32.

Required Parameter Group:

  1. Control group name Input Char(10)
  2. Control group type Input Char(10)
  3. Control group sequence number Input Binary(4)
  4. Objects to omit library name Input Char(10)
  5. Objects to omit type Input Char(10)
  6. Objects to omit name Input Char(10)
  7. Error code I/O Char(*)

Required Parameter Group

  1. Control group name INPUT CHAR(10) Specifies the name of the control group that is having an object omit added.

  2. Control group type INPUT CHAR(10) Specifies what type of control group is to be used. Backup, Archive, or Migration are the 3 types. Only Backup is currently supported. The possible value follows:

              *BKU A backup control group will be created.

  3. Control group entry sequence number INPUT BINARY(4) Indicates which entry is to have objects omitted. The possible values are:

              10 -9990 Specifies the entry to use. Type a sequence number from 10 through 9990.

  4. Objects to omit library name INPUT CHAR(10) Specifies the name of the library containing the objects to be omitted during the save. The possible values are:

              *SAVCFG Configuration data is to be omitted from the system or system information save. (*SAVSYS or *SAVSYSINF)
              *SAVSECDTA Security data is to be omitted from the system or system information save. (*SAVSYS or *SAVSYSINF)
              *USRASPAUT Omit the BRMS save of the authority information from user auxiliary storage pools (2-32) from the system or system information save. (*SAVSYS or *SAVSYSINF)
              Library-name The objects are to be omitted from this library. generic*-library-name The objects are to be omitted from these generic libraries.

  5. Objects to omit object type INPUT CHAR(10) Specifies the type of objects omitted during the save. (This attribute is available on servers at V5R3 and above.)

              *ALL All object types are omitted.
              Object-type Objects of this type are omitted. This can be any valid special value supported by the Object type parameter on the i5/OS save commands.

  6. Objects to omit object name INPUT CHAR(10) Specifies the name of the objects omitted during the save. (This attribute is available on servers at V5R3 and above.) The possible values are:

              *ALL All objects of the specified library and type are omitted.
              generic*-object-name Objects having this generic name are omitted.
              object-name Object having this name are omitted.

  7. Error code I/O CHAR(*) The structure in which to return error information. For the format of the structure, see the Error Code Parameter topic in the i5/OS Information Center.

Remove Control Group Entry Object Omit (Q1ARMVCGEO) API

This API will allow a way to programmatically remove object omits from a backup item in a backup control group. Folders are not supported. Only libraries (includes generics), configuration and security data and user authority information for ASPs 2-32.

Required Parameter Group:

  1. Control group name Input Char(10)
  2. Control group type Input Char(10)
  3. Control group sequence number Input Binary(4)
  4. Error code I/O Char(*)

Required Parameter Group

  1. Control group name INPUT CHAR(10) Specifies the name of the control group that is having an object omit added.
  2. Control group type INPUT CHAR(10) Specifies what type of control group is to be used. Backup, Archive, or Migration are the 3 types. Only Backup is currently supported. The possible value follows.

              *BKU A backup control group will be created.

  3. Control group entry sequence number INPUT BINARY(4) Indicates which entry is to have objects omitted. The possible values are:

              10 -9990 Specifies the entry to use. Type a sequence number from 10 through 9990.

  4. Error code I/O CHAR(*) The structure in which to return error information. For the format of the structure, see the Error Code Parameter topic in the i5/OS Information Center.

Sample programs

The following illustrates called Q1AADDCGEO to create an omit for a data area DA in library OMITLIB, which is in control group TESTOMITS at sequence 20.

PGM
    DCL   VAR(&SEQ) TYPE(*INT) LEN(4) VALUE(20)
    DCL   VAR(&ERRCODE) TYPE(*CHAR) LEN(16) VALUE(X'0000000000000000')
    CALL   PGM(QBRM/Q1AADDCGEO) PARM('TESTOMITS ' '*BKU   ' &SEQ 'OMITLIB '
    + '*DTAARA ' 'DA   ' &ERRCODE)
ENDPGM

The following illustrates called Q1ARMVCGEO to remove an omit for control group TESTOMITS at sequence 20.

PGM
    DCL   VAR(&SEQ) TYPE(*INT) LEN(4) VALUE(20)
    DCL   VAR(&ERRCODE) TYPE(*CHAR) LEN(16) VALUE(X'0000000000000000')
    CALL   PGM(QBRM/Q1ARMVCGEO) PARM('TESTOMITS ' '*BKU   ' &SEQ &ERRCODE)
ENDPGM

BRMS Software-based Encryption 

V6R1 BRMS offers a software-based encryption function. Here is some information about this function:

BRMS-based encryption
(Compared with regular tape saves)
Performance CPU Utilization
Source file saves Minimal impact approx double
Usermix Saves approx 30% degradation approx double
Largefile Saves approx 50% degradation approx 3-5* increase
Source file restores minimal impact approx 40% increase
Usermix restores approx 25% degradation approx 40% increase
Largefile restores approx 4% degradation approx 5-7* increase

Performance tests were run on an i570 and an i570 MMA 4-way system with EXP24 disk and LTO3 tape

Performance details are available in the V6R1 Performance Capabilities Reference, pg 239-240 (PDF, 1.19MB)

For more information on the V6R1 BRMS encryption function, review the encryption section in the V6R1 BRMS publication, pg 163-166 (PDF, 5MB)

Get Adobe® Reader®

Specific System Synchronization in a Flash Copy Environment 

Specific System Synchronization

BRMS saves write to BRMS media. A BRMS system can only perform saves to BRMS media that it owns. Each save generates data, referred to here as save history. Media may contain save history for multiple saves. The save history for each save on media is owned by a BRMS system. It is possible that each save history may be owned by different systems and also be different than the system that owns the media itself. The following discussion involves save history and save history owners, it does not involve the owner of the media itself.

The existing BRMS function of receiving save history remains unchanged. That function meets the needs of many customers, but in large BRMS network groups excessive amounts of undesired network traffic and database records are sent to all of the BRMS systems receiving save history. For example, a cluster may consist of three systems: Production, High Availability (HA) and a Backup. The save history from a Backup system is only relevant to the Production and High Availability systems, but it is being synchronized and stored on all the systems in the BRMS network group. This is significant when there can be a hundred or more systems in the BRMS network group.

The new function described herein allows the BRMS system generating the save history (i.e. performing the backups) to determine which systems will receive the save history, and whether the systems should own the save history. Thus, the Backup system of a cluster can specify which system will receive the save history for a specific IASP. In addition to selecting the target system, if the option to change the save history owner is implemented, it will appear as if the target system performed the backup. In other words, if the backup of library LIBA on IASP 33 (named "IASP01") was performed on the Backup system, when it is synchronized to the Production and HA systemswith a change in ownership, the Production and HA systems can view the backup of library LIBA on iASP01 as if it occurred locally. STRRCYBRM ACTION(*RESTORE) will display the library, and if the IASP is available and has LIBA on it, the recovery report will show recovery steps for LIBA in IASP01.

Library-level save history can be synchronized to specific systems and the system owner of the synchronized data can be changed to make it appear as if the backup occurred on the target system in one of two ways:

  1. In releases i7.1 and later, the Manage Systems section of the BRMS graphical user interface (GUI) can be used to setup the system synchronization environment.
  2. In releases V5R4M0 and later, the following green screen interfaces can be used to setup the system synchronization environment:

    To add a specific system sync, change the system name to make it look like the backup was done by this system and synchronize the reference date/time:
     CALL QBRM/Q1AOLD PARM('HSTUPDSYNC' '*ADD' ‘SYSTEM’ ‘NETWORK ID' 'IASPNAME' '*CHGSYSNAM')

     To add a specific system sync, keep the name of who did the backup and synchronize the reference date/time:
     CALL QBRM/Q1AOLD PARM('HSTUPDSYNC' '*ADD' ‘SYSTEM' ‘NETWORK ID' 'IASPNAME ' '*NORMAL')

    To remove a specific system:
     CALL QBRM/Q1AOLD PARM('HSTUPDSYNC' '*REMOVE' ‘SYSTEM' ‘NETWORK ID' 'IASPNAME ' )

    To remove all systems:

    CALL QBRM/Q1AOLD PARM('HSTUPDSYNC' '*REMOVE' '*ALL')

    To display what is currently setup:
     CALL QBRM/Q1AOLD PARM('HSTUPDSYNC' '*DISPLAY')

    Note: In releases V6R1M0 and earlier, the following PTFs are required to use the green screen interfaces:

     V5R4M0 : SI31612

    V6R1M0 : SI31613

Note the following restrictions:

- Only libraries and IFS data backed up from an IASP can have it's ownership changed. Items saved from *SYSBAS are not supported.
- Data backed up to save files or TSM will not be synchronized.
- Object detail is not synchronized.
 

User-defined IASP Timestamps

In an environment using external storage to perform a Flashcopy of IASP, it may be beneficial to supply a user-defined timestamp for your backups. For example, if the Flashcopy occurred at 1pm but the backups were not performed until 3pm, BRMS will, by default, use 3pm as the time of backup and reference point for future incremental backups. However, the Flashcopy time reflects when the IASP data was last changed.

The following interfaces will allow users to define their own flashcopy timestamps for specific IASP's.

To add or update a timestamp:

 CALL QBRM/Q1AOLD PARM('FLASHTIME' '*ENABLE' 'IASPNAME' 'FILESYSTEM TYPE' '1071213143302')

 where IASPNAME is the name of the IASP, FILESYSTEM TYPE is either *QSYS or *IFS, and 1071213143302 is the timestamp in CYYMMDDHHMMSS format.

 Note that if you want to have a timestamp for IASP ASP45 for both *IFS and *QSYS types you'll need to use *ENABLE twice - once for *QSYS and once for *IFS. These timestamps are independent of each other, and increment independently. *QSYS applies to libraries and objects in the IASP, and *IFS refers to all link objects in the IASP.
 

To view the current configurations, issue the following command:

 CALL QBRM/Q1AOLD PARM('FLASHTIME' '*DISPLAY')

 When displayed, two timestamps are shown. The first is the user-specified timestamp, the second timestamp is what BRMS used internally.
 

To remove a configuration for a specific IASP, issue the following command:

 CALL QBRM/Q1AOLD PARM('FLASHTIME' '*DISABLE' 'IASPNAME' 'FILESYSTEM TYPE')
 

To remove all the user defined timestamp configurations, issue:

 CALL QBRM/Q1AOLD PARM('FLASHTIME' '*DISABLE' '*ALL')
 

Internally, there are places where BRMS requires a unique timestamp. In those cases, BRMS will generate a new unique timestamp incremented from the user-defined timestamp. Save While Active sync points and incremental reference timestamps will always use the value defined by the user. BRMS maintains a list of the timestamps used, and clears this list when STRMNTBRM with parameter RUNCLNUP(*YES) is specified.

Note the following restrictions:

- The BRMS Advanced Feature (57xxBR1 Option 1 (FC5103) ) is required on the system where the FLASHTIME interface is used.
- User-defined timestamps are not used for archival backups.
- User-defined timestamps are not used for *LINK from IASP *ALLAVL or *CURASPGRP.
- Any SAVBRM or *LINK control group entry which saves from multiple IASP's will not use user-defined timestamps.
- Native backups (SAVLIB, SAVOBJ, etc) are not affected.
- If a library with the same name exists in multiple IASP's and object detail is retained, it is recommended that different user-defined timestamps be used for each IASP entry of *QSYS type.
- Do not use timestamps later than the current system date/time.
 

What's new for V6R1 (available March 21th, 2008) 

This section lists the functions that were changed or added to the BRMS graphical interface.

Note: BRMS graphical interface refers to both the IBM i™ Navigator BRMS plug-in and the IBM Systems Director Navigator for i Web environment BRMS plug-in. In addition, enhancements to the BRMS functions are listed in the following sections.

Backup enhancements
 

Recovery enhancements

Media services enhancements

Hierarchical Storage Manager (HSM) enhancements

Device enhancements

Network enhancements

Install enhancements

New BRMS APIs

TAPE ENCRYPTION SUPPORT: (available October 15, 2006) 

PTFs SI24934 for V5R4, SI24933 for V5R3 and SI24932 for V5R2 include support for the data encryption capabilities that are now standard on IBM System Storage™ TS1120 Model E05 Tape Drives.

NEW TAPE LIBRARY STATUS TOOL: (posted August 18, 2006) 

PTFs SI24433 for V5R4, SI24427 for V5R3 and SI24426 for V5R2 include a helpful tool for customers with the advanced BRMS feature. This tool will produce a report that displays the users of the resources in a tape library for all systems in a BRMS network that share that library.

V5R4 OVERVIEW: (posted March 4, 2006) 

BRMS for V5R4M0 continues to extend existing capability and provide new functions for improving automation, minimizing backup windows, and providing additional backup, recovery, and media management flexibility.

Enhancements include:

BRMS FlashCopy Support: (available October 2005) 

ESS FlashCopy creates a clone of the source system onto a second set of disk drives which are then attached and used by another system or LPAR partition. BRMS provides a mechanism to perform a backup on the second system such that it appears to have been done on the original system.

V5R3 OVERVIEW: (posted May 4, 2004) 

V5R3 provides the following new and enhanced functions that make BRMS more powerful and easier to use.

The BRMS server now supports:

The BRMS IBM i Navigator client continues to improve functions for managing your backups, media, backup history, and recoveries using a highly accessible GUI.

Send BRMS Messages to Additional Message Queue 

The following PTF's have added the ability to send specific BRMS messages to an additional message queue:

Release PTF#
V5R3M0 SI33971
V5R4M0 SI33974
V6R1M0 SI33975

This feature allows the user to identify which messages to be sent to a specific message queue when BRMS adds the message to the BRMS log (DSPLOGBRM).

To view the current settings:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')

To set the message queue:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*MSGQ' 'libname' 'objname')

 for example:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*MSGQ' 'QSYS' 'QSYSOPR')

To insert a rule:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*INSERT' <-- the action '1'  <-- the position to
  insert before (if greater than the number of rules, it will append)
  '*INC’  <-- include the message ID if it matches this rule.
 Use *EXC to exclude a matching message.
  'BRM1097')  <-- the message ID to match. This can also be generic.

To replace a rule:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*REPLACE' <-- the action '1'  <-- the rule to replace
  '*INC’  <-- include the message ID if it matches this rule.
 Use *EXC to exclude a matching message.
  'BRM1095')  <-- the message ID to match. This can also be generic.

To remove a rule:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*REMOVE' <-- the action '1)'  <-- the rule to remove

To clear all rules:

 CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*CLEAR') <-- the action
 

Rules are processed in order. Messages being sent to the BRMS log are compared against each rule, and a determination is made whether to send the message to the external message queue.

For example, note the following rules:

> CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')
 MESSAGE QUEUE: QSYS/QSYSOPR.
 1 *INC BRM*.
 2 *EXC BRM1097.
 3 *INC CPI*.
 4 *EXC CPI0307.

These rules indicate that all BRM messages except BRM1097, and all CPI messages except CPI0307, will be sent to message queue QSYS/QSYSOPR.

If the following rules are used:

> CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')
 MESSAGE QUEUE: QSYS/QSYSOPR.  1 *INC BRM*.
 2 *EXC BRM1097.
 3 *INC CPI*.
 4 *EXC CPI0307.
 5 *INC *ALL

the fifth rule is processed last, causing all messages to be send to the external message queue.

Additional notes:

Improving time for INZBRM OPTION(*RUNPRDINZ) when upgrading your system 

BRMS Fast Install from V5R4 to V6R1/IBM i 7.1 Instructions

This document describes how to reduce the time required for BRMS to run the INZBRM OPTION(*RUNPRDINZ) when upgrading a system from a lower release to a higher release.

OPTION 1 – Unload/Reload
(Only need to do on 1st system and then use Options 2 or 3)

BRMS LPP Pre-Upgrade Steps (1st system)
On V5R4 right before the upgrade, need a good level of QUSRBRM saved to tape.
Steps 1-3 will help with any locks on BRMS objects and will make the DLTLIB easier

  1. ENDSBS SBS(Q1ABRMNET) OPTION(*IMMED)
  2. ENDJRNPF FILE(*ALL) JRN(QUSRBRM/QJ1AJRN2)
  3. ENDJRNPF FILE(*ALL) JRN(QUSRBRM/QJ1ACM)
  4. SAVLIBBRM of QUSRBRM (CPC3701 completion message, all saved)
  5. STRRCYBRM *REPORT (Find where QUSRBRM is on tape)
  6. DLTLIB QUSRBRM (Very important Step!)

Normal LPP V6R1/IBM i 7.1 Upgrade
An install of BRMS will occur with an “empty” QUSRBRM created.

BRMS LPP V6R1/IBM i 7.1 Upgrade – Fast Install

  1. Load/Apply BRMS PTF SI41205 (V6R1)/SI41206 (IBM I 7.1) or superseding PTF Fast install code – Have this PTF ready
  2. SIGN OFF and SIGN ON (Clean up any loose ends)
  3. ENDSBS SBS(Q1ABRMNET) OPTION(*IMMED)
  4. ENDJRNPF FILE(*ALL) JRN(QUSRBRM/QJ1AJRN2)
  5. ENDJRNPF FILE(*ALL) JRN(QUSRBRM/QJ1ACM)
  6. DLTLIB QUSRBRM
  7. RSTLIB SAVLIB(QUSRBRM) DEV(XXXXX) VOL(XXXXX) SEQNBR(X)
  8. CRTDTAARA DTAARA(QUSRBRM/Q1ANEWINST) TYPE(*CHAR)
  9. CRTDTAARA DTAARA(QUSRBRM/Q1APRDINZ) TYPE(*CHAR)
  10. INZBRM *RUNPRDINZ

Option 2 – SAVLICPGM BR1 (Recommended) 
(Once you have a system at V6R1/IBM i 7.1)

  1. CRTDTAARA DTAARA(QUSRBRM/Q1ANEWINST) TYPE(*CHAR)
  2. Load on BRMS PTF SI41205 (V6R1)/SI41206 (IBM I 7.1) or later
  3. GO LICPGM option 40 - Create distribution media and create one including BRMS
  4. Normal upgrade using the DSLO media.

Option 3 - DSLO (Recommended) 
(Once you have a system at V6R1 or IBM 7.1)

  1. CRTDTAARA DTAARA(QUSRBRM/Q1ANEWINST) TYPE(*CHAR)
  2. Load on BRMS PTF SI41205 (V6R1)/SI41206 (IBM I 7.1) or superseding PTF
  3. SAVLICPGM of 5761BR1/5770BR1
  4. Normal upgrade except insert media with saved BR1 in front of the media that contains the shipped BR1 product.

Note: It is recommended that the following Data base PTF or their superseding PTF is loaded:

V6R1 SI44152
IBM i 7.1 SI44153

We're here to help

Easy ways to get the answers you need.


or call us at
1-866-883-8901
Priority code:
101AR13W