Documente Academic
Documente Profesional
Documente Cultură
Class hours
M - Th 9:00 4:15
F 9:00 3:30 or 4:00
Breaks
Finish time on the last day
Emergency exits
Phones
Messages
Restrooms
Smoking policy
Eating establishments
Policy for cell phones and pagers
Policy for Internet access Copyright IBM Corporation 2011
Introductions
IBM i
Name/company/location
Background/experience with:
Use of the native save/restore commands
Tape drives, tape library, virtual tape
BRMS
System i Navigator
Systems Director Navigator for i
Your objectives/expectations
What do you expect to get out of this course?
Interest in a specific area of BRMS?
Introduction
to eLab
Enter:
https://elabgateway.moppssc.com
Log in, then click the remote desktop icon that is displayed.
User name and password will be assigned by your
instructor.
Copyright IBM Corporation 2011
Step 3: Sign on to the Windows client
IBM i
Use the Citrix desktop and directions from your instructor to access:
5250 emulation
System i Navigator
Web browser => Systems Director Navigator for i
Write down the following information that you will need to know and use
for the rest of the week.
At the end of the day, sign off and disconnect your e-lab connection.
The e-lab environment is only available during the week of class.
Optionally, you can sign on to the lab system and perform the labs
in the evening (from your hotel room or from home).
Copyright IBM Corporation 2011
Words of wisdom
IBM i
BRMS
BRMS
BRMS
Backup planning
What tapes are old or have a lot of errors?
What tapes should move off-site today?
Network
What tape has the latest copy of object ABC?
Critical Non-critical BRMS
BRMS
application application Media
Media
Database
Database
libraries by mountinglibraries
VOL789byand
mounting VOL789 and
BRMS
BRMSGUI
GUI system name
Cartridge System Tape
Migrate
Migrate libraries,
libraries,root
rootfolders,
folders,
and and Tape library
spool
spoolfiles
files among
among disk
disk ASPs
ASPs based
based onon
age,
age,
size,
size,and
and last
last
useuse criteria
criteria
Archive
Archive objects
objectsto tape
to tapebased
based on age,
on age,
size,
size,frequency
frequency ofofuse,
use,and andASP
ASP
3494 LTO 3590/2 3570/3575 storage criteria
Dynamically
Dynamically recall
recall database
database files,
files,
DLO's
DLOs, andand streamfiles
stream files whenwhenneeded
needed
Required software:
Media and storage extensions:
Optional feature of i5/OS that provides tape interface routines
One-time charge
BRMS:
Tier priced by CPU size; three separate pieces:
*Base - product
Option 1: Networking
Option 2: Advanced functions (archive/retrieval/HSM)
Licensed program product:
Supports:
All i5/OS tape devices and tape media
Virtual tape
Uses standard menus, commands, and help text
Uses native i5/OS save commands in the background
Tapes are readable by any system.
Runs in a single or networked (multisystem) environment
Copyright IBM Corporation 2011
Backup Recovery and Media Services:
Restrictions
IBM i
Restrictions:
Tapes must have unique volume serials.
No support for:
Diskette
Unlabeled or nonstandard labeled tapes
It does not support SAVSTG, CPYTOTAP, or CPYFRMTAP natively.
It cannot run on the same system as other tape management
software.
FlashCopy
B
A
C
Backup
K
Business with minimum
U
as usual downtime P
Archive:
Locate and list objects that have not been used recently.
Move these objects to tape and erase from disk.
This frees up disk space.
Retrieval:
Restore objects back to disk when needed.
For *FILE, integrated file system (IFS), and document library objects
(DLO), BRMS optionally should auto-recall when touched by a user,
provided that they are archived with STG(*FREE).
Group . . . . . . . . . . . . . *MGRGRP
Only libraries, root folders, and spool files are eligible for
migration.
Specify criteria for objects to migrate.
*DEMOTE or *PROMOTE through the hierarchy chain of user
ASPs one storage level at a time.
Welcome wizard:
Opens at
System i Navigator
startup
Under My Connections
System container
Backup, Recovery and Media
Services
TASKPAD
Media movement:
Backup control groups
Verify move
Run all move policies
Manage locations
Save-while-active (SWA)
Tape library support
Independent ASPs
Parallel backups
Backups to save files
BRMS Application Client for Tivoli Storage Manager
Lotus server point-in-time recovery
List management:
Create lists
Update lists
Copyright IBM Corporation 2011
BRMS functions by release
IBM i
Disk management:
Graphical view
Disk unit physical location
Disk unit/ASP capacity chart
Copyright IBM Corporation 2011
Ensure that HTTP admin servers are running
IBM i
These servers will be an auto start server beginning in V6R1: starts with
the TCP/IP servers.
http://system:2001
system could be either the IP address or IP name.
Internet Explorer 7
Expand IBM i
Management to view the
task categories.
Click the desired task
category to view the
Welcome page for that
task.
Click a task on the
Welcome page or click
Show All Tasks to view all
Web-enabled tasks for that
category.
Each selected task
appears in a separate
portlet and a tab appears at
the top of the workspace.
Copyright IBM Corporation 2011
New controls: Overview (1 of 4)
IBM i
Help link!
Most common
functions
included on
each Welcome
menu
Select an entry.
Click the arrow.
View tasks for
object.
Work area
Copyright IBM Corporation 2011
New controls overview: Portlet controls
IBM i
Integrated Server These tasks let you manage servers hosted by i5/OS and enroll
Administration and manage users and groups.
Users and Groups Display and manage a complete list of the users and groups,
create, delete, modify
Databases Graphical interface to perform many common admin database
operations, access and modify objects, work with performance
monitors, as well as access the health center
Journal Management Work with journals and journal receivers
Backup and Manage your most critical and complex backups, including
Recovery and Media online backups of Lotus servers, simply and easily. You can
Services also recover your system fully in the event of a disaster or
hardware failure.
Cluster Resource This is a task-based approach for setting up and managing your
Services high availability solution. Create a customized high-availability
solution by separately creating each element of the high
availability solution. Create and manage clusters, cluster
resource groups, device domains, and cluster administrative
domains and perform switchovers.
High Availability This is an easy-to-use, guided approach to setting up high
Solutions Manager availability. This interface ensures and validates prerequisites,
configures all necessary technologies for the selected solution,
and tests the set up. This management solution interface is best
for smaller businesses who want simpler solutions that require
fewer resources.
Performance This includes browser-based performance tasks, manage
performance data collections, graphical user interface for
collecting performance data, graphically view and analyze
performance data using Collection Services, Job Watcher, Disk
Watcher
Copyright IBM Corporation 2011
Welcome pages: System
IBM i
Both are built from the same source code for consistent functionality.
Panels look different when rendered on the Web console.
Specify the
users/groups that
you either want to
give access or
restrict access to
this function.
Redpiece (REDP0508)
Information on online Domino, SAP, TSM, and so forth
www.redbooks.ibm.com
iSeries Navigator
http://www-03.ibm.com/servers/eserver/iseries/navigator/
BRMS GUI
http://w3.rchland.ibm.com/~lpp/brmsGui/customerTips/brmsGuiCustomerSetupAn
dDebugNotes.htm
www-03.ibm.com/servers/eserver/iseries/service/brms/pluginfaq.html
System i Network
http://www.systeminetwork.com/
Backup basics and BRMS chapters
System i magazine backup/recovery FAQs
Commonly asked backup/recovery questions
4. Which command will display a listing of data that has been processed by BRMS?
a. WRKMEDBRM
b. WRKCTLGBRM
c. WRKMEDIBRM
d. WRKLBRM
5. ____________ is used to restore data that has been saved with BRMS.
a. Retrieval function
b. Restore function
c. TSM (Tivoli Storage Management)
d. HSM (Hierarchical Storage Management)
6. ____________ is used to recover data that has been archived with BRMS.
a. Archive function
b. Retrieval function
c. TSM (Tivoli Storage Management)
d. HSM (Hierarchical Storage Management)
4. Which command will display a listing of data that has been processed by BRMS?
a. WRKMEDBRM
b. WRKCTLGBRM
c. WRKMEDIBRM
d. WRKLBRM
The answer is WRKMEDIBRM.
5. ____________ is used to restore data that has been saved with BRMS.
a. Retrieval function
b. Restore function
c. TSM (Tivoli Storage Management)
d. HSM (Hierarchical Storage Management)
The answer is Restore function.
6. ____________ is used to recover data that has been archived with BRMS.
a. Archive function
b. Retrieval function
c. TSM (Tivoli Storage Management)
d. HSM (Hierarchical Storage Management)
The answer is Retrieval function.
1. GO LICPGM
2. Option 11: Install licensed programs
Note: The assumption is that you do not need to keep any of the
BRMS objects that might already exist on the system, such as
control groups, media information, and so forth.
Copyright IBM Corporation 2011
Install BRMS-related PTFs
IBM i
INZBRM (*CHGSYSNAM):
Rename owner of BRMS media information:
Used in system recovery
Documented in the recovery report
INZBRM (*DATA):
Adds any tape drives that are attached but not known to BRMS
Adds any default BRMS objects that are missing
Adds control groups for new Domino servers
INZBRM (*DEVICE):
Same as INZBRM (*DATA) and
Deletes any tape drives that no longer exist on the system
INZBRM (*ESTPRDINZ):
Used to determine time required to initialize BRMS
INZBRM (*ESTPRDUPD):
Used to determine time required to initialize BRMS after upgrading to a new
software release
INZBRM (*FLASHCOPY):
Used to set the FlashCopy status of BRMS
INZBRM (*MERGE):
Used to merge BRMS database files from one library with BRMS database files in
another library
Used when consolidating multiple systems onto a single system
INZBRM (*NETSYS):
Used to add a system to a BRMS network
INZBRM (*RUNPRDINZ):
Initialize BRMS after installation/upgrade
BRMS cannot be used until completion.
INZBRM (*SECUREDDM):
Used to set the user profile and password to use for remote server secure DDM
connections to all the systems in a BRMS network
INZBRM (*SETAUT):
Used to re-register BRMS functional authority
Used during a full system recovery
Documented in the recovery report
INZBRM (*RESET) Beware:
All information is cleared.
Only BRMS defaults available when finished
Copyright IBM Corporation 2011
Before initializing BRMS
IBM i
INZBRM OPTION(*ESTPRDINZ)
Estimated initialization time is 0 hours and 10 minutes.
12. System policy: Check the parameter values in your system policy.
Take special notice of the following parameters:
Output queue: Create an output queue for BRMS reports.
The day start time affects both the media and the control groups.
13. Backup policy: Check your backup policy. Change any parameter
defaults to your specific environment.
14. Enroll and initialize media: Use the ADDMEDBRM to enroll and
initialize your tapes or use the ADDMLMBRM command if you have a
media library.
15. Create control groups: Define your backup. Create as many as
necessary to save all your data.
Use option 6 (Add to schedule) to add the control groups to the job scheduler.
16. BRMS maintenance: Schedule the STRMNTBRM command as part
of your daily routines. This command creates your disaster recovery
reports in the output queue specified in the system policy.
1. Which OS option is required to perform the basic BRMS functions supported by the
*BASE software?
a. 5770-SS1 Option 12 Host servers
b. 5770-SS1 Option 18 Media and storage extensions
c. 5770-SS1 Option 22 Object connect
d. 5770-SS1 Option 30 Qshell
2. The name of the library where the BRMS programs are stored on the system is
________ .
a. QSYS
b. QBRM
c. QUSRBRM
d. QSYSHLP
3. ________________ is the command used to update the BRMS device table with
the names of the tape hardware known by the OS.
a. INZBRM *CHGSYSNAM
b. INZBRM *DEVICE
c. INZBRM *FLASHCOPY
d. INZBRM *NETSYS
2. The name of the library where the BRMS programs are stored on the system is
________ .
a. QSYS
b. QBRM
c. QUSRBRM
d. QSYSHLP
The answer is QBRM.
3. ________________ is the command used to update the BRMS device table with
the names of the tape hardware known by the OS.
a. INZBRM *CHGSYSNAM
b. INZBRM *DEVICE
c. INZBRM *FLASHCOPY
d. INZBRM *NETSYS
The answer is INZBRM *DEVICE.
Copyright IBM Corporation 2011
Unit summary
IBM i
Defaults
Quarterly Daily System policy
Lib1 Lib3
Lib2 Lib4 Backup/recovery/archive
Control groups Retrieve/migration policy
Move policies
Storage locations
Tape devices
Container classes Media classes
Control groups
(as many as needed, override policies)
User sign-off controls
Media policy and devices
Weekly activity
Operation specific controls
Weekly activity
Individual commands
Priority flow
Copyright IBM Corporation 2011
Using 5250 emulation
These users or devices are exempt from sign off when using
Sign off Interactive Users from a control group.
If you are running a restricted state save, this does not apply.
New in V7R1:
You must use F11 to view BRMS Media Information options.
WRKCFGSTS *DEV T*
WRKCFGSTS *DEV TAP*
Copyright IBM Corporation 2011
Tape devices recognized by BRMS
IBM i
WRKDEVBRM
System 1 System 2
Using TAP01
3590
File . . . . . : QP1ADEVUSE
Page/Line 1/27
Control . . . . .
Columns 1 - 130
Find . . . . . .
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9
+....0....+....1....+....2....+....3
FILE LIBRARY MEMBER FORMAT
DEVICELOG QTEMP DEVICELOG DEVICELOG
DATE . . . . . . . . 02/11/11
TIME . . . . . . . . 14:50:59
* * * E N D O F R E P O R T * * *
Bottom
F3=Exit F12=Cancel F19=Left F20=Right F24=More keys
Both support:
Flexible media, including short and long length cartridges and
re-writable and WORM formats
Small form factor and high capacity
Supports encryption and key management
Compatibility with existing IBM tape automation installations
IBM Power Systems, System i5, System p5, System z, and
System x support
TS1120
High performance with data transfer rate up to 260 MBps with
3:1 compression
TS1130
High performance with data transfer rate up to 350 MBps with
3:1 compression
Copyright IBM Corporation 2011
Steps to set up BRMS for encrypted saves
IBM i
1. True or False: Information about the available tape devices that will be
supported by BRMS is captured at BRMS install time.
2. The command used to list the tape devices that BRMS knows about is
the ____________ command.
a. WRKMEDBRM
b. WRKCTLGBRM
c. WRKCLSBRM
d. WRKDEVBRM
4. Instead of specifying the actual name of a tape drive for the backup
device parameter you can specify ____________.
a. *FULL
b. *TAPE
c. *MEDCLS
d. *SYSTAP
Copyright IBM Corporation 2011
Checkpoint solutions (1 of 3)
IBM i
1. True or False: Information about the available tape devices that will be supported by
BRMS is captured at BRMS install time.
The answer is True.
2. The command used to list the tape devices that BRMS knows about is the
____________ command.
a. WRKMEDBRM
b. WRKCTLGBRM
c. WRKCLSBRM
d. WRKDEVBRM
The answer is WRKDEVBRM.
3. True or False: It is recommended that you set up your system to specify automatically
enroll media.
The answer is False.
4. Instead of specifying the actual name of a tape drive for the backup device parameter you
can specify ____________.
a. *FULL
b. *TAPE
c. *MEDCLS
d. *SYSTAP
The answer is *MEDCLS.
Copyright IBM Corporation 2011
Checkpoint (2 of 3)
IBM i
5. The command to display and work with the status of a tape library is
the ____________ command.
a. WRKCFGSTS
b. WRKDEVBRM
c. WRKMLBSTS
d. WRKTAPSTS
5. The command to display and work with the status of a tape library is
the ____________ command.
a. WRKCFGSTS
b. WRKDEVBRM
c. WRKMLBSTS
d. WRKTAPSTS
The answer is WRKMLBSTS.
8. The keystore file used for software encryption must be stored in which
library?
a. QSYS
b. QBRM
c. QUSRBRM
d. QGPL
8. The keystore file used for software encryption must be stored in which
library?
a. QSYS
b. QBRM
c. QUSRBRM
d. QGPL
The answer is QUSRBRM.
Key advantages:
Supported on all save/restore commands
Can be faster than saving directly to tape
Eliminates save file limitations
Eliminates media error limitations
Allows duplicate saves to media (DUPMEDBRM)
Allows on-site and off-site storage
Considerations:
Additional DASD requirements
No installation from SAVSYS virtual volume:
D type IPL is only supported from physical media.
Might not be faster:
Tape technology
System configuration and environment
Data compaction not supported
Data compression support:
DTACPR(*YES) parameter on save commands:
Default is *NO
Significant performance impact
Image catalog:
Commands are modified to support virtual optical and virtual tape.
It can store up to 256 1 TB virtual tape volumes.
Load of image catalog on virtual device makes virtual volumes
accessible.
Virtual media:
Virtual volume can be opened by multiple virtual tape devices.
Up to 256
virtual tape
1
2 volumes
3
CRTIMGCLG 4
5
ADDIMGCLGE
(2) 6
7
(3)
8
9
10
LODIMGCLG
Any ASP or iASP
(4)
(6)
Virtual Save
CRTDEVTAP tape
(1) device Disk
Restore Disk
(5)
WRKIMGCLG command
Can also be displayed using GUI
WRKIMGCLGE IMGCLG(VTAPTEAM00)
Can also be displayed using GUI
Copyright IBM Corporation 2011
Work with virtual volumes (2 of 2)
IBM i
Considerations:
Must create virtual tape devices outside of BRMS
Must create image catalog and virtual volumes outside of BRMS
BRMS virtual tape acts just like a physical tape device.
BRMS automatically performs virtual tape mounts.
Disaster recovery:
Duplicate to physical media using the DUPMEDBRM command
Virtual tape volumes stored as IFS objects
Image catalogs in READY status
Virtual media volumes are not shared in BRMS network.
Local system only
Independent auxiliary storage pools (IASPs) allowing sharing by
switching IASP
REFERENCE DEPENDENT
CATALOG CRTIMGCLG CATALOG
Virtual Virtual
device A device B
Catalog
directory
Image files
VOLUMES VOLUMES
Volume A Volume A
Volume B Volume B
Volume C Volume C
Bottom
KMA001 LPP01234567890123456789
LN4121 LN4121
LN5795 LN5795
OPT001 FISTOPT01
OPT002 FISTOPT02 *DVD-RAM
OPT003 FISTOPT03
OPT004 + FISTLER01 *ERASE
More...
Parameters or command:
===>
F3=Exit F4=Prompt F5=Refresh F11=Volume information F12=Cancel
F17=Top F18=Bottom F23=More options
Volume Optical
Opt Volume Identifier Serial Volume Type Media Type
More...
F3=Exit F5=Refresh F9=System command F11=BRMS information
F12=Cancel F13=Repeat
Control groups
Libraries List SWA Media policies
Special values *obj *yes
*allusr *link * no Retention type Required vols
*savsys *spl Move policy Mark for dup
*alltest *flr Media class
*etc Storage location
*load Save to save file?
*exit
Attributes Retain object detail
Media policy *no Move policies
Backup device *obj
Append, B/U data base, *mbr
IPL? *yes Home location
Use containers?
Verify moves?
Storage location - duration
WRKMEDBRM
Location
Media class
Move policy
Expired?
To recover if using
cumulative/incremental
Cumulative Incremental
restore:
Sunday Monday Tues Wed Thur Fri Sat
FULL
SAVE
Changed/SAVED C/S C/S C/S C/S LIB A deleted a. Sunday lib save
A C S S S C S S
b. Friday's Save
B C S S S S
C C S S S
To recover if using
Incremental Incremental
incremental/incremental
Sunday Monday Tues Wed Thur Fri Sat
FULL
SAVE
Changed/SAVED C/S C/S C/S C/S LIB A deleted restore:
A C S C S
a. Sunday lib save
B C S b. Monday's save
C C S c. Tuesday's save
d. Wednesday's save
e. Thursday's save
Copyright IBM Corporation 2011
WRKCTLGBRM create/edit
IBM i
Text
Specify something meaningful and descriptive.
This can be used for searches on the WRKMEDBRM
command.
Default activity:
Specifies defaults for each line item
Specifies backup to be performed:
F = full
I = incremental
Blank = skip on that day (none)
Will default to the backup policy
Weekly activity:
Overrides the default activity
Specifies backup to be performed:
F, I, or blank
Named items:
Library name: Back up a library.
A warning message is issued if library
does not exist.
Generic library name: Back up
multiple libraries.
Special value: Predefined items to
back up
List name: Back up a list of objects,
folders, spool files, or IFS data.
Special operations:
*EXIT: Perform user command processing.
More detail will be covered in unit nine.
ASP device:
Specifies name of storage pool:
Special value
Primary ASP
Secondary ASP
Works with *SETASPGRP in Backup Items column
The only configuration item within BRMS that requires this step
to create or change a BRMS object
Enter WRKCTLGBRM.
Select option 9 - Subsystems to process.
Subsystems are ended at start of control group.
More details will be discussed after *EXIT is described in next two units.
Subsystems started again when:
Control group ends and *YES is specified in the restart parameter.
STRSBSBRM command is issued and *YES is in the restart parameter.
Restarts all subsystems ended at the beginning
If *NO is specified in the restart parameter, subsystems will not restart in
either scenario above.
Use in preference to *EXITs with ENDSBS and STRSBS.
BRMS checks that subsystems have ended properly.
This enables the use of the STRSBSBRM command.
In a BRMS network, subsystem Q1ABRMNET should be up
except during a SAVSYS.
Copyright IBM Corporation 2011
Ending subsystems (2 of 2)
IBM i
Enter WRKCTLGBRM.
Select option 10.
Currently running jobs are allowed to complete; new jobs cannot start.
Each time you run a save, the BRMS inventory database changes. To
recover from the tapes you have just written to, you will need to save the
revised BRMS inventory to tape at least once a day.
Old
information Old
information Old
New information
information
New
information
To do this, either:
a. Set the Automatically backup media
information parameter on the control
group attributes.
New
b. Use the SAVMEDIBRM command. information
Contrast
1. Retain object detail 2. Automatically back up media information
*YES/*NO/*ERR/*OBJ *LIB/*OBJ
Disk
QUSRBRM
MM
Backup Tape
HS
OD
Edit Backup Control Group Entries Change Backup Control Group Attributes
Type information, press Enter. Media policy for full backups . . . . . . . . . *BKUPCY
Name, F4 for
Auxiliary Weekly Retain Save Media policy for
Backup List Storage Activity Object While incremental backups. . . . . . . . . . . . . *BKUPCY
Seq Items Type Pool Device SMTWTFS Detail Active Name, F4 for
Backup devices. . . . . . . . . . . . . . . . . *BKUPCY
10 *EXIT *DFTACT Name, F4 for
20 MYLIB1 *SYSBAS *DFTACT *NO *NO ________
30 MYLIB2 *SYSBAS *DFTACT *ERR *NO
40 AAALNK *LNK *SYSBAS IIIIIF *YES *NO Automatically backup
50 *EXIT *DFTACT media information. . . . . . . . . . . . . . *LIB
*LIB, *OBJ, *NONE, *BKUPCY
IC
configuration
IC YS or
G
LO PH SAVMEDIBRM *LIB
SAVSYS SAVDLO
SAVLIB
SAVOBJ
SAVCHGOBJ
SAV command
File systems simplify application porting and other functions.
Access it from the system using WRKLNK.
Save/restore commands available for the IFS:
SAV/RST
Save/restore commands available when using BRMS:
WRKLNKBRM
SAVBRM
RSTBRM
Copyright IBM Corporation 2011
Using the SAV command for IFS data
IBM i
Lists are used to save only a subset of objects. Types of lists are:
Object lists:
This list is used to save a set of objects or a subset of a library.
The command being processed is SAVOBJBRM.
List type is *OBJ.
Spool files lists:
This list is used to save spool files.
The command being processed is SAVDLOBRM.
List type is *SPL.
Folder lists:
This list is used to save specific folders.
The command being processed is SAVDLOBRM.
List type is *FLR.
Link lists:
This list is used to save specific directories.
The command being processed is SAVBRM.
List type is *LNK.
Copyright IBM Corporation 2011
Default backup lists
IBM i
Use F11 on the Change Spooled File List display to access the
Spool File Expiration column.
Sets expiration date for spool files on system
Several selections for setting expiration
Delete is not automatic; must run DLTEXPSPLF
Client omits:
Used to omit specific objects from being saved
Can only be specified using Navigator interface
Are only viewed from the green screen interface
3. When using the green screen interface to create lists, which of the
following list types does not provide an option to Omit the save of
specific data?
a. *FLR
b. *OBJ
c. *SPL
d. *LNK
Copyright IBM Corporation 2011
Checkpoint solutions (1 of 2)
IBM i
3. When using the green screen interface to create lists, which of the
following list types does not provide an option to Omit the save of
specific data?
a. *FLR
b. *OBJ
c. *SPL
d. *LNK
The answer is *OBJ.
Library spreading:
Always done for the following:
*ALLUSR, QUSRBRM, QBRM, QMSE, Q1ABRMSF01 - 32, *ALLUSR,
*IBM, *ALLTEST, *ALLPROD, *ASP01 - 32, Generics
Can take the place of concurrent saves
Keeps all resources saving libraries
Algorithm automatically determines type of spreading based
on:
Library size,
Number of objects
Performance of the tape drive used
IFS object support for parallel saves was added at V5R4.
Dynamic allocation of parallel devices:
Allocate tape devices as needed for parallel saves
BRMS manages allocation automatically.
Copyright IBM Corporation 2011
Parallel/parallel versus parallel/serial
IBM i
Special operations:
*LOAD:
Eject current tape and load a new tape
Already covered in an earlier unit
*SETASPGRP:
Set ASP group
Already covered in an earlier unit
*EXIT: Perform user command processing:
Can be used to add logic to your control group
Can call a user written program
Can call IBM i commands
Note: Do not run any native IBM i save or BRMS save commands within
an exit.
Can interrupt normal BRMS pre-processing
-Versus-
Recall that:
Option 9 is used to end subsystems.
Option 10 is used to hold job queues.
In the first example:
Subsystems are ended and job queues are held.
Seq 10 80 processes normally.
If parm = YES for option 9 and option 10, subsystems are restarted
and job queues are released.
-Versus-
- Versus -
Users
Users are allowed Save
are off. on again. finishes.
Copyright IBM Corporation 2011
Planning for SWA
IBM i
1
3
2
4 5
A full-system backup should be run as the first step after setting up BRMS.
New in V7R1
From
Backup
menu
From Main
BRMS menu
.................................................................
: Command :
: :
: ===> _____________________________________________________ :
: F4=Prompt F9=Retrieve F12=Cancel :
: :
:...............................................................:
2. True or False: After the backup of a backup control group has failed, it
is possible to restart that failed backup from a point specified by the
user.
The answer is True.
Using BRMS:
Takes longer than before (more is done)
Potentially uses more tapes (recovery data is saved)
Provides relief through archiving and incremental backups
Takes more space on the system:
Specifying amount of time to keep history of backups:
Longer retention of history information requires more space. Backup using
BRMS
Retention specified in the maintenance job
Purged during maintenance job Backup without Archivable
BRMS objects
S
Archivable a Current
objects v
objects
e
D
u
Current r
objects a
t
i
o BRM
n activity
Copyright IBM Corporation 2011
Performance (2 of 2)
IBM i
Considerations:
Retain object detail:
Object level takes longer to process and uses more DASD.
Save recovery data:
Object level takes longer to save and uses more tape.
Retention of history information:
Longer retention increases the size of the database.
Using *REUSE for save history retention
Overlap processing is interrupted by:
*EXIT
Using SWA
Structure of object lists
Option 7 starts the restore with the Select Recovery Items screen.
Use option 9 to view individual members.
Select Recovery Items lists all objects specified for recovery.
SAVBRM
ENDDOMSVR or or *LNK List
or SAV
ENDDOMSVR
STRBKUBRM
QLTSDOM00
STRBKUBRM
QLTSDOM01
4. Change file
packaged with
SAVDOMBRM
database backup. 4
S 2
T
O Temp 5
3
MyAppl.nsf
MyAppl.nsf Backup
P
1. Changes media
come from 2. SAVDOMBRM
users. starts. Temp file 5. Stored changes
holds changes applied to 3. Database copied
to database. database. to backup media.
Group . . . . . . . . . . : QLTSDOM00
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . DOMINO01
Backup
Seq Items Exit command
10 *EXIT
20 *EXIT QNOTES/SAVDOMBRM SERVER('DOMINO01') CTLGRP(QLTSDOM
30 *EXIT
Sequence number . . . . . . . : 20
Where used . . . . . . . . . : *EXIT
Weekly activity . . . . . . . : IIIIIII SMTWTFS
Command . . . . . . . . . . . . QNOTES/SAVDOMBRM SERVER('DOMINO01') CTLGRP(Q
LTSDOM00)
RSTBRM
2. Change file restored.
3
Temp 2
1
MyAppl.nsf Backup
media
3. Stored changes
applied to
database and 1. Database restored
database from backup media.
brought online.
Volume
Opt Object Serial Size
7 udfsdisk 571ACY 73728
Objects:
Name . . . . . . . . . . . . . > '''/dev/UDFSDISK/QDEFAULT.UDFS/notes/udfsdisk'''
Include or omit . . . . . . . > *INCLUDE *INCLUDE, *OMIT
New object name . . . . . . . *SAME
Volume
Opt Object Serial Size
7 QDEFAULT.UDFS 741AGK 24576
Objects:
Name . . . . . . . . . . . . . > '''/dev/PRIMARY/QDEFAULT.UDFS'''
That is:
QNOTES.LIB
QUSRNOTES.LIB
/QIBM/ProdData
/QIBM/UserData
/Domino/data
NSF
database Active Archived
logs logs
When backup runs, archived log extents are copied and then
deleted, followed by extents in log directory,
including the active log.
Backup
SAVDOMBRM media
References:
DAOS Quick Start Guide
http://www.lotus.com/ldd/dominowiki.nsf/dx/daos-quick-start-guide
DAOS Best Practices
http://www.lotus.com/ldd/dominowiki.nsf/dx/daos-best-practices
DAOS Estimator
http://www.ibm.com/support/docview.wss?rs=463&uid=swg24021920
BRMS Reference
http://www-03.ibm.com/systems/i/support/brms/domdaos.html
Media policy
2. Which command will display a list of the storage locations defined on your
system?
a. WRKCTLGBRM
b. WRKDEVBRM
c. WRKLOCBRM
d. WRKMEDBRM
The answer is WRKLOCBRM.
3. It is recommended that for ________ locations, the parameter for allow volumes to
expire should be set to *NO.
a. Tape library
b. Tape drive
c. Onsite
d. Offsite
The answer is Offsite.
CASE01 ) ULTRIUM1 30
CASE02 ) LTOCASE ULTRIUM2 50
CASE03 ) LTO3581 100
: )
CASEnn )
Media policy
Move commands
WRKPCYBRM: Create, change, delete, display move policy
MOVMEDBRM: Move media
VFYMOVBRM: Verify media to be moved
PRTMOVBRM: Print media movement report
WRKMEDBRM: Option 8 for manual move
WRKPCYBRM *MOV
If issuing:
CHGMEDBRM VOL(T00005) MOVPCY(PAYMOV)
Volume obeys move policy from that point onward.
If a container is changed to specify a new or different move
policy, this move policy is applied to all volumes in the
container.
Move policies
Part A: Creating a move policy
Optional: If you will be using GUI, perform the exercise for the
GUI you will be using:
Part B: Creating a move policy using System i Navigator
Part C: Creating a move policy using Systems Director Navigator
for i
Media policy
Only the system that owns the tape can use the tape.
Potential problem when restoring to different system
Recovery report adds steps to address problem
It requires management of an additional tape pool.
BRMS implements networking:
To provide protection of tape media at all times, and
Reduces the need for SHARE *NO volumes.
System A System B
4. True or False: The Write once media parameter is used to specify that
only new sequence numbers can be created on this media, it cannot
be reinitialized or reused.
4. True or False: The Write once media parameter is used to specify that
only new sequence numbers can be created on this media, it cannot
be reinitialized or reused.
The answer is True.
Optional: If you will be using GUI, perform the exercise for the
GUI you will be using:
Part B: Creating a media pool using System i Navigator
Part C: Creating a media pool using Systems Director Navigator for i
Media policy
Implemented by either:
Media policy with Secure media parameter set to *YES
CHGMEDBRM command
Change volume option from WRKMEDBRM
Authority required:
To secure a volume: *ALLOBJ or *SERVICE authority
To read objects or to restore objects from a secured volume:
*ALLOBJ or *SECADM authority
3. True or False: To read objects or to restore objects from a secured volume, your
user profile must have either *ALLOBJ or *SECADM authority.
The answer is True.
Identified by:
A plus sign (+) on the WRKMEDBRM display and by either a:
*YES in the Serial Set column or
*YES in the Parallel Set column
Position to Object . . .
Enrolling:
Adding tape information to BRMS media inventory
Initializing:
Writing tape header label, optionally clearing data
ADDMEDBRM command for stand-alone drives or
ADDMLMBRM command for tape library
You must specify the type of information on the tape using the File origin
parameter.
BRMS reads the tape and populates the database with its contents.
Media class
- Allocate media
Media location Media balancing depends on
(customer decides) availability.
Priority - If not able to allocate
required media,
message will be
Number required issued.
Find . . ..+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1.
Selection Criteria
Media Class . . . . . . . . . . : FMT3590H
Location . . . . . . . . . . . . : TAPMLB01
System . . . . . . . . . . . . . : *NETGRP
Number of Number of
System Network Media Media Media Media
Name ID Class Location Priority Required Available Status
*****ENDOFLISTING*****
Find . . ..+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1.
Selection Criteria
Media Class . . . . . . . . . . : FMT3590H
Location . . . . . . . . . . . . : TAPMLB01
System . . . . . . . . . . . . . : *NETGRP
Number of Number of
System Network Media Media Media Media
Name ID Class Location Priority Required Available Status
*****ENDOFLISTING*****
Media pools
Media set rotation
Media scratch pool
Traditional method
BRMS method
Monday Tuesday Wednesday Thursday Friday
Tape 5 Tape 5 Tape 5 Tape 5 Tape 5 T36 T37 T38 T39 T40 ... Tnn
1. The _______________ command works with active, expired, or all media volumes
in the media inventory by creation and expiration date for any or all locations.
a. ADDMEDBRM
b. ADDMLMBRM
c. SETMEDBRM
d. WRKMEDBRM
8. The _____________ command is used to direct the system to extract file level
details to the BRMS media inventory content volume information.
a. ADDMEDIBRM
b. EXTMEDIBRM
c. SETMEDBRM
d. WRKMEDBRM
9. The controls you set with the _____________ command remain in effect for your
job until they are reset or otherwise changed by re-running this command.
a. ADDMEDIBRM
b. EXTMEDIBRM
c. SETMEDBRM
d. WRKMEDBRM
10. True of False: The Start Media Balancing for BRM (STRBALBRM) command
balances media ownership to match the required number of media needed for
systems within a BRMS network.
8. The _____________ command is used to direct the system to extract file level
details to the BRMS media inventory content volume information.
a. ADDMEDIBRM
b. EXTMEDIBRM
c. SETMEDBRM
d. WRKMEDBRM
The answer is EXTMEDIBRM.
9. The controls you set with the _____________ command remain in effect for your
job until they are reset or otherwise changed by re-running this command.
a. ADDMEDIBRM
b. EXTMEDIBRM
c. SETMEDBRM
d. WRKMEDBRM
The answer is SETMEDBRM.
10. True or False: The Start Media Balancing for BRM (STRBALBRM) command
balances media ownership to match the required number of media needed for
systems within a BRMS network.
The answer is True.
SNA SNA
or B or
TCP TCP
A Shared media C
Advantages:
Shared scratch pool
Cross-system restores, especially spool files
Able to see all media from one system
Ability to create recovery report for system B from system A
Copyright IBM Corporation 2011
BRMS network (2 of 2)
IBM i
Considerations:
Networking adds complexity to your BRMS setup.
You need to ensure communications stay active.
You need to coordinate schedules for BRMS functions.
BRMS daily maintenance
Media movement
Possible lock conditions if multiple systems in a BRMS network are
performing these functions simultaneously.
You need to implement a PTF strategy, make sure to stay current/up
to date.
QA1ANET2 QA1ANET2
Media inventory:
Only tapes of a media class with SHARE(*YES) can be used on all systems.
Media classes
Media policies
Container inventory
Container classes
Move policies
Network groups
Storage locations
Duplication cross-reference:
This information is copied between participating systems when set up.
Updates are reflected almost immediately through communications link.
Use of a tape on one system that was last used by another system initiates a
communications job to verify tape status.
1. Check TCP/IP.
a. Ping command to verify communications in both directions
QA1ANET2 QA1ANET2
BRMS uses a mode of BRMS and uses QBRMS profile for authority.
The profile might get disabled occasionally due to unforeseen error conditions.
If systems stop communicating, no job logs are produced. Issue:
CHGJOBD JOBD(QBRM/QBRMSYNC) LOG(4 00 *SECLVL)
This produces a job log every time systems try to communicate. The job log is for
user QBRMS. Once a job log is produced, turn logging back off.
If data exists in file QUSRBRM/QA1ANET2, systems are not
communicating.
Investigate file to determine which systems are involved and change logging level
of jobd.
DSPPFM FILE(QUSRBRM/QA1ANET2)
It is recommended that you do not use QUSRBRM to store any user-
created objects.
*NO leaves the entries for the media in the BRMS inventory.
*YES removes any media and history that is associated with
the system being removed.
*RENAME reassigns ownership of any media from the
removed system to the current system.
6. Which of the following is information that gets shared when you add a
system into a BRMS network?
a. System policy
b. Control groups
c. Media classes
d. Backup lists
6. Which of the following is information that gets shared when you add a system into
a BRMS network?
a. System policy
b. Control groups
c. Media classes
d. Backup lists
The answer is media classes.
Media contents:
Remove on expiration or reuse
*REUSE means more (possibly obsolete) data on the system
Provides an additional level of recovery
An expired volume can be used for recovery if a more current volume
has a media error.
Object level detail:
History consists of two files: Library level and object level (including
member level).
*MEDCON (Media Contents) means remove entries from both files at
the same time.
Number of days can be specified for retention of object level detail.
Number should be equal to or smaller than the expiration period.
If smaller, object level detail is removed sooner.
Prevents BRMS led object level recovery
Reduces space taken on disk
Copyright IBM Corporation 2011
Remove media information parameter (2 of 2)
IBM i
Library
detail
*EXP *REUSE
Object
detail
Number
*MEDCON *MEDCON
of days
BRMS6714
Restoring objects:
IBM i objects
IFS (link information)
DLOs
Spool files
Capabilities include:
*SYSTEM *JOURNAL
*ALLDLO *LIB
*ALLUSR *LNKLIST
*APYJRNCHG *RCYEXITPGM
*ASP *RESUME
*ASPDEV *SAVSYS
*CTLGRP *SYSBAS
*IBM
Be sure to keep the most recent copy of your recovery report for each
system in a safe place at all times.
New in V7R1
Review help
GO BRMRCYPLN
Recovery activities
Recovery Title
contracts Up to five recovery contacts
Name Short text
Detailed recovery
Phone
Description (50 lines or more)
Details
6. The default on the system when you run the STRRCYBRM command
is __________.
a. *Report
b. *Restore
The answer is *Report.
Vol. 1 Vol. 2
Seq 1 Seq 1
Seq 2 Seq 2
Seq 3 Seq 3
APPEND:
Seq 4 Seq 4
Seq 5 Seq 5
Seq 6 Seq 6
Seq 7
Seq 8
Seq 9
Vol. 1 Vol. 2
Seq 1 Seq 1
Seq 2 Seq 2
Seq 3 Seq 3
APPEND:
Seq 4 Seq 4
Seq 5 Seq 5
Seq 6 Seq 6
DUPMEDBRM successful:
Receive message Tape duplication completed successfully at bottom
of screen
WRKMEDBRM:
Dup Sts column changes from 1 to * to indicate that a duplication has
taken place.
Database
After SAVE:
QUSRBRM
Mikey, Johnd,
Databaseon DASD:
and so on. Updated
QA1AHS
Appended to tape
QA1AMM
ABC123 ABC123
QA1ACN
Mikey, Johnd,
QA1ADV and so on.
QA1AMT
Qusrbrm ABC123
QA1ASP
QA1A1DV
QA1AMD
QA1ALR
QA1AOQ
After DUPLICATION:
Database
Databaseon DASD:
QUSRBRM
Updated
Mikey, Johnd,
QA1AHS and so on. Databaseon tape:
Unchanged
QA1AMM ABC123 DEF123 ABC123 DEF123
DUPMEDBRM
Copyright IBM Corporation 2011
V5R3 duplication considerations (3 of 3)
IBM i
ABC123 DEF123
QA1AMM ABC123 DEF123
Mikey, Johnd, Mikey, Johnd,
and so on and so on
Qusrbrm ABC123 Qusrbrm ABC123
Qusrbrm ABC123
DEF123
DUPMEDBRM and
SAVMEDIBRM
Copyright IBM Corporation 2011
Printing labels
PRTLBLBRM
6. True or False: BRMS will keep track and allow you to display
details about media that has been duplicated.
6. True or False: BRMS will keep track and allow you to display
details about media that has been duplicated.
The answer is True.
Copyright IBM Corporation 2011
Unit summary
IBM i
Tape duplication
Example:
Give user *OPERATOR authority.
Changes made using the SETUSRBRM command will be reflected in
System i Navigator.
Copyright
Copyright IBM
IBM Corporation
Corporation 2010
2011
Functional usage
IBM i
Why archive?
To save DASD space:
Select infrequently used objects, save them to tape, and then delete from disk.
Named items:
Library name: Archive objects from a library
Generic library name: Archive objects from multiple libraries
List name: Archive a list of objects, folders, spool files, or IFS files
*ALLDLO: Archive all document library objects
*ASPnn: Archive all objects within an ASP
*QHST: Archive old historyQHSTfiles
Special operations:
*EXIT: Perform user command processing
*LOAD: Begin a new tape
Object size
Inactivity limit:
The number of days of inactivity before an object becomes a candidate for archive
Checks last change date, last use date, or either
Objects able to be freed: Test/archive if object is able to be saved
storage freed
Objects not able to be freed: Test/archive if object cannot be saved
storage freed
Retain object description: STG(*FREE) versus *KEEP
Days used per month: Less than (XX)
A typical object
Activity: 1.
2.
Display log
Display archive exceptions
3. Work with archive media information
DSPLOGBRM with 4. Resume retrieval of archived objects
WRKMEDIBRM Library . . . . . . . . . . . .
Volume . . . . . . . . . . . . .
*ALL
*ALL
Name, generic*, *ALL...
Character value, *ALL
WRKMEDIBRM SAVTYPE(*ARC)
Save type set to *ARC
Perform all operations available for save operations:
Restore
Work with saved objects
And so forth
Position to Date . . . . .
6. True or False: An object list that was created for backup can
also be used for archive processing.
6. True or False: An object list that was created for backup can
also be used for archive processing.
The answer is False.
SETRTVBRM command:
Looks the same as retrieve policy screen:
Takes the default operation from the retrieve policy
Modifies retrieve controls for the job that issues the command
Storage threshold:
Will not restore an object if the ASP threshold would be exceeded
Confirm Retrieve
Simplified management of
enterprise backups
Centralized administration of
multiple servers and clients
VM
OS/2
POWER i
MVS
AIX
Solari
HP-UX s
Windows
NT
TSM server
TCP/IP
TCP/IP
APPC
Other TSM
servers
POWER i application
client to TSM
BRMS
BRMS device BRMS TSM
storage
location *NET *APPC media policy
Install TSM
application
APIs
BRMS control
Register with
group
TSM server
TSM administrator
*APPC
There are two communication protocols that can be
This device is only used with a TSM (ADSM) server.
BRMS does not automatically configure this device used with the TSM Client: TCP/IP and APPC. Both
for you. You must enter device information. A device can be used to communicate with a TSM
with category *APPC is a device that supports SNA server. TCP/IP will be the most common way to
protocol. communicate with other TSM server platforms.
*NET The type of communication protocol is established
This device is only used with a TSM server. BRMS through the creation of either a *NET or *APPC
does not automatically configure this device for you. device using the WRKDEVBRM command.
You must enter device information. A device with
category *NET is a device that supports TCPIP/protocol.
WRKMEDIBRM:
Information about the save
Restore
Position to Date . . . . .
Entry 1
Job . . . . . . . . . . . . . . : 05461010
Job user . . . . . . . . . . . . : ITSCID07
Date . . . . . . . . . . . . . . : 01/110/07
Time . . . . . . . . . . . . . . : 07:27:10
Number of blocks . . . . . . . . : 1
Average block size . . . . . . . : 3610100 (bytes)
Average block time . . . . . . . : .121 (seconds)
Fastest block time . . . . . . . : .121 (seconds)
Slowest block time . . . . . . . : .121 (seconds)
Save rate . . . . . . . . . . . : 1.4510 (billions of bytes each hour)
https://elabgateway.moppssc.com
Requires: Class number
Course code