Documente Academic
Documente Profesional
Documente Cultură
Prepared by : Bikashh
Date :
18-12-098
Page Number : 1
Purpose
Why Backups ?
How to plan your backup ?
BRMS Application
Functionality of Media Library
08/05/08
Page Number : 2
Objective
08/05/08
Page Number : 3
Backup
Importance
Restore a computer to an operational state following a disaster
(called disaster recovery).
to restore small numbers of files after they have been
accidentally deleted or corrupted
Prepared by : Bikash
Date :
08/05/08
Page Number : 4
Backup Types
Full
Incremental
Differential or Cumulative
Incremental Vs Cumulative
Sun
Mon
Tue
Wed
Thu
Object
A+a
A+a+b
A+a+b+c
A+a+b+c+d
Full
A+a
A+a+b
A+a+b+c
A+a+b+c+d
Incr
Cum
a+b
a+b+c
a+b+c+d
AS01
AS02
AS03
AS04
AS05
AS01
AS01,AS02
AS01,AS02,AS03
AS01
AS01,AS02
AS01,AS03
AS01,AS04
AS01,AS05
Tape
Incremental
Cumulative
BRMS
GO BRMS
BRMS
Backup
Assists in establishing a disciplined approach to design
and manage backup operations.
Helps to define, process, monitor and report backup
activities.
Used to back up all of the data on iSeries system
including objects in libraries, folders, directories, spooled
files, security information, system configurations, and the
operating system itself.
This can be achieved thorough various control groups
: 11
Recovery:
Provides for the orderly retrieval of lost or damaged data
Recovery reports helps to recover the system
sequentially .Reports contains restore instructions as
well as tapes details
With BRMS, you can restore your entire system, or
selected items such as control groups, libraries, objects,
folders, auxiliary storage pools (ASPs), spooled files, or
Integrated File System links.
Media Management
Tracks all the tapes and save files. Media is tracked
through all cycles from creation to expiration.
Tracking process includes active use, storage location,
and return to scratch pool availability.
Tracks media until you remove it from the media
inventory or until it is otherwise disabled due to usage
threshold or poor quality rating.
Records and updates changes to the media inventory.
BRMS Policies
Policies define how BRMS operations are generally to be
done
This is similar to the ways in which system values control
how your iSeries operates.
They establish actions and assumptions that are used
during processing.
BRMS Policies
They also provide a single point of control for
administering broad changes in operating principles.
Each policy provides a template for managing backup
and media management strategies at high levels.
Type of Policies
The standard BRMS package provides the following
policies
The System Policy : Similar to a set of system values.
In Absence of any policies system policy parameters determine the
policy defaults for BRMS operations
Types of Policies
The Backup Policy :
Type of Policies
The Recovery Policy
Types of policies
The Media Policy
Govern the handling of media by media type.
Determine retention periods
Instruct BRMS where to find the appropriate tapes to perform
your backup.
Determine if backup operations will create and use save
files.
Unlike system, backup, and recovery policies, multiple media
policies can exist
Type of Policies
The Move Policy
determines the movement of media from creation through
expiration, and through various on and off site storage
locations.
Multiple move policies can also exist
Specify which days the data will be processed, and the order in
which the processing occurs.
Control groups usually refer to, and work with, related policies.
Policies
Policies
Since save and restore needs vary depending on
customer needs, policies and control groups that share
the same parameters and values can override one
another.
In this way, a function policy value can override a shared
system policy value, and a control group value can
override a shared function or system policy value.
System Policy
Backup Policy
Backup Policy
Control Group
Control Group
Tip
If you have modified the default values, you can reset
these back to the default values by running the INZBRM
OPTION(*DATA) command.
Prepared by :Bikash
Date :
08/05/08
Page Number : 32
Storage locations
Storage Location
Storage Location in the media policy instructs where to
look for a tape to perform backup.
Normally this is the scratch pool or the automated tape
library, but it can also be another location.
The default for the storage location parameter in the
media policy is *ANY.
Storage Location
One should review this parameter, especially if one
permit media to expire in a location other than the
home location so that BRMS/400 does not request the
mount of a tape that is not even on-site.
For media libraries, one must be careful in specifying the
storage location to ensure it only indicates tapes that are
inside of the library.
Storage Location
A Media Policy
Media Policy
There are two important field parameters which needs to
be set correctly:
Allow volumes to expire: Should be set to *NO for your
off-site location. One could select *YES for a storage
location that is physically located near the system such
as the computer room or a tape library.
Media Policy
Media slotting:
*YES if media is to be filed and tracked by individual
slot numbers at storage locations
Media slotting is optional and can be used for some
storage locations and not for others,
*HOME is set to a media slotting value of * NO.
VAULT is set to a media slotting value of *YES.
Media Policy
Media can be assigned a slot number when it is added
to the BRMS/400 media inventory using the Add Media
to BRM (ADDMEDB RM) command.
Slot numbers can be changed using the Change Media
in BRM (CHGMEDBRM) command.
Media devices
Work with Devices using BRM (WRKDEVBRM)
command shows all of the devices and their associated
type and model that are defined to BRMS/400.
This command allows to add, change, or remove a
device from a list of devices
For adding a device, it must already be defined to the
system through the device description (CRTDEV*)
function.
WRKDEVBRM
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 44
Option 2- Change
Media classes
Media classes define the types of physical media that are used for
backup, archive, or recovery operations
WRKCLSBRM
Media classes
The media class for SAVSYS should not be shared .This is because
You would not like to share your media with another system.
During SAVSYS system is in restricted state so no
communication lines will be active. Hence no check can be
made if the shared volume is also in use on another system.
Move policy
BRMS volume movement is normally controlled using a
move policy WRKPCYBRM TYPE(*MOV).
A default move policy of OFFSITE is created when
BRMS/400 is installed.
Move policy
Once the volume has followed all the sequences in the move policy
and reached the home location, the move policy is removed from
the volume.
In addition, the volume will not have a move policy associated with
it. This normally occurs when the volume expires.
Move policy
Once the move policy is associated with the volume and media
movement is run (via maintenance ( STRMNTBRM
MOVMED(*YES) ) or via media movement (MOVMEDBRM)
commands), the logical location of the volume will change.
Move policy
Example
Volumes are in a tape library, TAPMLB01, and will move to an on-site vault for 3 days and then
move off-site until they expire. Once they return, they will be placed back in the tape library.
Move policy . . . . . . . . . .
Home location . . . . . . . . .
Use container . . . . . . . . .
Verify moves . . . . . . . . .
Calendar for working days . . .
Calendar for move days . . . .
Text . . . . . . . . . . . . .
Seq
10
20
Location
Duration
VAULT
OFFSITE
:
:
:
:
:
:
:
MYMOVEPCY
TAPMLB01
*NO
*NO
*ALLDAYS
*ALLDAYS
Entry created by BRM configuration
3
*EXP
Once the volume is moved to TAPMLB01, the move policy for that volume is changed to *NONE
Tips
If you are planning to use APPEND(*YES) as part of your
backup policy, you must make sure that the move policy
keeps the tape on-site for enough days.
Media policy
Media policy
Media Policy = { Retention Period, Media Class, Move
Policy }
Media policies are designed / created keeping in mind
the retention period and the media class that has to be
used. So we can say Media Policy as a function
consisting both of them as an element
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 59
BRMS/400 policies
The seven types of policies are:
System policy
Media policy
Move policy
Backup policy
Archive policy
Retrieve policy
Recovery policy
System Policy
Provides defaults for
Default media policy, tape device, location of media
Whether to sign off interactive users before a backup or
archive function is started, or specify a list of users and
devices that continue to remain active.
License information and default values for displaying
BRMS/400 log.
System Policy
List of subsystems to check before performing an IPL. If
any of the subsystems in the list are active when an IPL
is scheduled, BRMS/400 does not perform an IPL.
Presentation controls such as characters used for full
backup, incremental backups, and defining the first day
of the week
System Policy
Backup Policy
Backup Policy
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 66
Backup Policy
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 67
Backup Policy
Libraries to omit from backups
*BKUGRP
*SYSGRP
Backup Items
Special operations
*EXIT
- perform user command processing
*LOAD
- begin new tape
Special values
*ALLDLO - save the document library, all ASPs
Backup Items
*IBM
- save all IBM libraries
*LINK
- save all objects not in
and /QDLS directories
*QHST
- save history information
*SAVCFG
- save configurations
*SAVSECDTA - save security data
*SAVSYS - save the operating system
/QSYS.LIB
List Type
List is nothing but group of similar objects .
It can be of following types.
Folder - *FLR
Object - *OBJ
Spooled file - *SPL
File system - *LNK
To create a list we use command WRKLBRM
WRKLBRM
ADDMEDBRM
ADDMEDBRM
ADDMLMBRM
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 84
Field Append(*YES)
Ensure volume availability onsite.
Selection for media is done for all devices
Media Library automatic
Stand Alone BRM1472 messages is issued specifying the suitable
volume
Selects an active volume that matches the requesting media policies, and
the volume must pass the following checks:
Same expiration date
Owned by the requesting system
Same move policy
Same secure attributes
Media security
Command
Command
SAVOBJ
SAVLIB
SAVDLO
SAVOBJ *PGM
SAVOBJ *ALL
SAVCHGOBJ
SAVLICPGM
SAVSECDTA
SAVSTG
SAVCFG
SAV
SAVOBJBRM
SAVLIBBRM
SAVDLOBRM
SAVOBJBRM *PGM
SAVOBJBRM *ALL
SAVACT parameter *YES
*SAVSYS
*SAVSECDTA
*SAVCFG
SAVBRM
Command
BRMS Command
Policies.
SAVSYS,SAVLIB, SAVDLO,SAV
*SYSGRP,*BKUGRP
SAVSYS,SAVLIB *IBM,SAV
*SYSGRP
SAVSECDTA,SAVCFG, SAVLIB
*ALLUSR,SAVDLO,SAV
*BKUGRP
SAVDLO *ALL
SAVDLO *CHG
SAVDLO
SAVDLO *MAIL
SAVCAL
*ALLDLO
SAVDLOBRM with SAVACT
*YES
SAVFLRLBRM, SAVDLOBRM
SAVDLOBRM
SAVBRM
SAVLIB LIB(*NONSYS)
*IBM, *ALLUSR
SAVLIB *IBM
*IBM
SAVLIB *ALLUSR
SAVCHGOBJ *ALLUSR
*ALLUSR
*ALLUSR SAVACT *YES
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 91
STRMNTBRM
The STRMNTBRM command processes several other commands that can be run separately. These
include:
o RMVMEDIBRM - Remove media information from BRM
o MOVMEDBRM - Move media using BRM
o STREXPBRM - Expire media from BRM
o RMVLOGEBRM - Remove BRM log entries
o WRKMEDIBRM - Work with media information
o STRRCYBRM - Recovery analysis
STRMNTBRM
Note: The STRMNTBRM command should be run as an
independent job. No other BRMS functions should be
active when the STRMNTBRM command is processing.
STRMNTBRM
Prepared by : Rhishabh
Date :
08/05/08
Page Number : 96
STRMNTBRM
VFYMOVBRM
Used to verify the media movement .
Tapes should be verified after they have been actually
moved to the other location .
Verification can be done by system with no intervention
required by operator Change Move Policy parameter
Verify Move to *NO reflect this.
MOVMEDBRM
BRMS determines the location of media according to the
move policy and checks the location where it actually is.
If the two are different, it issues a move request to move
the media to the correct location.
MOVMEDBRM
MOVMEDBRM invokes the RMVTAPCTG command to
eject the cartridges from Media Library
If we want VFYMOVBRM to issue the RMVTAPCTG
command we have to change the Q1APRM Data-area
STRBKUBRM
Prepared by : Rhishabh
Date :
08/05/08
CHKEXPBRM
WRKCFGSTS *DEV DSP*
WRKPCYBRM *MED *BKU *SYS
WRKMLBBRM
WRKMLMBRM
WRKMLBSTS
DSPTAPSTS
Prepare by : Bikash
Date :
08/05/08
Thank You
Bikash Kumar Sahay
Seat No- L4W141
Contact : 701523
Prepared by : Bikash
Date :
08/05/08