BRMS Detail
BRMS Detail
BRMS Detail
iSeries
iSeries
Note
Before using this information and the product it supports, be sure to read the information in
Notices on page ix.
Contents
About Backup, Recovery, and Media
Services for iSeries (SC41-5345-02) . . vii
Who should read this book . . . . . . . . . vii
Prerequisite and related information . . . . . . vii
Operations Navigator. . . . . . . . . . viii
How to send your comments . . . . . . . . viii
Notices . . . . . . . . . . . . . . . ix
Trademarks .
Summary of Changes
. x
. . . . . . . . xi
| Software Enhancements . . . . . . . . . . xi
| Book Enhancements. . . . . . . . . . . . xi
.
.
.
.
.
.
.
.
.
3
3
3
4
5
5
6
6
7
. 9
. 11
. 11
11
. 12
. 12
. 13
. 13
. 19
21
21
22
22
22
23
24
24
25
26
27
28
29
30
30
31
31
32
33
34
34
34
35
35
35
37
37
37
37
38
38
38
. 15
. 16
. 17
.
.
.
.
.
17
18
18
18
19
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
43
43
44
44
iii
. 44
. 46
. 48
. 49
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
52
52
54
56
57
59
59
61
64
66
67
67
72
73
75
75
76
78
. 81
. 82
. 82
. 84
. 84
. 87
. 88
. 90
. 91
. 93
. 100
. 107
. 108
109
. 109
. 114
. 116
. 118
. 119
. 122
. 125
. 127
iv
. 129
131
131
133
136
137
138
143
143
144
146
148
150
150
151
152
153
153
153
154
154
155
157
. 159
. 161
. 163
163
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
165
165
168
168
169
169
170
173
.
.
.
.
.
.
.
.
.
.
.
.
175
176
176
177
177
178
.
.
. 179
. 179
.
.
.
.
.
.
.
.
.
. 180
. 181
. 182
.
.
.
.
.
.
.
.
.
.
.
.
183
183
183
184
184
184
191
191
191
193
194
194
198
201
202
203
204
205
206
. 207
. 207
. 208
208
. 208
. 209
. 209
. 210
. 210
. 210
. 211
. 211
. 211
. 211
. 211
212
. 212
.
.
.
.
.
.
.
.
213
213
213
213
214
215
215
215
215
215
216
216
216
216
216
217
219
221
223
223
225
225
226
226
228
229
229
231
232
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
235
235
235
235
235
236
236
236
236
237
237
238
238
238
239
239
239
240
240
240
241
241
242
242
242
Contents
.
.
.
.
.
.
.
.
.
.
.
.
.
.
242
243
243
244
244
244
244
245
245
245
245
245
246
246
246
247
vi
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
249
249
249
250
250
250
250
251
252
253
253
253
254
254
255
255
255
255
256
257
258
258
258
259
259
259
260
260
260
261
Index . . . . . . . . . . . . . . . 263
This book provides step-by-step instruction on how to perform each of these tasks,
and provides detailed examples whenever possible.
At V5R1, many functions of BRMS are now available through a plug-in to
Operations Navigator. For more information on the functions that are available in
Operations Navigator, go to the iSeries Information Center.
vii
clustering, Java, TCP/IP, Web serving, and secured networks. It also includes links
to related IBM Redbooks and Internet links to other IBM Web sites such as the
Technical Studio and the IBM home page.
With every new hardware order, you receive the following CD-ROM information:
v iSeries 400 Installation and Service Library, SK3T-4096-00. This CD-ROM contains
PDF manuals needed for installation and system maintenance of an IBM ~
iSeries 400 server.
v iSeries 400 Setup and Operations CD-ROM, SK3T-4098-00. This CD-ROM contains
IBM iSeries Client Access Express for Windows and the EZ-Setup wizard. Client
Access Express offers a powerful set of client and server capabilities for
connecting PCs to iSeries servers. The EZ-Setup wizard automates many of the
iSeries setup tasks.
Operations Navigator
IBM iSeries Operations Navigator is a powerful graphical interface for managing
your iSeries and AS/400e servers. Operations Navigator functionality includes
system navigation, configuration, planning capabilities, and online help to guide
you through your tasks. Operations Navigator makes operation and administration
of the server easier and more productive and is the only user interface to the new,
advanced features of the OS/400 operating system. It also includes Management
Central for managing multiple servers from a central server.
For more information on Operations Navigator, see the iSeries Information Center.
v If
you prefer to send comments by FAX, use either of the following numbers:
United States, Canada, and Puerto Rico: 1-800-937-3430
Other countries: 1-507-253-5192
you prefer to send comments electronically, use one of these e-mail addresses:
Comments on books:
[email protected]
Comments on the iSeries Information Center:
[email protected]
Be sure to include the following:
v The name of the book or iSeries Information Center topic.
v The publication number of a book.
v The page number or topic of a book to which your comment applies.
viii
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the users responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
500 Columbus Avenue
Thornwood, NY 10594
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation
Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106-0032, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
This information could include technical inaccuracies or typographical errors.
Changes are periodically made to the information herein; these changes will be
incorporated in new editions of the publication. IBM may make improvements
and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
ix
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
Software Interoperability Coordinator
3605 Highway 52 N
Rochester, MN 55901-7829
U.S.A.
Such information may be available, subject to appropriate terms and conditions,
including in some cases, payment of a fee.
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
Any performance data contained herein was determined in a controlled
environment. Therefore, the results obtained in other operating environments may
vary significantly. Some measurements may have been made on development-level
systems and there is no guarantee that these measurements will be the same on
generally available systems. Furthermore, some measurements may have been
estimated through extrapolation. Actual results may vary. Users of this document
should verify the applicable data for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of
those products, their published announcements or other publicly available sources.
IBM has not tested those products and cannot confirm the accuracy of
performance, compatibility or any other claims related to non-IBM products.
Questions on the capabilities of non-IBM products should be addressed to the
suppliers of those products.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
The following terms are trademarks of International Business Machines
Corporation in the United States, other countries, or both:
Application System/400
AS/400
e (Stylized)
IBM
iSeries
iSeries 400
Operating System/400
OS/400
400
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
Other company, product, and service names may be trademarks or service marks
of others.
Summary of Changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Software Enhancements
New functions available in BRMS at V5R1 include the following:
v A new shipped backup control group named *SYSTEM can be used to backup
all system and user data. This new backup control group uses a new ship media
policy named SYSTEM which has a default retention of 90 days.
v ACTIVITY and RETENTION parameters were added to the STRBKUBRM
command which allow you override the weekly activity attributes of backup
control group entries, and override the retention attributes of the media policies
assigned to the backup control group. These attribute overrides are resolved at
the time the command is run and do not change the stored attributes of the
backup control group or media policy.
v The BRMS System Recovery Report (QP1ARCY) has been enhanced to improve
readability. Some recovery actions that had previously included multiple tasks
were moved into seperate steps to minimize the likelihood of the actions being
missed during recovery.
v The BRMS Console Monitor has been updated to support a pass phrase of up to
128characters.
v BRMS has increased the support for traditional user ASPs from 16 to 32.
v The RSTAUTBRM command has been updated to enable restoration of the
private on user ASPs 1732 and Independent ASPs 3399.
v Beginning with V5R1, BRMS is available as a plug-in to Operations Navigator.
When the BRMS plug-in is installed, you will also see new functions integrated
into the Operations Navigator hierarchy like a Backup System... on the system
folder, and Backup... and Restore... functions on selected sub-folders and objects.
The BRMS plug-in adds a new Backup Recovery and Media Services folder into
the Operations Navigator hierarchy that provides a graphical view of BRMS
backup policies (control groups), media, saved item history, and backup log.
For detailed information on the BRMS plug-in to Operations Navigator, see the
iSeries Information Center.
Book Enhancements
The BRMS book has been updated at V5R1 to improve its effectiveness, readability,
and technical accuracy. Changes include:
v References to the ADSTAR Distibuted Storage Manager (ADSM) throughout the
book were changed to Tivoli Storage Manager (TSM).
v Added Chapter 14. Online Lotus Server Backups on page 207 which describes
how to perform online backups of Lotus servers using BRMS.
v Added Chapter 15. Using Tape Automation with BRMS on page 213 which
includes useful information about how to use tape automation with BRMS.
v The syntax diagrams and descriptions of the BRMS control language (CL)
commands now reside in the iSeries Information Center with the rest of the CL
information..
Copyright IBM Corp. 1998, 2001
xi
xii
BRMS Standard
The standard product provides you with the capability to implement a fully
automated backup, recovery, and media management strategy for your iSeries
system. Use BRMS with shared or stand-alone tape devices, automated tape
libraries, Tivoli Storage Manager (TSM) servers (formerly known as ADSTAR
Distributed Storage Manager (ADSM) servers), and an unlimited number of
volumes. The standard BRMS product does not provide archive, dynamic retrieval,
automated migration operations, or shared media support.
|
|
|
Many of the features in the BRMS standard product are available as part of a
plug-in to Operations Navigator. For detailed information on the BRMS plug-in to
Operations Navigator, see the iSeries Information Center.
The standard BRMS product assists you in defining and processing your backup,
recovery, and media management operations. Through user-defined controls,
BRMS works in conjunction with your iSeries system to manage your most critical
and complex backups while simplifying day-to-day operational tasks. The standard
BRMS product provides three basic functions.
v Backup: BRMS backup assists you in establishing a disciplined approach to
designing and managing your backup operations. It helps you to define, process,
monitor and report your backup activities. Use BRMS to back up all of the data
on your iSeries system including objects in libraries, folders, directories, spooled
files, security information, system configurations, and the operating system itself.
To do this, you can use the default backup control groups, already set up in
BRMS, or you can design your own backup operation to suit more specific
needs.
v Recovery: BRMS recovery provides for the orderly retrieval of lost or damaged
data. Its most important feature is a series of recovery reports that take you,
step-by-step, through the recovery of your system. These reports not only
contain restore instructions, but also indicate which tapes the system requires for
the recovery. 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.
v Media Management: BRMS media management tracks all of your tapes and save
files. Media is tracked through all cycles from tape creation to expiration. The
tracking process includes active use, storage location, and return to scratch pool
availability. BRMS tracks your media until you remove it from the media
inventory or until it is otherwise disabled due to usage threshold or poor quality
rating. BRMS also records and updates changes to the media inventory.
Figure 2 on page 5 illustrates how BRMS processes backups and recoveries through
the media management system. Policies, control groups, and devices link the
backup and recovery processes.
Policies and control groups tell BRMS how and what to back up or recover. The
media management system tells BRMS where to store the data and where to
retrieve it.
Types of Policies
The standard BRMS package provides the following policies:
v The System Policy is very similar to a set of system values. Unless other policies
or controls are in place, system policy parameters determine the policy defaults
for many of your BRMS operations.
v The Backup Policy specifies how to perform backups. You can define weekly
backup activities, types of incremental backup, and the level at which you want
to save media information. One backup policy governs all backup operations.
You can define or change these operations at the control group level.
v The Recovery Policy defines how recovery operations are generally to be
performed. One recovery policy governs all recovery operations. You can
redefine or change recovery command values to allow for single or phased
recoveries.
v The Media Policies govern the handling of media by media type. Media policies
determine retention periods and instruct BRMS where to find the appropriate
tapes to perform your backup. They also determine if backup operations will
create and use save files. Unlike system, backup, and recovery policies, multiple
media policies can exist.
Chapter 1. Introduction to Backup Recovery and Media Services for iSeries (BRMS)
v The Move Policy determines the movement of media from creation through
expiration, and through various on and offsite storage locations. Multiple move
policies can also exist.
As you can see, the system policy is global and encompasses the function policies
and the control groups. Unless otherwise altered, the information contained in
system policy parameters overrides information that is contained in function policy
parameters. By the same token, function policy information, unless otherwise
altered, overrides control group information.
However, because save and restore needs vary depending on customer needs,
policies and control groups that share the same parameters and value 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. The following examples illustrate override capability:
v The system policy uses a default media policy that is called FULL, which
indicates that, among other things, media must be kept for 35 days. Suppose,
however, that you want to retain media for a longer period. In this case, you
could specify the name of a different media policy in the backup policy at the
Media policies for full backups field. In this way, a function policy can override a
system policy value.
v A system policy default value instructs BRMS not to send a message to sign off
interactive users before a save operation begins. There may, however, be
occasions when the contents of a particular control group require that users be
off the system during save processing. In that case, you would change the value
in the Sign off interactive users field on the Change Backup Control Group
Attributes display from *NO to *YES. *YES, in this instance, means that users
cannot access that control group during save processing. In this way, a control
group value can override a policy value.
BRMS comes with several pre-defined values (called defaults) so that you can
immediately begin carrying out your backup, recovery, and media management
operations. You can change all or any of the default values at any time to better
reflect the needs of your company.
BRMS also comes with pre-defined backup control groups that allow you to
perform an immediate and comprehensive backup of your entire system. You can
find more information on the default backup control groups in Chapter 3. Backing
Up Your Entire System on page 15. You can find additional information on BRMS
policies in Part 2. Tailoring Your BRMS Operations on page 41.
Chapter 1. Introduction to Backup Recovery and Media Services for iSeries (BRMS)
Chapter 1. Introduction to Backup Recovery and Media Services for iSeries (BRMS)
10
This chapter does not describe how to install the BRMS plug-in to Operations
Navigator. For that information, see the iSeries Information Center.
Before installing BRMS, carefully review the next section to ensure that you can
meet BRMS hardware and software requirements.
Hardware Considerations
BRMS is compatible with all iSeries RISC system models. The following types of
media and tape library devices are compatible with BRMS:
v All types of iSeries tape media.
v All iSeries stand-alone tape devices.
v All iSeries media libraries (MLBs).
v Use of save files.
v Use of ADSM servers.
BRMS does not support diskette, optical, unlabeled or non-standard label tape.
During installation, BRMS automatically registers and initializes the devices
attached to your iSeries and creates corresponding device information entries. It is
very important that you attach the devices that you plan to use before installing
BRMS. If you add devices after the installation, you must run the initializing
process again to register the new devices with BRMS. To do so, use the Initialize
BRMS (INZBRM) command (*DATA).
Note: See Chapter 5. Working with Devices in BRMS on page 43 for more
information on how to use BRMS to add or change devices and device
information.
Software Considerations
\
You must install the Media and Storage Extensions (MSE) feature on your iSeries
before you install BRMS. If MSE is not installed, BRMS cannot register the exit
points and your saves will not complete.
11
2. At the Work with Licensed Programs display, select option 11 (Install Licensed
Programs).
3. Select licensed program 5722SS1, option 18, Media and Storage Extensions
(MSE), and press Enter.
4. Press Enter at the next display to confirm your selection.
5. At the Install Options display, type in the name of your installation device as
requested. Press Enter to start the installation.
6. Review the job log to ensure that the installation completed successfully. Use
the Display Job Log (DSPJOBLOG) command to review the job log.
You also need to ensure that the QSYS2 library is in your system library list. Use
the Display System Values command (DSPSYSVAL QSYSLIBL) to check. If
required, be sure to add the library to your system library list. You can use the
Change System Library List (CHGSYSLIBL) command to do so.
Installing BRMS
To install BRMS on your iSeries, perform the following steps:
1. Enter GO LICPGM from a command line.
2. At the Work with Licensed Programs display, select option 11 (Install Licensed
Programs).
3. Select Product 5722BR1, option *BASE, to install the standard Backup, Recovery,
and Media Services for the iSeries product. Then press Enter.
4. Press Enter at the next display to confirm your selection.
5. At the Install Options display, type in the name of your installation device as
requested. Then press Enter to start the installation.
6. Review the job log to ensure that the installation completed successfully. Use
the Display Job Log (DSPJOBLOG) command to review the job log.
7. After you have successfully installed the *BASE BRMS product, you can install
the additional features. To do so, repeat steps 1-6 for each feature. At step 3,
take option 1 for the Network feature or option 2 for the Advanced Functions
(HSM) feature.
During installation, BRMS performs the following tasks:
v Creates tape drive and media class entries that are based on the installed tape
devices.
v Creates default BRMS objects.
v Creates the QBRM and QUSRBRM libraries, which contain all BRMS-related
objects and information.
v Registers BRMS with the MSE feature of OS/400.
12
v Verify that the Allow user domain objects in user libraries (QALWUSRDMN) system
value is set to *ALL, which is the default shipped value. This value allows user
domain objects in libraries. It also determines which libraries on the system may
contain the user domain objects *USRSPC (user space), *USRIDX (user index),
and *USRQ (user queue). If you do not set the system value to *ALL, you must
add the QBRM and QUSRBRM libraries to the list of libraries that are shown on
the QALWUSRDMN display. You can use the Work with System Values
(WRKSYSVAL) command to verify the QALWUSRDMN system value.
13
Deleting the BRMS product from your system will remove the QBRM and
QUSRBRM libraries from your system. If you used BRMS to save objects to save
files, BRMS would have also created one or more libraries named Q1ABRMSnn,
where nn is the number of the auxiliary storage pool containing the library.
Deleting the BRMS product does not remove these save file libraries. If you intend
to remove BRMS permanently from your system, you can also remove these
libraries. You can delete these library by using the following command:
WRKOBJ OBJ(*ALL/Q1ABRM*) OBJTYPE(*LIB)
then use option 4=Delete to remove the libraries.
14
Many of the functions described in this chapter are available as part of a plug-in to
Operations Navigator. For detailed information on the BRMS plug-in to Operations
Navigator, see the iSeries Information Center.
BRMS generally processes backups by using control groups. You can also use
commands to process backups. In this chapter, however, the focus is on performing
backups with control groups. Control groups consist of groups of libraries, objects,
folders, spooled files, and other types of data that share similiar characteristics or
that you that you want grouped together for a particular purpose. BRMS comes
with three default backup control groups, *SYSGRP, *BKUGRP and *SYSTEM.
The *SYSGRP control group contains special values called *SAVSYS and *IBM,
which save OS/400 and IBM licensed programs (primarily the Q-libraries). The
*SAVSYS value saves the system security and configuration data. The *BKUGRP
control group saves the system security and configuration data, and.all user data
including user libraries, folders, DLOs, and Integrated File System data. The
*SYSTEM control group combines the entries of the *SYSGRP and *BKUGRP
control groups to allow you to backup the entire system using a single control
group. This chapter shows you how to use the *SYSGRP, *BKUGRP and *SYSTEM
control groups to perform backups of your entire system.
It is intended that you perform these backups after installing BRMS. After these
initial backups, you should backup your user and system data at the frequency
that best meets your business requirements. Thus, you might schedule daily,
weekly, and monthly backups. The information contained in this book can assist
you in developing and implementing the backup and recovery strategy that best
suits your business needs. Chapter 7. Tailoring Your Backup on page 81 and
Chapter 8. Performing Selected Recoveries on page 129, which provide
information on backup and recovery planning, and which also provide instruction
on how to tailor your backup and recovery operations, are likely to be particularly
helpful when designing your backup and recovery strategy.
Before you can perform any backups, however, you need to enroll the media for
BRMS to use. To do that, read the instructions below and enroll your media as
applicable.
Enrolling Media
The process of enrolling media has two steps, each of which is discussed in this
section:
1. Determining the media class by which BRMS identifies and tracks your media.
2. Enrolling the media volumes into BRMS.
15
16
RCHAS400
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*HOME
QIC2GB
*NO
30
*PRTF
0:00:00
*YES
60
*NO
*NO
*YES
F12=Cancel
17
18
3. Be sure that the media you use for this backup is enrolled in the SAVSYS
media class.
4. To begin the backup, type STRBKUBRM CTLGRP(*SYSGRP) SBMJOB(*NO) at
any command line and press Enter.
5. Once the *SYSGRP backup completes, review the job log to ensure that the
save completed successfully. To display the job log, enter DSPJOBLOG at a
command line, and then press F10 to see the details.
19
Perform the following steps to print the recovery reports you will need to recover
your system:
1. Type STRRCYBRM at any command line and press F4 to prompt the Start
Recovery using BRM display.
2. Press Enter to get a complete list of fields.
3. Set the value in the Option field to *SYSTEM and the value in the Action field to
*REPORT.
4. Press Enter to generate the spooled files from which to print the following
reports:
v QP1ARCY: Recovering Your Entire System (features the actual recovery
steps)
v QP1A2RCY: Recovery Volume Summary Report (tells you where to find the
necessary volumes)
v QP1AASP: Display ASP Information
5. Use the Work with Spooled Files (WRKSPLF) command to print the reports.
To use BRMS to perform a recovery, you must have a copy of these reports
available. Each time you complete a backup, print a new series of recovery reports.
Be sure to keep a copy of these reports with each set of tapes at all locations where
media is stored.
20
Many of the functions described in this chapter are available as part of a plug-in to
Operations Navigator. For detailed information on the BRMS plug-in to Operations
Navigator, see the iSeries Information Center.
21
F3=Exit F4=Prompt
F24=More keys
. . .
. . .
*SYSTEM
*REPORT
. . .
. . .
*AVAIL
*BEGIN
Time, *AVAIL
Date, *CURRENT, *BEGIN
.
.
.
.
.
.
*AVAIL
*END
*NO
*SYSTEM
Time, *AVAIL
Date, *CURRENT, *END
*NO, *YES
Name, *SYSTEM, 1, 2, 3, 4...
Name, generic*
Name, *ALL
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*ALL
F12=Cancel
2. Press F9 to get a complete list of fields. Make sure that the value Option field is
*SYSTEM, and that the value in the Action field is *REPORT.
3. Press Enter to generate the reports.
4. Print the reports from the output queue. If desired, you can use the Work with
Spooled Files (WRKSPLF) command to view the reports prior to printing
them.The reports generate three corresponding spooled files, from which you
can print the reports:
v QP1ARCY: Recovering Your Entire System
v QP1A2RCY: Recovery Volume Summary Report
v QP1AASP: Display ASP Information
These reports are very important to a successful recovery. To ensure that the tapes
and reports you need are available at all times, it is critical that you perform the
following steps:
v Print an updated series of reports after the completion of each save (or at least
once per day).
22
v You should make duplicate copies of each backup volume and attach copies of
the latest reports to them.
v Distribute copies of the tapes and reports to each iSeries location that
participates in the saves.
v You should always store at least one copy of the tapes and reports at an offsite
location.
Note: Though this chapter only mentions the Start Recovery using BRM
(STRRCYBRM) command in terms of its report capability, this command
performs several other important recovery functions. You can find more
information about this command in Chapter 8. Performing Selected
Recoveries on page 129.
23
The information in the sections that follow show accurate reflections of the
instructions that appear for each step in the actual report. As you read through the
recovery steps, be sure to read the information inside the step as well the text that
may precede or follow it.
The following are a few general things to keep in mind as you review the steps:
v Use the Start time and Stop time fields to record the time is takes to test or
perform the recovery step.
v The Saved item column indicates the name of the items you need to restore to
perform the recovery step.
v The Control group column identifies the name of the control group that contains
the saved item (if you saved the item in a control group).
v The Volume identifier column lists the name of the volume that contains the latest
backup of the saved item that you need to recover. (The Volume Summary
Report provides the name of the location where you can find the volume).
v The information in the remaining columns pertain to the backup of the saved
item.
Use the media shown below and the procedure for "Recovering the
Licensed Internal Code" in the "Backup and Recovery" book.
__ Use "Option 2" if you are recovering to a different system or if
you are recovering to a system with user ASP(s) or if you are
recovering to the same system with a different release.
__ Use "Option 3" if you are recovering to the same release and same
system or you are recovering a logical partition to another logical
partition.
Saved
Save
Save
Sequence Control
Item
Type ASP Date
Time Objects Omit Number
Group
---------- ----- --- -------- ------- ------- ----- --------- ---------*SAVSYS
*FULL 01 7/25/00 11:25:30
0
1 *SYSGRP
24
Volume
Identifier
---------VOL003
Use the media shown below and the procedure for "Restoring the Operating
System using the Complete Restore Method", as detailed in the "Backup
and Recovery" book.
Saved
Save
Save
Sequence Control
Item
Type ASP Date
Time Objects Omit Number
Group
---------- ----- --- -------- ------- ------- ----- --------- ---------*SAVSYS
*FULL 01 7/25/00 11:25:30
0
1 *SYSGRP
Volume
Identifier
---------VOL003
25
Type
----*FULL
*FULL
*FULL
*FULL
*FULL
ASP
--01
01
01
01
02
Save
Save
Sequence Control
Date
Time Objects Omit Number
Group
-------- ------- ------- ----- --------- ---------7/25/00 11:35:30
181
56 *BKUGRP
7/25/00 14:43:38 1,007
15 *SYSGRP
7/25/00 14:43:38
7
52 *SYSGRP
7/25/00 14:43:38
1
106 *SYSGRP
7/25/00 14:43:38
1
107 *SYSGRP
Volume
Identifier
---------VOL002
VOL003
VOL003
VOL003
VOL003
26
Volume
Identifier
---------VOL003
You must initialize the BRMS/400 device and media library information
Use the following command to clear and initialize the BRMS/400 device
and media library information with the tape and media library devices
currently configured on the system:
INZBRM OPTION(*DEVICE)
INZBRM OPTION(*DEVICE) resets some device information to the BRMS/400
supplied defaults. Review the BRMS/400 device information using the
following command:
WRKDEVBRM
Update the BRMS/400 device information with any changes necessary to
continue with your recovery.
27
28
Volume
Identifier
---------VOL003
You must restore specific system libraries before you can use BRMS/400
to perform other recovery steps.
If the "Select Recovery Items" display is not shown and you are
performing a complete system restore, run the following command:
STRRCYBRM OPTION(*RESUME)
Otherwise, run the following command using media shown below:
STRRCYBRM OPTION(*SYSTEM) ACTION(*RESTORE)
Select the following saved item(s) on the "Select Recovery Items"
display using the specified volume(s).
Saved
Item
---------QGPL
QUSRSYS
QSYS2
Type
----*FULL
*FULL
*FULL
ASP
--01
01
01
Save
Save
Sequence Control
Date
Time Objects Omit Number
Group
-------- ------- ------- ----- --------- ---------7/25/00 10:06:15
443
39 *BKUGRP
7/25/00 10:06:15 1,520
45 *BKUGRP
7/25/00 14:43:38
115
99 *SYSGRP
Volume
Identifier
---------VOL002
VOL002
VOL003
The difference between the two STRRCYBRM options shown in the this step (and
of following steps) is that OPTION(*RESUME) shows only those saved items
Chapter 4. Recovering Your Entire System
29
Volume
Identifier
---------VOL003
30
You must reset the BRMS/400 device and media library information.
Use the following command to clear and initialize the BRMS/400 device
and media library information with the tape and media library devices
currently configured on the system:
INZBRM OPTION(*DEVICE)
INZBRM OPTION(*DEVICE) resets some device information to the BRMS/400
supplied defaults. Review the BRMS/400 device information using the
following command:
WRKDEVBRM
If you have a media library device, use the following command:
WRKMLBBRM
Update the BRMS/400 device information with any changes necessary to
continue with your recovery.
You may now select to recover all of the data on your system.
To do so, run the following command:
STRRCYBRM OPTION(*RESUME)
Press F9 (Recovery defaults) on the Select Recovery Items display.
Ensure the tape device name or media library device name that you are
using is correct.
Press F16 to select all recovery items.
After the saved items are recovered, continue with the step following
"STEP: Recover objects in directories".
Otherwise, continue with the following step.
31
Type
----*FULL
*FULL
*FULL
*FULL
*FULL
ASP
--01
01
01
01
01
Save
Save
Sequence Control
Date
Time Objects Omit Number
Group
-------- ------- ------- ----- --------- ---------7/25/00 10:06:15
113
42 *BKUGRP
7/25/00 14:43:38
84
4 *SYSGRP
7/25/00 14:43:38
175
5 *SYSGRP
7/25/00 14:43:38
8
6 *SYSGRP
7/25/00 14:43:38
10
7 *SYSGRP
Volume
Identifier
---------VOL002
VOL003
VOL003
VOL003
VOL003
Once at the Select Recovery Items display, you can select just the IBM libraries you
need to restore. Or, you can press F16 to select and restore all of the libraries.
Unless you are absolutely sure which IBM product libraries you need to omit, you
should select all of the IBM product libraries.
Select Recovery Items
Type options, press Enter. Press F16 to select all.
1=Select 4=Remove 5=Display 7=Specify object
Saved
Opt Item
#COBLIB
QADM
QADMDISTP
QANE
QANERSTLIB
QANESAVLIB
QANETST
QANSAPI
QBLDMRIBR1
QBLDSYS
QBLDSYSR
Date
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
7/25/00
Time
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
14:43:38
Save
Type
*FULL
*FULL
*FULL
*FULL
*FULL
*FULL
*FULL
*FULL
*FULL
*FULL
*FULL
Volume
Serial
VOL003
VOL003
VOL003
VOL003
VOL003
VOL003
VOL003
VOL003
VOL003
VOL003
VOL003
File Expiration
Seq
Date
4 4/15/05
5 4/15/05
6 4/15/05
7 4/15/05
8 4/15/05
9 4/15/05
10 4/15/05
11 4/15/05
12 4/15/05
13 4/15/05
14 4/15/05
Objects
Saved
84
175
8
10
25
24
199
13
4
1755
493
32
Type
----*FULL
*FULL
*FULL
*FULL
*FULL
ASP
--01
01
01
01
01
Save
Save
Sequence Control
Date
Time Objects Omit Number
Group
-------- ------- ------- ----- --------- ---------7/25/00 10:06:15
4
4 *BKUGRP
7/25/00 10:06:15
2
5 *BKUGRP
7/25/00 10:06:15 1,003
6 *BKUGRP
7/25/00 10:06:15
256
7 *BKUGRP
7/25/00 10:06:15
113
8 *BKUGRP
Volume
Identifier
---------VOL002
VOL002
VOL002
VOL002
VOL002
You should restore the current version of your documents, folders and mail.
Before you begin, use the "Backup and Recovery" book to determine if
Document Library Objects need to be reclaimed.
To do so, run the following command:
RCLDLO DLO(*ALL)
If you ran STRRCYBRM OPTION(*RESUME) for a complete system restore,
and you are on the "Select recovery items" display, select the
following saved items to recover using the specified volume(s).
Otherwise, if you are on a command line, run the following command to
retrieve the following list of saved items, then Press F16 to select
to recover all the saved items using the specified volumes:
STRRCYBRM OPTION(*ALLDLO) ACTION(*RESTORE)
Saved
Save
Save
Sequence Control
Item
Type ASP Date
Time Objects Omit Number
Group
---------- ----- --- -------- ------- ------- ----- --------- ---------*ALLDLO
*FULL 01 7/25/00 11:36:05
119
57 *BKUGRP
Volume
Identifier
---------VOL002
33
Volume
Identifier
---------VOL002
If spooled files were saved, restore your spooled files using the
following command:
WRKSPLFBRM
Press F16 to select all recovery items.
Otherwise, select the individual items you need to recover.
Use the media listed on the "Select Recovery Items" display.
34
35
You will need to perform the following special recovery action if your system had
iSeries Integration for Windows Server installed and the Integrated Netfinity
Servers were VARIED ON when the system was last saved.
If the Integrated Netfinity Servers were VARIED ON
during the save, perform these recovery steps:
__ a. Vary off any Integrated Netfinity Servers that
are varied on using the following command:
WRKCFGSTS CFGTYPE(*NWS)
Select option 2 to vary off each server.
__ b. Create any needed Network Storages using the following command:
CRTNWSSTG NWSSTG(storage-name)
__ c. Add the links for each server description using
the following command:
ADDNWSSTGL NWSSTG(network-server-storage-name)
NWSD(network-server-description-name)
__ d. Vary on your Integrated Netfinity Servers using the following
command:
WRKCFGSTS CFGTYPE(*NWS)
Select option 1 to vary on each server.
__ e. Restore AS/400 Integration for Windows Server data using the
following command and the volumes listed in "STEP: Recover objects in
directories":
RST OBJ('/QNTC')
36
Re-apply PTFs that were applied since your last save of system data.
37
If you do not know the password for the restored QSECOFR user profile
change the password before signing off using the following command:
CHGUSRPRF USRPRF(QSECOFR) PASSWORD (new-password)
Return system to normal mode and IPL using the following command:
PWRDWNSYS OPTION(*IMMED) RESTART(*YES)
Recovery Tips
When preparing for either a selected or a total recovery, keep the following tips in
mind:
v If BRMS cancels or ends the recovery in error, you can restart the recovery by
using the STRRCYBRM *RESUME command.
v You can use the OS/400 operating system to assist with selected restores. Before
you do so, however, keep the following information in mind:
If you save with the option 21 (Save) you must restore with option 21
(Restore).
If you save with BRMS, you must restore with BRMS.
You cannot mix the two different types of saves and restores.
v After designing and implementing your backup operation, you should test your
recovery procedures when using your own reports. Try to test your recovery
reports on a non-critical system. If do not have one available, contact your IBM
representative to set up a practice recovery at an IBM Business Continuity and
Recovery Services hotsite. You can use your own recovery reports at the
worksite.
38
v To ensure that the recovery reports you need are up-to-date, print a new
recovery report after each backup, or at least once per day.
v Always follow the steps in the Recovering Your Entire System report as they
appear.
v Always keep copies of the reports in easily retrievable locations in case of
disaster. Be sure to keep an updated copy of the recovery reports at all of the
offsite locations that contain active media.
39
40
41
42
43
Note: Should you have difficulty varying on a device, see the Backup and Recovery
book for assistance.
44
TAP01
6382/001
Location
*HOME
*YES
*YES
*IMMED
*SYSPCY
*NO, *YES
*YES, *NO
*IMMED, 1-999
*SYSPCY, *NO, *YES
*NO
*YES, *NO
Seconds
. . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Shared device . . . . . . . . . . .
Shared device wait . . . . . . .
F3=Exit
F4=Prompt
F12=Cancel
30
More...
3. Change the parameters as needed. Following are brief summaries of the key
parameters on this display:
v The default value in the Use optimum block size field is *YES. If you want to
use this default value, keep the following restrictions in mind:
OS/400 cannot duplicate tape if the output device uses a block size that is
smaller than the blocks being read by the input device.
If you use the optimum block size, the system does not compress the data.
If these restrictions concern you, set the value to *NO. In that case, BRMS
uses the default block size that is supported by your device. It is
recommended, however, that you use the default value, *YES, whenever
possible because the device performs better when writing larger blocks of
data at once.
v The default value in the Auto enroll media field is *NO and is established in
the system policy (*SYSPCY). If you want BRMS to automatically enroll
media into the tape device you want to use, you can specify *YES at this
display.
v The default value in the Shared device field is *NO. If you want to share a
device between multiple systems, change this parameter to *YES, and keep
the following information in mind:
BRMS manages device availability for shared devices. This means that
BRMS varies off the device after use so that it is readily available for use
by another system. BRMS varies on all of the devices it needs prior to a
save operation. The Shared device wait field specifies how long BRMS
should wait for a device to become available if it cannot locate any usable
devices.
Device pooling happens when several iSeries servers share a single tape
drive or set of tape drives. In this case, OS/400 or BRMS picks an eligible
device from a pool of devices that supports the read and write densities
you need. This permits several iSeries servers to access the pool at the
same time for any eligible device. In this way, you do not have to wait for
a specific device to become available or fail the operation due to a busy
45
device. If you are using a tape library, OS/400 manages device pooling for
you. If you are using a stand-alone device, BRMS manages device pooling
for you.
v In the Allow densities field you can indicate the density at which your device
can read and write to media. BRMS separates densities into the read and
write densities that are allowed by your device. This separation recognizes
that some devices can read media to a device but cannot write to it and vice
versa. Other devices can read and write the same densities. The ability to
specify the densities that a device can read or write is particularly useful
when using device pooling. For example, if you are backing up media with a
density of 1600 BPI, you can use a 2400-A12 or a 9348-0001 for this
operation. BRMS can do this because both devices can write to media at 1600
BPI. You can have multiple devices assigned to a location.
v After you have changed and reviewed these and other parameters as needed,
press Enter to return to the Work with Devices display.
The WRKDEVBRM command is the primary command for working with device
information for stand-alone devices. Use it to change and remove media
information as needed.
46
large number of tapes in an MLB unit and access a specified tape or tapes for read
and write operations. BRMS determines which volumes reside in the MLB, and
when needed, issues the proper command to mount the volume.
Tape libraries enable BRMS to provide the following support:
v Perform save and restore operations automatically.
v Perform file retrieve automatically.
v Can migrate infrequently used data from DASD to less expensive storage media
while maintaining the ability to access it automatically.
v Can archive massive amounts of data, such as in image or spooled archive
applications.
v Provide hardware that new applications can use to manage offline storage.
v Manage scratch tapes and tape usage.
Library
__________
MLB01
TAPMLB03
Status
Location
Text
Released
Released
VAULT
TAPMLB03
2. From this display, you can access a variety of MLB-related displays and
perform the following tasks:
v Change location, optimum block size, compaction, read and write densities,
and other device-related information.
v Change or review device description information, including renaming the
device.
v Hold and release a library for specified purposes.
v Work with media library media, including adding, initializing, removing,
mounting, and dismounting.
v Display library status information.
v Display media library media status information.
3. After completing your changes, press Enter to return to the Work with Media
Libraries display.
47
48
49
50
For convenience and ease of use and understanding, the BRMS media management
components have been grouped into the work sets that are shown in Figure 6. You
can set up your media management system by following the structure of this
chapter from preparation through tracking. Or you can select the components that
are most useful for managing your specific operation. Though you do not have to
use all of the components that are discussed in this chapter, your media does need
to be properly prepared before you can use it for backup purposes.
51
You can access all of the components that BRMS provides through commands or
through the Media Management menu. The sections that follow provide CL
commands for each component that is discussed. To get to the Media Management
menu, do the following:
1. Type GO BRMMED at a command line and press Enter. Alternatively, you can
select option 1 (Media Management) from the main BRMS menu.
BRMMED
Media Management
RCHAS400
You can access all of the primary media management components through the
Media Management menu or by using the commands that are associated with each
component.
Many of the functions described in this chapter are also available as part of a
plug-in to Operations Navigator. For detailed information on the BRMS plug-in to
Operations Navigator, see the iSeries Information Center.
|
|
|
52
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
USERDOE
*DENSITY
*NONE
1
*SYSPCY
*YES
Name
F4 for list
*DENSITY, Number nnnnn.nn
1=KB, 2=MB, 3=GB
*NONE, *MOVE, *WRITE
1=6 LPI, 2=8 LPI, 3=9 LPI
Name, *SYSPCY, *PRTF
Name, *LIBL
*YES, *NO
F12=Cancel
3. At the Add Media Class display, review and change the parameters as needed.
Following are brief summaries of the key fields on this display:
v The default Shared media value of *YES instructs BRMS to share media as
applicable with all systems in a network. However, you need to change this
value to *NO before performing a SAVSYS backup, even if your system is
not in a network. This means that you need to use a separate, unshared
media class to save your operating system and licensed internal code.
Because only one system needs to use these tapes, overwriting by another
system is acceptable. BRMS immediately registers volume activity on all
systems in the network so you can easily track volume activity.
v BRMS flags labels for printing at the Label output queue parameter. You can
mark specific volumes for label printing by selecting option 11 on the Work
with Media display. You can activate the label print request by selecting
option 7 (Confirm Media Label Print) from the Media Management menu.
v Make the class description in the Text field a meaningful one. This allows
you to view and identify the media class entry at a glance when you get to
the Work with Media Classes display.
4. Press Enter to save your changes and to return to the Work with Media Classes
display.
Use the Work with Media Classes (WRKCLSBRM) display any time you want to
add, change or remove a media class. You can also access the Work with Media
(WRKMEDBRM) display from the Work with Media Classes display to review
volume information that is associated with media of a particular class. Use the
Print Media Exceptions for BRM (PRTMEDBRM) display to review or print media
usage statistics. BRMS bases these statistics on the characteristics you specify on
the WRKCLSBRM command.
53
Enrolling Media
This section provides information on how to enroll and initialize volumes under a
variety of circumstances. You can find instruction on how to enroll individual
volumes into BRMS for use by stand-alone and tape library devices in Chapter 3.
Backing Up Your Entire System.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
VOL01
CART3490E
1
*NO
*NONE
Character value
CART3490E, FMT3480, FMT3570...
1-999
*NO, *YES
F10=Additional parameters
F24=More keys
Bottom
F12=Cancel
2. At the Add Media to BRM display, enter a unique six-character name into the
Volume Identifier field. To add multiples, the last characters of the volumes that
you specify must be numeric (for example, TAP01).
3. At the Media Class field, enter the media class name of the volume you want to
enroll. To select from a list of available media classes, press F4.
4. Enter the total number of volumes you want to add in the Number to add field.
Though the Number to add field is large enough to contain five digits, you can
only enroll a maximum of 999 volumes at one time.
5. Press F10 to review and change additional parameters as needed.
6. Press Enter to enroll the volumes.
BRMS provides the capability to automatically enroll media detected by BRMS but
not found in the media inventory. You can specify the use of this capability at the
Auto enroll media parameter on the Change System Policy display. You can specify
automatic enrollment for individual, stand-alone devices on the WRKDEVBRM
command.
54
4. Press Enter twice to prompt, review, and change the other parameters as
necessary.
5. Press Enter to save and exit.
F3=Exit F4=Prompt
F24=More keys
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
TAP01
*MOUNTED
*FILE
*UNLOAD
F12=Cancel
Name
Character value, *MOUNTED
*FILE, *SAVLIB, *SAVOBJ...
*LEAVE, *REWIND, *UNLOAD
Bottom
F13=How to use this display
55
v In the Volume ID field, you can enter a specific volume name, or you can use
the default value of *MOUNTED. If you use *MOUNTED, BRMS attempts to
add content information for the volume that is currently in the tape device.
When a volume is part of a multi-volume set, BRMS adds content
information for each of the volumes in the set. You must mount the media
set in the same order in which BRMS performed the save. That is, the first
volume of the set must be the volume that you initially mount on the
specified tape device.
v You must use the default value of *UNLOAD in the End of tape option field.
BRMS prompts you to mount the subsequent volumes when needed and in
set order.
Note: You cannot use the *MOUNTED value for a tape existing in a tape
library device. Instead you need to enter the specific volume name.
3. Review and change the remaining parameter as needed.
4. Press Enter to issue the command.
Initializing Volumes
In BRMS you usually need to initialize a volume only once in its lifetime. BRMS
keeps track of whether the volume has active data on it, and prevents you from
overwriting the active data. In addition, it allows you to overwrite expired data.
This single initialize concept means that volume error statistics can be kept for the
life of the tape. BRMS associates these statistics with the volume ID. If you were to
reinitialize a volume and give it a different volume serial, the statistics would be
lost. Keeping lifetime statistics for volumes is effective media management. When
the error rate for a particular volume is too high, remove the volume from service.
You can use either the ADDMEDBRM or the INZMEDBRM (Initialize Media using
BRM) command to initialize your media. Using the ADDMEDBRM command
allows you to initialize the media and also to add the initialized media to the
BRMS media inventory at the same time. The ADDMEDBRM command also
allows you to specify additional BRMS media management information such as
location and media statistics, whereas the INZMEDBRM command only initializes
media.
Note: Use the ADDMLMBRM command to initialize media for use by media
libraries.
To initialize a volume from the ADDMEDBRM display, simply change the Initialize
tape field from *NO to *YES and press Enter. Then type a valid device name into
the Device field and press Enter (you can access the Device field by pressing F10,
Additional Parameters).
Note: BRMS cannot initialize the volumes unless the tape device is varied on.
If you do not initialize volumes through the ADDMEDBRM display, use the BRMS
INZMEDBRM command instead of the OS/400 INZTAP command. To use the
INZMEDBRM command to initialize your media, take the following steps:
1. Ensure that your tape device is varied on.
2. Type INZMEDBRM at a command line and press Enter.
3. The key fields on this command are:
v In the Device field, specify the name of the device that you want to use to
initialize the tape, for example, TAP01.
56
v In the New volume ID field, type in the name of the volume you want to
initialize, for example, VOL02.
v In the Media class field, indicate the media class you need to use for this
volume, for example CART3490E.
v To assure the protection of media on an iSeries that is using BRMS media,
BRMS disables the CHECK(*NO) value on the INZTAP command. This
affects users without *SAVSYS, *SERVICE, or *ALLOBJ authority. Users do
not need any specific authority to use this parameter on the BRMS
INZMEDBRM command.
4. Review and change the remaining parameters as needed.
5. Press Enter to apply your changes.
57
green, and blue as identifiers, you need to set up media classes to match. In this
case, you need to set up a media class for each of the colors: red, blue, and green.
You would then assign each color class to a different save period, for example,
week 1 for red, week 2 for blue, and so on.
Before you implement the media set rotation method, however, consider the
following limitations:
v BRMS may not need all of the media in each set, which can be both wasteful
and expensive.
v Unused volumes can move from location to location, which wastes time, space,
and often money.
v This method requires more operator intervention. Operators must ensure that
BRMS uses the correct set for each backup in the cycle.
v It limits your ability to specify different media retention periods.
Media sets are active in the media inventory as long as they contain active data.
58
You can find the Next volume message prompt on the Change Tape Device display,
which you can access from the Work with Devices display. If you do not want
BRMS to send a message to insert the next volume, change the value in this field
to *NO.
Note: You can use the Next volume message prompt only with stand-alone devices,
not media libraries. Media libraries automatically do this for you.
Media Policies
Media policies are essential for the successful implementation of BRMS. The media
policy defines the type and length of media retention. It also defines the media
class and move policy you want to use for the save. In this way, the media policy
ties together many of the most important media management and save elements in
BRMS.
The standard BRMS product provides these predefined media policies:
1. The FULL media policy instructs BRMS to retain media for 35 days. You can
use this policy for full backups.
2. The INCR media policy instructs BRMS to retain media for 14 days. You can
use this policy for incremental backups.
3. The SAVSYS media policy instructs BRMS to retain media that is used for
system saves for 1725 days (five years).
4. The SYSTEM media policy instructs BRMS to retain media that is used for
system saves for 90 days (3 months).
5. The SAVF media policy instructs BRMS to use save files instead of media and
to retain the save files for 35 days.
You can use the BRMS-configured media policies, or you can create your own
media policies to suit specific purposes. You can also use a combination of
BRMS-configured policies and ones you create. Unless you change them, BRMS
uses the default media policies when performing backups.
You can create, change, copy, display, or delete a media policy from the Work with
Media Policies display. To get there, take the following steps:
1. Type WRKPCYBRM *MED at a command line and press Enter.
59
Starting characters
RCHAS400
4=Delete
5=Display
Text
Entry
Entry
Entry
Entry
Entry
created
created
created
created
created
by
by
by
by
by
BRM
BRM
BRM
BRM
BRM
configuration
configuration
configuration
configuration
configuration
Bottom
F3=Exit
F5=Refresh
F9=System policy
F12=Cancel
2. Type a 1 (Create) in the Opt column and the name of the media policy you
want to create in the Policy field. Press Enter. This takes you to the Create
Media Policy display.
Create Media Policy
Type choices, press Enter.
Media policy . . . . . . . . . . .
Retention type . . . . . . . . . .
SAMPLE
2
Retain media . . . . . .
Move policy . . . . . . .
Media class . . . . . . .
Storage location . . . . .
Save to save file . . . .
ASP for save files . . .
Save file retention type
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
35
*NONE
*SYSPCY
*ANY
*NO
*SYSTEM
4
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*NONE
*SYS
*NO
*NONE
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
F5=Refresh
Name
1=Date, 2=Days,
3=Versions, 4=Permanent
Date, Number
Name, *NONE, *ADSM, F4
Name, *SYSPCY, *ADSM, F4
Name, *ANY, F4 for list
*YES, *NO
Name, *SYSTEM, 1-16
1=Date, 2=Days,
3=Permanent, 4=None
Date, Number, *NONE
*SYS, 1-99
*YES, *NO, *ADSM
F12=Cancel
More...
60
v The Retain media field specifies the time period through which you want media
protected from rewrite.
BRMS designed these elements to work together. For example, when you specify a
value of 2 (days) in the Retention type field, you must specify an actual number of
days in the Retain media field, for example, 25. BRMS expires the media after the
date or number of days has passed, or the number of versions exceeded.
Overlapping Retention Periods: When defining retention periods, you should
leave an overlap in the retention periods you assign to media. The length of time
you enter should be long enough to assure that BRMS holds a copy until or
beyond the next save. There should be no time gaps in the retention cycles.
Full and Incremental Retention Periods: Retention periods can be different for
full (all object) and incremental (changed objects) backups. During a recovery,
BRMS uses the latest full backup and any subsequent incremental backups to
restore that control group or backup item to its most current status.
BRMS allows you to specify the type of incremental backup that you want to use.
A cumulative (*CUML) type of incremental backup specifies a backup that includes
all changed objects and new objects since the last full backup. An incremental
(*INCR) backup type specifies that incremental backups include all changed objects
and new objects since the last incremental or full backup. You can specify the type
of incremental backup (*CUML or *INCR) in the backup policy. You also can
specify the type individually in each backup control group.
Note: Although incremental backups can reduce your backup window, they can
also increase your recovery time. Because BRMS first restores the entire
library, then restores the changed objects, some objects may be restored
multiple times.
It is important that the retention period for incremental backups be synchronized
between each other as well as with full backups. This assures full system recovery
in case of system failure. BRMS uses its media content information, and media
inventory, to determine the most important information to recover. BRMS bases its
recovery process on the media and media information that you keep.
Storage Locations
Storage locations define where media resides during its lifecycle. Common
locations include computer room tape racks, fireproof vaults, and offsite storage
locations. You are likely to store media at several locations during its lifecycle.
BRMS provides two default storage locations:
v *HOME is the default onsite storage location
v VAULT is the default offsite storage location
You should leave these default locations unchanged and create additional storage
location entries as needed. In addition, you should store at least one copy of your
backups offsite in case of fire, flood, or other site disaster.
Chapter 6. Setting Up Your Media Management Operation
61
62
occasionally, especially if you permit media to expire in other than the home
location. Otherwise, BRMS might request the mount of a tape that is not at the
home site.
The default value in the Location field on the Work with Devices display is
*HOME. This location name signifies the location of the device that is specified in
the Tape device field (the Media library field if the device is an MLB). For example,
the location name for a stand-alone device would typically be COMPROOM. The
location name for a library device is likely to be the same as the name of the
device (for example, TAPMLB01).
Note: If you want to use more than one tape device, you need to ensure that
neither uses media that belongs to another system. You should also update
the device description field for each device to make sure that the correct
locations are specified. You can get to the device description display by
entering Work with Device Descriptions (WRKDEVD) from a command line.
F3=Exit
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
COMPROOM
Name
Lab 3, parent location.
Jennie Doe
.0
Hours
*NO
*YES, *NO
*NO
*YES, *NO
New storage location for user data.
F12=Cancel
3. Use the Address fields to describe the location you are creating. For example,
Computer lab, Building XYZ.
4. Review and change the other parameters as needed, paying particular attention
to the following fields:
v Change the value in the Allow volumes to expire field to *NO for offsite
locations. This instructs BRMS not to expire media at this location. Use the
default value of *YES if you store the media nearby, for example, in a
computer lab or a tape library.
v The default value for the Media slotting field is *NO. If you want to use the
media slotting technique, you need to change this value to *YES. You can
find more information on this topic later in this chapter.
Chapter 6. Setting Up Your Media Management Operation
63
QICCASE
20
QIC120
Name
Number
Class, *ANY, F4 for list
*NO
*YES, *NO
*NO
*YES, *NO
QUARTER INCH TAPE CAPACITY
64
v The default value in the Automatically unpack field is *YES. *YES instructs
BRMS to remove information about the association between media and
container after the media expires. If you change the value to *NO, BRMS
holds this association information in the media information inventory. In this
case, the volumes remain assigned to the container, even though BRMS
cannot use them because they have expired.
5. Press Enter to save your changes and exit.
65
.
.
.
.
.
.
.
.
.
.
.
.
.
.
RSHCAS400
: OFFSITE
. *SYSPCY
Name, *SYSPCY, *ORIGIN, F4 list
. *YES
*YES, *NO
. *YES
*YES, *NO
. *ALLDAYS
Name, *ALLDAYS, F4 for list
. *ALLDAYS
Name, *ALLDAYS, F4 for list
. Entry created by BRM configuration
Location
Duration
VAULT
*EXP
Bottom
F3=Exit
F4=Prompt
F5=Refresh
F12=Cancel
3. To instruct BRMS to track container use and movement, change the value in the
Use container field to *YES.
4. Make any additional changes as needed.
5. Press Enter to save and exit.
All of the volumes in a container must have the same move policy. BRMS will not
process a request to hold volumes with different move policies in the same
container.
If you indicated *YES in the Verify moves field in the move policy, BRMS links the
volume to the container at verification time. For non-verified moves, the link
between volumes and container is automatic when you issue the Move Media
using BRM (MOVMEDBRM) command. You can find more information on the
MOVMEDBRM command later in this chapter.
When tracking media movement to containers, BRMS selects the next available
container. This container supports the appropriate media class. It also selects the
container with the ID that is next in ascending alphabetical sequence. Whenever
possible, BRMS uses the container that is already at the location from which the
media is moving.
For example, suppose that you have two containers that are members of the
QIC120 container class and contain 10 QIC120 format tapes. The container labels
are QICAA and QICAB. BRMS selects QICAA over QICAB if both are available.
However, assume that you have another container class that holds 20 QIC120
cartridges (QIC120BIG), and that a container (QICAC) in this class is available.
Even if the save uses 20 cartridges, BRMS still selects QICAA first even though
QICAC seems more appropriate.
Media Slotting
Use the media slotting technique when you want to file and track media by slot
number. You can use this technique at all of your storage locations, at selected
ones, or not at all. You can indicate media slotting use on the Add or Change
Storage Location displays.
66
The default value in the Media slotting field is *NO. If you want BRMS to track
volumes in a media slotting system, you must change the value in the Media
slotting field to *YES.
BRMS automatically updates the slot number at storage locations that use the
media slotting technique. When BRMS moves media to that location, it assigns it a
slot number. You must ensure that you move the volumes to the allocated slot.
BRMS automatically updates the slot numbers for containers that are processed
through a move command. If you want to use the media slotting technique for
volumes in a container, BRMS assigns the media in the container and the container
itself the same slot number.
Note: A volume and a container take one slot each.
1.
2.
3.
4.
5.
Move Policies
The move policy determines the sequence and duration of storage retention and
movement for media and containers. Move policies also indicate how you want
BRMS to verify media movement activities.
Use move policies to create move patterns for volumes that contain active media.
Each move policy is tied to a media policy which, in its turn, is tied to a save item
such as a library or control group. You can initiate the move pattern by using
either the Move Media using BRM (MOVMEDBRM) or the Start Maintenance
using BRM (STRMNTBRM) command. You can process both of these commands
automatically by using a job scheduler.
BRMS comes with a default move policy called OFFSITE. The OFFSITE policy
tracks the movement of media to the VAULT location, where it remains until
expiration (*EXP). You can change the OFFSITE move policy and can also create
additional move policies to track a variety of move patterns.
Chapter 6. Setting Up Your Media Management Operation
67
Starting characters
RCHAS400
4=Delete
5=Display
Text
April 1999 payroll information
Entry created by BRM configuration
Bottom
F3=Exit
F5=Refresh
F9=System policy
F12=Cancel
3. This example creates a move policy that is called 0499PAY. This move policy
governs the movement of your April, 1999, payroll information throughout its
lifecycle.
Create Move Policy
Move policy . . . . . . .
Home location . . . . . .
Use container . . . . . .
Verify moves . . . . . . .
Calendar for working days
Calendar for move days . .
Text . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 0499PAY
. *SYSPCY
. *NO
. *YES
. *ALLDAYS
. *ALLDAYS
.
Name,
*YES,
*YES,
Name,
Name,
RCHAS400
*SYSPCY, *ORIGIN, F4 list
*NO
*NO
*ALLDAYS, F4 for list
*ALLDAYS, F4 for list
F3=Exit
Location
COMPROOM
VAULT
Duration
5
*EXP
F4=Prompt
F5=Refresh
F12=Cancel
4. To set up a move pattern for this volume, take the following steps:
a. In the Seq field, specify the order in which you want BRMS to move the
media to this location.
b. In the Location field, indicate the name of the location to which you want
BRMS to move the media.
c. In the Duration field, indicate the length of time you want to store the
media in that location. Possible values for this field include number of days,
a specific date, *EXP (until expiration), *PERM (permanent), and file groups.
You can find more information on file groups later in this section.
The move pattern in this example instructs BRMS to track the movement of
the 0499PAY media from the COMPROOM, where resides for 5 days, to the
VAULT, where it remains until it expires. After the volume expires, you
should return it to its home location.
68
d. After you design the move pattern, you need to attend to the remaining
parameters on the move policy. Following are brief summaries of the key
fields that remain on the Create Move Policy display:
v The Home location parameter specifies the location where BRMS returns
media after its move cycle completes. Typically, this is your onsite media
inventory location. The default value for this parameter is *SYSPCY,
which instructs BRMS to look at the system policy for the home location.
The default home location in the system policy is *HOME, which you can
change if needed.
In addition, you can now use a new value (*ORIGIN) that was created
especially for the move process. *ORIGIN instructs BRMS to return
expired volumes backup to the location at which the backup occurred.
You can also press F4 to select from a list of different locations.
v In the Verify moves field, specify whether you want BRMS to verify media
movement activities or whether you want to perform this task yourself.
The default value for this field is *YES, which means that you want to
verify media movement yourself. BRMS supplies you with the Verify
Media Movement display, which assists you in determining whether the
move schedule created in the move policy completed successfully. You
can access the Verify Media Moves display from the Move Management
menu. *NO means that BRMS bypasses move verification and updates
location information immediately. It is recommended that you use the
default value (*YES), especially if you use media libraries.
v Use the Calendar for working days parameter to specify which days you
want to use to calculate the amount of time that media stays at each
location.
v Use the Calendar for move days parameter to specify the days of week that
you can move media from one location to another.
e. After you review and change the remaining parameters as needed, press
Enter to store the move policy with BRMS.
f. Then press Enter to apply your changes.
Note: If you specify APPEND(*YES) in your backup policy, be sure that the move
policy keeps the tape onsite for a sufficient number of days.
File Group
Relative Number
1
2
3
4
5
Creation
Date
5/1/99
4/1/99
3/1/99
2/1/99
1/1/99
(newest)
(oldest)
69
As you can see, the lowest numbered file group corresponds to the most recent
creation date. The highest numbered file group corresponds to oldest creation date.
BRMS cannot predict when a volume that exists as a file group will move next.
File group movement depends on when BRMS creates the next file group, not on a
specific date. For this reason, you cannot use file group movement with specific
date, or days type of duration in the same move policy.
The following display shows a sample move policy that is called VERSION.
Display Move Policy
Move Policy . . . . . . .
Home location . . . . . .
Use container . . . . . .
Verify moves . . . . . .
Calendar for working days
Calendar for move days .
Text . . . . . . . . . .
Seq
10
20
30
:
:
:
:
:
:
:
Location
REMOTE A
REMOTE B
REMOTE C
VERSION
TAPELIBR
*NO
*NO
*ALLDAYS
*ALLDAYS
User created move policy using file groups
Duration
*GRP 001
*GRP 002
*GRP 003
This move policy tracks the file group by file through a number of storage
locations.
70
Calendar
___________
HOLIDAY
WORKING
4=Remove
5=Display
Text
Holiday calendar
Working day calendar
71
For each date or day entry that you make, you must select whether to include or
exclude this entry from a calendar. BRMS excludes entries unless you specifically
include them. For instance, if you set up a calendar with entries *MON, *TUE,
*WED, *THU, and *FRI, with each entry included (*INC), then any day is a
candidate move day for this calendar. You would exclude Saturday and Sunday.
Conversely, if you set up a calendar with entries *SAT and *SUN, specifying *EXC
for these entries, you could exclude all of the other days of the week.
Note: Calendar names are user-defined, can be up to 10 characters in length, and
must adhere to iSeries naming conventions.
Initiating Movement
There are several ways to initiate movement in BRMS. To process media movement
automatically, and as specified in the move policy, use Move Media using BRM
(MOVMEDBRM) command or Start Maintenance for BRM (STRMNTBRM)
command. If you want to initiate the movement of an individual volume, take
option 8 (Move) from the WRKMEDBRM display.
.
.
.
.
.
.
.
F3=Exit F4=Prompt
F24=More keys
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*PAYROLL
*ALL
*ALL
*ALL
*ALL
*ALL
*ALL
F12=Cancel
*ALL,
Name,
Name,
Name,
OFFSITE, TEST
*ALL, *HOME
*ALL
*ALL
Bottom
F13=How to use this display
2. Indicate the move policy whose pattern you want to process through this
command. If you do not know the name of the policy you want to process,
press F4 to prompt a list of available move policies.
3. Review and change the other parameters as needed.
4. Press Enter to process the command.
72
efficiently. You should schedule this command to run daily after all of your
backups have completed. If you change the Run media movement parameter on the
STRMNTBRM command to *YES, the STRMNTBRM command processes the
MOVMEDBRM command after it completes its cleanup tasks. By running the
MOVMEDBRM command through the STRMNTBRM command you save yourself
an extra scheduling task.
To process media movement through the STRMNTBRM command, take the
following steps:
1. Type STRMNTBRM at a command line and press Enter.
Start Maintenance for BRM (STRMNTBRM)
Type choices, press Enter.
Expire media . . . . . . . . . .
Remove media information:
Media contents . . . . . . . .
Object level detail . . . . .
Remove migration information . .
Run media movement . . . . . . .
Remove log entries:
Type . . . . . . . . . . . . .
From date . . . . . . . . . .
To date . . . . . . . . . . .
Run cleanup operations . . . . .
Retrieve volume statistics . . .
Audit system media . . . . . . .
+ for more values
Change BRM journal receivers . .
Print expired media report . . .
F3=Exit F4=Prompt
F24=More keys
F5=Refresh
*YES
*YES, *NO
*EXP
*MEDCON
180
*NO
*ALL
*BEGIN
90
*YES
*YES
*NETGRP
*ALL,
Date,
Date,
*YES,
*YES,
*YES
*YES
*YES, *NO
*YES, *NO
F12=Cancel
More...
F13=How to use this display
2. At the Run media movement parameter, change the value to *YES. This instructs
BRMS to run the Move Media using BRM (MOVMEDBRM) command.
3. Review and change the other parameters as needed.
4. Press Enter to process the command.
For more information on how to use the STRMNTBRM command, see Chapter 9.
Daily Maintenance in BRMS on page 159.
Verifying Movement
BRMS can verify media movement automatically, or you can verify it manually.
You can specify the option you choose at the Verify Moves parameter on the
Change Move Policy display:
v Specifying *YES at this parameter means that you intend to verify the media
movement yourself, using the BRMS Verify Media Moves display to assist you.
v Specifying *NO at this parameter means that BRMS bypasses the verification
step. Since BRMS cannot actually see that the media is in the correct location, it
instead assumes that the move took place and updates the location information
accordingly.
To get to the Verify Media Moves display, from which you can manually verify
media movement, take the following steps:
1. Type VFYMOVBRM at a command line and press Enter.
73
Opt
__
1_
__
__
__
Creation Expiration
Date
Date
7/06/99
7/30/99
7/06/99
7/30/99
7/06/99
7/30/99
7/06/99
7/30/99
7/06/99
7/08/99
Location
*HOME
*HOME
*HOME
*HOME
*HOME
Move
Date
7/14/94
7/14/94
7/14/94
7/14/94
7/14/94
Container
CONTBLUE
CONTBLUE
CONTGREEN
CONTGREEN
CONTGREEN
2. Type a 1 (verify) in front of the volume whose movement you want to verify
and press Enter. This takes you to the next Verify Media Moves display.
Verify Media Moves
RCHAS400
Opt
1
Volume
Serial
BRMST1
Creation Expiration
Date
Date
11/03/99 *VER 002
Location
MLD02
Move
Date
10/21/98
Container
*NONE
More...
F3=Exit
F5=Refresh
F12=Cancel
F16=Verify all
3. Review the information on this display that pertains to the media whose
movement you want to verify. If the location and move date information are
correct, type a 1 (Verify) next to the volume.
4. Press Enter to process the verification information.
5. Press F3 to exit and save your changes.
You should verify media movement manually until you are certain that the move
patterns are completing successfully.
74
. . . . .
Starting characters
DRB001
DRB002
DRB003
DRB004
Expired
*YES
*YES
*NO
*NO
5=Display
System:
RCHAS400
7=Expire
Creation Expiration
Date
Date
Location
Move
Date
Media
Class
12/01/98
12/01/98
12/15/98
12/15/98
12/01/98
12/01/98
12/19/98
12/20/98
FMT3570
FMT3570
FMT3570
FMT3570
Parameters or command:
===>
F3=Exit F4=Prompt F5=Refresh
F18=Bottom F23=More options
*NONE
VAULT
*NONE
VAULT
01/01/99 VAULT
01/01/99 COMPROOM
F11=Volume system
F12=Cancel
Dup
Sts
More...
F17=Top
3. In this example, you want to see a more detailed view of volume DRB002. To
do that, type a 5 (Display) in front of the volume you want to review and press
Enter.
75
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
DRB003
FMT3570
*NONE
*NONE
0
VAULT
12/01/98
*NONE
*NONE
*NONE
*NONE
12/01/98
*NO
DRB003
000001
APPN.RCHAS400
More...
F12=Cancel
4. After completing your review, press Enter to return to the Work with Media
display. From that display, you can review and change other volumes as
needed.
Duplicating Media
Use the Duplicate Media using BRM (DUPMEDBRM) command to copy the
contents of a volume or set of volumes. You can copy a single volume, a list of
volumes, or a media set.
Note: Currently DUPMEDBRM does not support the duplication of object level
detail. The default value of *NO is always used for the OBJDTL parameter.
Before you use the DUPMEDBRM command, however, keep the following
information in mind:
v You must have two devices to use this command. If the devices are shared
non-MLB devices, BRMS varies the devices on for you. If your device is not a
shared device, you must vary it on.
76
v The media or media set that you are copying must be members of the media
inventory.
v When you process the DUPMEDBRM command, BRMS does not automatically
duplicate the media information to the duplicated volume. To remedy this
situation, follow the steps in the Saving Media Information for Duplicate
Volumes section of this chapter.
v When supplying volume serial numbers to the DUPMEDBRM commands as
values for the To volume identifier field, you must provide more expired volume
serial numbers to receive output copies. This is in case of any length variations
between physical volumes.
v You cannot duplicate saved items saved to TSM servers using the
DUPMEDBRM command. Duplication of TSM server media is managed by the
TSM administrator using TSM operations.
Notes:
1. You must change the Mark volumes for duplication value in the appropriate
media policy to *YES in order for DUPMEDBRM to process.
2. The tape devices do not have to support the same media classes. You specify
the media policy in the DUPMEDBRM command.
3. To use DUPMEDBRM to copy a file group, the output media assumes the
group number of the input media. An exception to this is a SETMEDBRM
command that overrides the value for file group and type for the output
volumes.
F5=Refresh
VOL001
*ALL
*ALL
*ALL
*FIRST
*LAST
1
*SYSPCY
*VOL
*REWIND
*MOUNTED
*REWIND, *UNLOAD
Character value, *MOUNTED
F12=Cancel
More...
F13=How to use this display
77
v The From volume identifier parameter works in conjunction with the Input
volume list parameter. If you want to copy a single volume, use the default
value for this parameter (*VOL). This indicates the volume ID you named in
the From volume identifier field. To copy a media set, type the name of any
volume in the media set in the From volume identifier parameter and the value
*SET in the Input volume list parameter.
Note: You must use this method when duplicating the volumes of a media
set in a batch job.
If you want to copy a list of volumes, use the + field to provide the
additional fields in which to list the volumes you want BRMS to copy. An
alternative method would be to type the name of any volume in the media
set in the From volume identifier parameter, then press the Enter key. BRMS
will find all other volumes in the set and list these in these in the Input
volume list parameter.
v In the From device field, specify the name of the device from which BRMS
will make the duplicate. This device contains the original volume.
v In the To device field, specify the name of the device that contains the volume
that will receive the duplicated information.
v Review the other parameters carefully and change as needed.
v Press Enter to process the command.
78
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
:
ZZZ003
3/08/99
4/07/99
*HOME
*NONE
Monthly general ledger summary
BLKXXX
CLNXXX
ERRXXX
SLTXXX
IMPXXX
79
80
Many of the functions described in this chapter are available as part of a plug-in to
Operations Navigator. For detailed information on the BRMS plug-in to Operations
Navigator, see the iSeries Information Center.
Planning Considerations
There are several factors to keep in mind when planning your backup strategy. You
need, for example, to have an accurate understanding of the user skill levels at
your site. You must also be familiar with the kinds of physical resources that are
available. The two most critical factors you need to consider, however, are data and
timing: what to save, and when and how to save it. The following questions can
assist you in designing an effective backup plan:
v How much data do I need to save on a daily basis? A weekly basis? Monthly?
v What kinds of data do I need to save at these times?
v Given the amount and kinds of data I need to save, what do my save windows
look like? How much time do I have available each day and week to perform
the necessary backups? At what times of the day and week are those save
windows available?
v What kind of saves can I perform that will allow users to continue using the
system while the saves process?
v What are my most critical applications, the ones that need to be operational as
soon as possible during disaster recovery? How can we save our most critical
data and applications in such a way as to be able to recover them quickly and
easily?
Think about the questions above as you read through this chapter. Consider the
different options available to you and the ways in which you can use them. For
example, can you put some of your most critical data in a backup list, thereby
effectively separating it from less critical data? When can you effectively use the
save-while-active feature, which shortens your save window and allows users back
on the system sooner? Does your company have the resources to perform parallel
saves, which shorten your save window by processing large objects on multiple
devices at the same time? You may want to write down your thoughts on these
and other questions as you read through this chapter.
81
RCHAS400
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
TAPMLB01
FMT3570
*NO
30
*PRTF
0:00:00
*YES
60
*NO
*NO
*YES
F12=Cancel
Following are brief summaries of the key parameters on the system policy display.
These are the parameters that you are most likely to change.
The default Media policy that is configured at installation time and used by the
system policy is called FULL. The FULL media policy instructs BRMS to use full
backups with a 35 day retention period. Another BRMS-configured option is INCR,
which instructs BRMS to use incremental backups with a 14 day retention period.
You can also use the Save System (SAVSYS) special value, which instructs BRMS to
retain media for 1725 days (5 years) after a system save. You can change the
82
RCHAS400
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refre
.......................................
:
Select Media Policy
:
:
: st
: Type options, press Enter.
: st
:
1=Select
:
: Opt Policy
:
:
ARCHIVAL
:
:
FULL
:
:
INCR
:
:
SAVSYS
:
:
TAPMLBS
:
:
Bottom :
: F9=Work with media policies
:
: F12=Cancel
:
:
:
:.....................................:
The device name listed in the Devices field refers to the default device that is
selected by BRMS at the time of installation. If you have more than one device
attached to your system, BRMS uses the fastest and most automated one that is
attached to your system. If you do not want to use the default device, you can
select F4 from this prompt to select from a list of additional devices. The devices in
this list include other devices that are attached to your system at time of
installation, and any others you add after that.
The Home location for media field specifies the onsite home location for media that is
managed by BRMS. *HOME is the default value for this prompt. BRMS also
provides an offsite default location, called VAULT. To change the default value,
place your cursor in the Home location for media field and press F4 to prompt a list
of locations.
The Media class field specifies the default media class that is used by BRMS. BRMS
uses media classes to describe different types of media. BRMS bases its definitions
on characteristics such as tape density, capacity, label information, error allowance,
and shared status. Be sure that the media class you use is compatible with the
device in the same policy. If you do not want to use the BRMS default location,
you can select from a list of locations by pressing F4 from this parameter.
The default value for the Sign off interactive users parameter is *NO. If you select
*YES, BRMS sends warning messages at the following intervals:
v If the time left is 60 minutes, the message appears every 10 minutes.
v If the time left is 10 minutes, the message appears every 2 minutes.
v If the time left is 1 minute, the message appears as the minute begins.
However, there is no signal that indicates when users have signed back on the
system. If this is a problem, you might want to consider stopping the subsystems.
It is recommended that you keep the value set to *NO at this parameter.
83
RCHAS400
F3=Exit
F5=Refresh
. . . . . . . . . F
Character
. . . . . . . . . I
Character
. . . . . . . . . *
. . . . . . . . . SUN
Character
SUN, MON, TUE...
F12=Cancel
The default value for the First day of week parameter is SUN. You may want to
change this value to MON, or to another value that better reflects the start of your
work week.
84
RCHAS400
SMTWTFS(F/I)
*CUML, *INCR
*YES, *NO, *SYSPCY
0-999 minutes, *SYSPCY
F3=Exit
F4=Prompt
F12=Cancel
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
FFFFFFF
*CUML
*SYSPCY
*SYSPCY
. . . . . *NO
*YES, *NO
. . . . . *LIB
F5=Refresh
F9=System policy
More...
RCHAS400
F5=Refresh
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F9=System policy
*YES
*YES
*DEV
*DEV
*CURRENT
*NONE
*NO
*NO
*UNLOAD
*DEV
*SYSPCY
*SYSPCY
*SYSPCY
*SYSPCY
*SYSPCY
*YES, *NO
*YES, *NO
*DEV, *YES, *NO
*DEV, *NO
*CURRENT, *PRV
*NONE, *ALL, *AFTER
*YES, *NO
*YES, *NO
*UNLOAD, *REWIND, *LEAVE
*DEV, *YES, *NO
*YES, *NO, *SYSPCY
*CNTRLD, *IMMED, *SYSPCY
Seconds, *NOLIMIT
*YES, *NO, *SYSPCY
*PANEL, A, B, *SYSPCY
Bottom
F12=Cancel
As you can see, the backup policy shares several parameters with the system
policy. You can override the shared prompts on an as-needed basis or to customize
your backups as desired.
Following are brief descriptions of the parameters you are most likely to change:
The Default weekly activity value specifies the type of backup you want to perform
each day of a seven-day week. For example, you might want BRMS to perform a
full backup (F) on a Friday, and an incremental backup (I) on the other nights of
the week. Or BRMS could perform a full backup every night. Leaving one of the
days blank indicates that you do not want any backups performed on that day.
The Incremental type field allows you to specify the type of incremental backup you
want BRMS to perform. To save all changes since the last full backup, specify
*CUML in this field. To save changes since the last time BRMS performed an
Chapter 7. Tailoring Your Backup
85
incremental save, specify *INCR. CUML saves make recovery activities easier and
shorter, while INCR saves can make your save windows shorter. IBM recommends
that you keep the default (*CUML) to provide better protection for important data.
The Save journal files while saving changed objects field specifies whether to save
changes to objects that you entered in a journal. The default for this value is *NO,
which indicates reliance on journaled receivers to retrieve changes during the
recovery. IBM recommends that you change this default to *YES for ease of use,
and to reduce the number of recovery steps. You should be aware, however, that
using *YES increases your save time. If *YES is specified, all journaled objects are
saved, not just journaled files.
The Automatically backup media information parameter specifies the level at which
you want BRMS to save media information. BRMS uses the media information to
assist in the restore process. The default level is *LIB. Other options are *OBJ and
*NONE. To retain media information at the object level, you should indicate that
preference at this field, and also at the Retain Object Detail parameter (change value
to *YES). The Retain Object Detail parameter is on the Edit Control Group Entries
display. If you do not specify *OBJ in the Automatically backup media information
field, and *YES in the Retain object detail field, BRMS may not save the information
at *OBJ level for that job.
Note: Retaining object level detail can considerably increase your disk space, and
your save and restore times. Keep in mind that you can restore an
individual object without object level information if you know the name of
the object. You can search your save history for the library using the Work
with Media Information (WRKMEDIBRM) command. Normally, the default
value, *LIB, is satisfactory for most customers.
The Save access paths field allows you to save the access paths associated with your
logical and physical files. The value in this field indicates whether to save the
logical file access paths that are dependent on the physical files BRMS saves. BRMS
saves access paths only if you also save all of the members on which the access
paths are built. BRMS sends informational messages that indicate the number of
logical access paths that were saved with each physical file. All physical files on
which the access paths are built must be in the same library. This parameter does
not save logical objects; it only controls the saving of the access paths.
The default value established for the Save access paths field in the backup policy is
*YES. You can use the save access paths default that is established here for a
backup control group. Or you can override the value at the Change Backup
Control Group Attributes display. IBM recommends that you save the access paths,
even when it time-consuming. If you do not, you run the risk of lost system
availability if you need to recover the file or the system after a disaster. Saving the
access paths increases the save time, but decreases your recovery time, thereby
increasing system availability. See the Backup and Recovery book for more
information on the restoration of saved paths.
Note: If BRMS performs both full and incremental saves, it restores the full saves
first, then the incremental. If you do not save your access paths, they will
likely be rebuilt twice, once during the restore from the full backup and then
again during the restore of the incremental saves. Use the Edit Rebuild
Access Path command (EDTRBDAP) to perform the rebuild right after the
restoration of the full save has completed. You can then restore the
incremental saves and use the EDTRBDAP command to change the
sequence number.
86
The Append to media value specifies whether to add files on current media with
active files or to begin a new volume. If you specify *YES, BRMS writes the files to
the volume that immediately follows the last active file. This allows you to
maximize media usage. However, if you want to separate data on separate tapes,
you should specify *NO.
When you select *YES at the Append to media prompt, BRMS takes the following
steps to select the volumes to append:
v When selecting volumes for media libraries, BRMS determines if the last volume
that is used can also be used for the append operation. The media class is the
determining factor. When selecting volumes for stand-alone drives, BRMS issues
message BRM1472, which nominates suitable candidate volumes.
v BRMS selects an active volume with attributes that match those in the
appropriate media policy. BRMS uses the following to check if the volume is
available for appending:
Same media class
Same storage location
Same expiration date
Owned by the requesting system
Same move policy
Same secure attribute
v If BRMS cannot find a volume that meets the criteria above, it selects a volume
with an earlier expiration date, starting with the earliest.
v If BRMS cannot select a volume with an earlier expiration date, it selects an
expired volume from the system.
v If BRMS fails to find a volume up to this point, it will try to select an expired
volume from another system.
While these are the parameters you are most likely to use, you should also be
familiar with the other parameters and values on the backup policy display.
Note: In addition to the backup policy itself, you can also access the Work with
items to omit from backup display from the Backup Policy menu. Because
the items you are likely to omit are in control groups, you can find
information on how to use this display in the following section.
87
Multiple Control Groups and Shared Devices on page 118 provides specific
information on how to design a backup strategy that uses multiple control groups.
The default control groups described in Chapter 3. Backing Up Your Entire
System on page 15 do an excellent job of backing up your entire system. IBM
recommends that you use these default backup groups, called *SYSTEM, or
*SYSGRP and *BKUGRP, to perform your first backup and that, afterward, you
leave them unchanged and use them on an as-needed basis. In addition, you can
create some of your own control groups to better control related types of data.
Control groups often refer to, and work with, information contained in the
function policies, for example, in the system and backup policies. Later in this
section, you learn how to set control group attributes to override policy decisions.
88
A control group might contain one library or several; one special value or several;
configuration and security data; or special operations such as *LOAD or *EXIT. In
short, you can save any of the items that are listed in Figure 8 in a control group.
Grouped items may be of the same type (all libraries or all special values), or they
may be of different types (for example, libraries, special values, and special
operations).
Use special operations and special values as backup items to call system functions.
They direct BRMS to perform pre-defined actions or to assume pre-defined values
in a field. You can also use a backup list as an entry in a control group. Backup
lists are particularly useful for separating critical data and applications for easier
recovery. They also make it easier to manage groups of data. You can find detailed
information on designing backup lists in a later section of this chapter.
The following list provides a short description of the special operations and special
values that can be used as Backup Item entries in control groups. Please refer to
the online help information for more information about these items.
Special Operations
*EXIT Perform user command processing
*LOAD
Begin a new tape
Special Values
*ALLDLO
Saves all folders, documents, and mail in all ASPs
*DLOnn
Saves all folders, documents, and mail in a specified ASP
*ALLUSR
Save all user libraries
*ALLPROD
Save all *PROD type libraries
*ALLTEST
Save all *TEST type libraries
*ASPnn
Save a specified ASP (library type objects only)
*IBM
*LINK
Save all objects not in /QSYS.LIB and /QDLS directories
*QHST
Save history information
*SAVCAL
Save calendar information
*SAVCFG
Save configuration
*SAVSECDTA
Save security data
89
*SAVSYS
Save the operating system
90
91
RCHAS400
Group . . . . . . . . . . : *SYSTEM
Default activity . . . . : *BKUPCY
Text . . . . . . . . . . : Backs up the entire system
Seq
10
20
30
40
50
60
70
Backup
Items
*EXIT
*SAVSYS
*IBM
*ALLUSR
*ALLDLO
*LINK
*EXIT
List
Type
Weekly
Retain
Activity Object
SMTWTFS Detail
*DFTACT
*DFTACT
*DFTACT
*NO
*DFTACT
*ERR
*DFTACT
*NO
*DFTACT
*YES
*DFTACT
Save
While
Active
SWA
Message
Queue
*NO
*NO
*NO
*NO
Bottom
F11=Display exits
F12=Cancel
RCHAS400
Group . . . . . . . . . . : *SYSGRP
Default activity . . . . : *BKUPCY
Text . . . . . . . . . . : Backs up all system data
Seq
10
20
30
40
Backup
Items
*EXIT
*SAVSYS
*IBM
*EXIT
List
Type
Weekly
Retain
Activity Object
SMTWTFS Detail
*DFTACT
*DFTACT
*DFTACT
*NO
*DFTACT
92
F11=Display exits
SWA
Message
Queue
*NO
Bottom
Save
While
Active
F12=Cancel
RCHAS400
Group . . . . . . . . . . : *BKUGRP
Default activity . . . . : *BKUPCY
Text . . . . . . . . . . : Backs up all user data
Seq
10
20
30
40
50
60
70
Backup
Items
*EXIT
*SAVSECDTA
*SAVCFG
*ALLUSR
*ALLDLO
*LINK
*EXIT
List
Type
Weekly
Retain
Activity Object
SMTWTFS Detail
*DFTACT
*DFTACT
*NO
*DFTACT
*NO
*DFTACT
*ERR
*DFTACT
*NO
*DFTACT
*YES
*DFTACT
Save
While
Active
SWA
Message
Queue
*NO
*NO
*NO
Bottom
F11=Display exits
F12=Cancel
93
RCHAS400
Starting characters
Full
Media
Policy
Incr
Media
Policy
Weekly
Activity
SMTWTFS Text
*BKUPCY
SAVSYS
SYSTEM
*BKUPCY
SAVSYS
SYSTEM
F3=Exit
F5=Refresh
F9=Change backup policy
Bottom
2. To create a control group, type a 1 (Create) in the Opt column and a name for
the control group in the Control Group field. In this case, the name of the
control group is SAMPLE.
3. Press Enter. This takes you to the Create Backup Control Group Entries display.
Create Backup Control Group Entries
RCHAS400
Group . . . . . . . . . . : SAMPLE
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . Sample backup control group for related libraries.
Type information, press Enter.
Seq
10
20
30
Backup
Items
List
Type
LIBA
LIBB
LIBC
F3=Exit
F11=Display exits
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
*DFTACT
*DFTACT
*DFTACT
*NO
*NO
*NO
F5=Refresh
F12=Cancel
*ERR
*ERR
*ERR
SWA
Message
Queue
F10=Change item
F24=More keys
Bottom
4. At the Create Backup Control Group Entries display, type the name of the first
library you want to save in the Backup Items field. Press Enter. Because BRMS
numbers the save sequence for you, you need to enter the library or object
name in the order in which you want them to process. However, you can
change the order by specifying a sequence number in between the two entries.
BRMS notifies you if the library does not exist. If you do not know the name of
the library you want to save, use F19 to get to the Select Libraries display. Press
Enter at the Select Libraries display to get a list of libraries.
Note: You can still create a control group with a library that does not exist.
Pressing Enter a second time overrides the Library does not exist warning
message. Press F3 to exit and take option 1 to save at the Create Backup
Control Group Entries display.
5. Following are brief summaries of the other key parameters on this display.
94
v The Weekly Activities field has seven single character fields available to
designate the seven days of the week. You can use the default value for this
field, which is *DFTACT, or you can set your own weekly activity schedule.
*DFTACT specifies a full save (FFFFFFF) on all seven days. You can also
tailor a daily mix of full (F) and incremental saves (I) to better suit your
business needs, for example: IIFFIIF.
v In the Retain Object Detail field, you can specify whether you want BRMS to
save historical information about the control group item at the object level. In
this example, we did not specify anything in the Retain Object Detail field,
which subsequently resorts to the default *ERR (for error). Other values for
this field are *YES, *NO, *OBJ, and *MBR. If you want to specify *OBJ at this
prompt, you should also specify *OBJ at the Automatically backup media
information parameter. BRMS establishes the default value for the
Automatically backup media information field on the backup policy. You can
change it at either the backup policy display or at the Change Backup
Control Group Attributes display.
v The value in the Save-while-active field specifies whether users can change an
object during save processing. More specifically, the Save-while-active (SWA)
feature allows users to change an object after BRMS reaches a certain
checkpoint during the save process. SWA performs the save on a transaction
boundary. By using the SWA feature, you can decrease your save window.
You can find more detailed information on how to use the Save-while-active
feature later in this chapter.
6. Review and change the remaining parameters as needed.
7. When you have finished, press Enter to save your new control group.
Note: BRMS might group objects together, which could cause OS/400 to issue a
save command. This will happen as long as the objects do not exceed the
limits (for example, for library size) set by the OS/400 command. If this had
happened in the preceeding example, the system would have issued one
SAVLIB command for all three of the libraries. This process is called
bundling.
95
RCHAS400
Group . . . . . . . . . . : SAMPLE
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . *NONE
Type information, press Enter.
Seq
10
20
30
Backup
Items
List
Type
LIBA
LIBB
LIBC
F3=Exit
F11=Display exits
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
*DFTACT
*DFTACT
*DFTACT
*NO
*NO
*NO
*ERR
*ERR
*ERR
F5=Refresh
F12=Cancel
SWA
Message
Queue
F10=Change item
F24=More keys
Bottom
At this display, you can delete a backup item from an existing control group by
spacing over the sequence number of the entry that you want to delete. You can
also change the weekly activity schedule, or any of the other values on this display
as needed.
. . . . . . . . . . . . . . . . : SAMPLE
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F12=Cancel
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*NONE
*BKUPCY
*BKUPCY
*BKUPCY
*BKUPCY
More...
All of the attributes on the Change Backup Control Group Attributes display
default to values that BRMS establishes in the backup policy (*BKUPCY) except
one. You can override any of the shared default values by changing the shared
parameters on this display.
96
The Parallel device resources parameter on the Change Backup Control Group
Attributes display is the only parameter that is not shared by the backup policy.
Parallel device resource capability allows you to save data to multiple devices from
the same job at the same time, thereby shortening your save window. To use the
parallel device resource feature you need to have multiple tape devices attached to
your system. You can find more detailed information on parallel processing in the
Additional Options for Processing Control Groups section of this chapter.
97
RCHAS400
F3=Exit
F5=Refresh
F12=Cancel
98
Note: If you perform a restore operation exclusive of BRMS (for example, with the
OS/400 RSTLIB command), BRMS cannot recover the QGPL and QUSRSYS
libraries. In this case, you must restore them separately.
*BKU
SAMPLE2
Subsystem
QBATCH
QCMN
RCHAS400
Library
*LIBL
*LIB3
End
Option
*NONE
*CNTRLD
Delay
300
Restart
*YES
*YES
Bottom
2. Type a number that reflects the order in which you want the subsystem job
processed in the Seq field.
3. Type the name of the subsystem you want to process in the Subsystem field.
4. Type the name of the library that contains the subsystem in the Library field.
5. Specify whether you want BRMS to automatically restart the subsystem after
control group processing in the Restart field.
Note: If you do not specify an IPL, BRMS automatically restarts the subsystems
after save processing completes. If you do specify an IPL, BRMS restarts
subsystems after the IPL. You can specify an IPL on the Change Backup
Control Group Attributes display.
6. Review and change the other parameters as needed.
7. Press Enter to save and return to the Work with Backup Control Groups
display (if you press F3, you exit without saving).
To delete an entry from the Subsystems to Process display, position the cursor on
the item you want to delete. Then space through the sequence number, and press
Enter.
Before processing your subsystem requests, you need to ensure that the media
policy for the control groups you want to process is appropriate for this request.
Notes:
1. You can run multiple control groups serially (one after another) when using the
subsystems to process feature. The first control group ends the subsystems, and
the last one restarts them.
Chapter 7. Tailoring Your Backup
99
2. If you specify *ALL as the subsystem to process, and also request a restart
(*YES), BRMS restarts the controlling subsystem that is defined by system value
QCTLSBS. To verify the system value, go to the Work with System Values
(WRKSYSVAL) display.
RCHAS400
*BKU
SAMPLE
Job queue
Library
Hold
Release
QBATCH
*LIBL
*YES
*YES
Bottom
F3=Exit
F5=Refresh
F12=Cancel
3. In the Seq field list the order in which you want BRMS to hold or release the
job queues.
4. Type the job queue name in the Job queue field.
5. At the Library field, you can specify the library in which the job queue resides
or use the default library, *LIBL.
6. Specify whether you want BRMS to hold or release the job. In this case, BRMS
holds the QBATCH job queue during backups. BRMS automatically releases the
job queue after the backup or IPL (if you specify IPL in the control group)
completes.
7. Press Enter to save and return to the Work with Backup Control Groups
display.
To delete a job queue, position the cursor on that entry, space through the sequence
number, and press Enter. Press Enter again to return to the Work with Backup
Control Groups display.
100
Starting characters
Use
*BKU
RCHAS400
4=Remove
5=Display 6=Print
Type Text
*FLR
Bottom
RCHAS400
*BKU
SAMPFLR
Create folder list.
Sel
*INC/
*EXC
10
*INC
SAMPFLR
F3=Exit
F5=Refresh
F12=Cancel
101
9. After changing the parameters as needed, press Enter twice to save and to
return to the Work with Backup Lists display. You can now see the name of
your folder list in list of backup items.
10. Press Enter again to return to the Edit Backup Control Group Entries display.
Type the name of the list in the Backup items column, the list type in the List
type column, and press Enter. BRMS saves the new list in the control group
you specified, in this case, the SAMPLE control group.
11. Press Enter to return to the Work with Control Groups display.
RCHAS400
*BKU
TESTOBJ
Create object list.
Library
LIB3
LIB4
F3=Exit
Object
*ALL
P*
F4=Prompt
F5=Refresh
Type
*ALL
*ALL
Member
*ALL
F12=Cancel
102
The Type field specifies the type of object you want to save in the list.
You can use the name of any permitted system object type. Or you can
use *ALL to indicate that all objects apply to the object type specified in
the list you want to save.
The Member field identifies the name of the database member you want
to save in the object list. You cannot designate a member name if you use
*ALL or generic as the object name. Otherwise, you can name specific
member names, generic ones, or indicate *ALL to include all available
members.
Note: If you specify OBJECT=*ALL, TYPE=*ALL, MEMBER=*ALL, BRMS
runs a SAVLIB command rather than multiple SAVOBJ commands.
However, BRMS does not group multiple libraries onto a single
SAVLIB command. If you want to save entire libraries, you should
name the library as a control group entry rather than as a list item.
10. After changing the parameters as needed, press Enter twice to save and to
return to the Work with Backup Lists display. You can now see the name of
your list in the list of backup items.
11. Press Enter again to return to the Edit Backup Control Group Entries display.
Type the name of the list in the Backup items field, the name of the list type in
the List type column and press Enter. BRMS saves the new list in the control
group you specified, in this case, the SAMPLE control group.
12. Press Enter to return to the Work with Control Groups display.
103
*BKU
SAVESPOOL
Sample to save spooled files.
RCHAS400
Outq
File
Job
User
*INC/
User data *EXC
QPRINT
*ALL
*ALL
*ALL
*ALL
*INC
Bottom
F3=Exit
F5=Refresh
F12=Cancel
104
RCHAS400
Use . . . . . . . . . : *BKU
List name . . . . . . . QALLSPLF
Text . . . . . . . . . All printed output
Type choices, press Enter.
Seq Library
10 *ALL
Outq
File
Job
User
*INC/
User data *EXC
*ALL
*ALL
*ALL
*ALL
*ALL
*INC
Bottom
F3=Exit
F5=Refresh
F12=Cancel
Note: To save spooled files, BRMS first retrieves the names of the spooled files
using a system API which stores the spooled file names in a user space.
User spaces are restricted to a limited size. If you have a lot of spooled files,
the returned names may exceed the size of the user space. In this case, the
backup of the spooled files will fail with a CPF34C4 exception. You can
correct the problem by breaking up the current spooled file list entries into
more granular entries.
105
RCHAS400
*BKU
F3=Exit
LNKLIST
Test link list.
F12=Cancel
9. At the Add Link List display, type in a short sentence describing the items in
the list on the Text line and press Enter. This returns you to the Work with
Backup Lists display, where the name of the new link list appears.
Work with Backup Lists
Position to . . . . . .
Starting characters
LNKLIST
SAVESPOOL
Use
RCHAS400
4=Remove
5=Display
6=Print
Type Text
Bottom
F3=Exit
F5=Refresh
F12=Cancel
List LNKLIST of type *LNK is added.
10. To list the Integrated File System objects you want to save, place a 2 (Change
item) next to the new list and press Enter. This takes you to the Change Link
List display.
Change Link List (CHGLNKLBRM)
Type choices, press Enter.
List . . . . . . . . . . . . . . > LNKLIST
Usage type . . . . . . . . . . . > *BKU
Objects:
Name . . . . . . . . . . . . . > '/*'
106
Include or omit .
+ for
Directory subtree .
Text . . . . . . . .
. . . . . .
more values
. . . . . .
. . . . . .
F3=Exit F4=Prompt
F24=More keys
F5=Refresh
Character value
*INCLUDE
*INCLUDE, *OMIT
+
*ALL
*ALL, *DIR, *NONE, *OBJ
Sample link list entry.
F12=Cancel
Bottom
F13=How to use this display
11. Type the name of the object you want to save in the Name field. If you want to
add more objects, type a + on the short line next to the + for more values field,
and press Enter. This takes you to the Specify More Values for Parameter OBJ
display. Type the names of the additional objects you want to add to the list.
12. In the Include or omit field, specify whether you want to include an item in the
list or omit it from the save. You can also use a /* symbol in this field to
instruct BRMS to save all available Integrated File System objects.
Specify More Values for Parameter OBJ
Type choices, press Enter.
Objects:
Name . . . . . . . . . . . . . > '/*'
Include or omit
. . . . . . .
*INCLUDE
Name . . . . . . . . . . . . .
/QSYS.LIB
Include or omit
. . . . . . .
*OMIT
Name . . . . . . . . . . . . .
/QDLS
Include or omit
*OMIT
. . . . . . .
*INCLUDE, *OMIT
*INCLUDE, *OMIT
*INCLUDE, *OMIT
Name . . . . . . . . . . . . .
Include or omit
F3=Exit F4=Prompt
F24=More keys
. . . . . . .
F5=Refresh
*INCLUDE
F12=Cancel
*INCLUDE, *OMIT
F13=How to use this display
13. After completing your additions to the link list, press Enter to return to the
Change Link List display. This display shows the changes you made to the
link list.
14. Press Enter to return to the Work with Backup Lists display, and then again to
return to the Edit Backup Control Entries display. BRMS saves the new link
list in the control group you specified earlier, in this case, the SAMPLE control
group.
107
RCHAS400
Group . . . . . . . . . . : ETEST2
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . *NONE
Type information, press Enter.
Seq
10
20
30
Backup
Items
List
Type
LIBA
*EXIT
LIBB
F3=Exit
F11=Display exits
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
*DFTACT
*DFTACT
*DFTACT
*ERR
*NO
*ERR
*NO
F5=Refresh
F12=Cancel
SWA
Message
Queue
F10=Change item
F24=More keys
Bottom
2. Place your cursor on the *EXIT special value and press F10. This takes you to
the User Exit Maintenance display.
User Exit Maintenance
System: RCHAS400
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
.
20
*EXIT
*DFTACT SMTWTFS
CALL QGPL/STARTAPP
3. Type the command you want BRMS to process in the Command field. To call the
STARTAPP application, type the CALL QGPL/STARTAPP command in the
Command field.
4. Press Enter to return to the Create Backup Control Group Entries display. Then
press F3 to exit the display and save the control group. BRMS calls STARTAPP
application after the first backup item completes processing and before the
second control group begins processing.
If the first entry in a control group is *EXIT, BRMS processes it before performing
any pre-processing activities (such as ending subsystems or holding job queues). If
the last entry in the control group is *EXIT, processes it before performing any
post-processing activities (such as starting subsystems and releasing job queues).If
the last entry in the control group is *EXIT, BRMS processes this exit after
performing any post-processing activities (such as starting subsystems and
releasing job queues).
108
the name of the control group, press F4 to prompt a list of control groups. Type
in the name of the control group you want to save.
3. Review and change the other parameters on this command as needed, then
press Enter to see the remaining parameters:
v The text in the Job description field describes the job you want to submit. You
can base the job description on the user profile or you can create your own
description.
v The value in the Job queue name field specifies the location of the job in the
queue.
4. Press Enter to begin processing the backup.
After your backup completes, you should check the job log to make sure that it
completed successfully. You can use the Backup Analysis display to review your
save history. You can access the backup analysis displays from the Backup
Planning menu. After you have designed your backup strategy, you can review the
contents of your control groups at the Display Backup Plan display. You can also
access this display from the Backup Planning menu.
109
This section provides several examples of how you can apply SWA to your save
strategy. However, this section does not cover every topic associated with SWA.
Therefore, you should review Backing up your system topic in the iSeries
Information Center for more information before implementing SWA.
Note: It is not recommended that you use *ALLUSR or *ALLPROD special values
in a SWA operation.
RCHAS400
Group . . . . . . . . . . : SAMPLE
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . *NONE
Type information, press Enter.
Seq
10
20
30
Backup
Items
LIBA
LIBB
LINKLIST
List
Type
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
SWA
Message
Queue
*LNK
*DFTACT
*DFTACT
*DFTACT
*NO
*YES
*YES
*LIB
*LIB
F3=Exit
F11=Display exits
F5=Refresh
F12=Cancel
*ERR
*YES
*NO
F10=Change item
F24=More keys
Bottom
2. To activate SWA, type *YES in the Save-while-active field. Additional values for
this field are:
*LIB
This value indicates that library objects can be saved while in use by
another job. Because all of the library objects reach checkpoint together,
BRMS saves them in a consistent state in relationship to each other. If
you specify multiple libraries in the control group, BRMS performs the
checkpoint processing individually for the objects within each specified
library. For example, to save LIBA and LIBB, the system performs two
separate SAVLIB commands and establishes two checkpoints.
Note: Physical files with members have the same save active date and
time stamp. Libraries with thousands of objects may be too large
for this option.
*SYNCLIB
This value also specifies that objects in a library can be saved while in
use by another job. However, in this case, all of the objects and all of
the libraries reach a checkpoint together. BRMS saves them in a
consistent state in relationship to one another. Before you use the
*SYNCLIB value to save data to a save file, keep the following in mind:
v OS/400 restricts you to save single libraries to save files. BRMS
adopts the same restriction.
v The control group must use the *LIB level synchronization instead of
*SYNCLIB.
110
v If you specify a message queue in the SWA Message Queue field in the
Edit Control Group Entries display, BRMS sends the synchronization
message for every library.
v BRMS completes the save processing without any warning or error
messages. BRMS does not warn you if it adopts *LIB level of
synchronization.
Note: Different items (including libraries, backup lists, and special
values) have different effects on save-while-active processing.
See Using the Monitor Save While Active for BRM
(MONSWABRM) Command for more information.
*SYSDFN
This value also indicates that library objects can be saved while in use
by another job. In this case, however, library objects can reach
checkpoints at different times and may not exist in a consistent state in
relationship to one another. You should not specify the *SYSDFN value
if you plan to use the Monitor Save While Active for BRM
(MONSWABRM) command. Nor should you use it to perform
operations when a checkpoint has been reached. In these situations, the
*SYSDFN values makes it more difficult to release the library.
If you specify a value other than *NO in the Save-while-active field, an entry
appears next to it in the SWA Message Queue field. The default value for this
field is *LIB, which instructs BRMS to use the message queue that matches the
name of the library you want to save. You can also specify the name of the
message queue that contains the checkpoint messages.
3. Press Enter to save. This returns you to the Work with Backup Control Groups
display. BRMS uses the SWA feature as instructed during the next save of that
control group.
111
RCHAS400
Group . . . . . . . . . . : SAMPLE
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . *NONE
Type information, press Enter.
Seq
10
20
30
40
50
Backup
Items
LIBA
*EXIT
LIBB
*EXIT
LINKLIST
List
Type
*LNK
F3=Exit
F11=Display exits
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
*DFTACT
*ERR
*NO
*DFTACT
*YES
*YES
*LIB
*DFTACT
*NO
*YES
*LIB
F5=Refresh
F12=Cancel
SWA
Message
Queue
F10=Change item
F24=More keys
Bottom
3. Press Enter to return to the Work with Backup Control Groups display.
4. Press F3 to exit and save the control group.
If the control group entries are of the same type, you can use one *EXIT special
value to monitor messages for all entries. If all of the entries are the same type (all
libraries, for example, or lists of the same type), place the exit before the first entry.
Note: Though you can use the SWA feature with most special values (such as
*ALLTEST and *ALLPROD), you should not use it with *ALLUSR. You
cannot use the *SYNCLIB function with the SAVLIB LIB(*ALLUSR) or
SAVLIB(*IBM) commands. The OS/400 operating system supports the
*ALLUSR value only with the SAVCHGOBJ command.
To synchronize libraries by set rather than by entry, list the libraries in sequence
without interruption by special operations such as *EXIT. In this example, LIBA
monitors synchronization point messages for the first set, while LIBC monitors
them for the second set.
Edit Backup Control Group Entries
RCHAS400
Group . . . . . . . . . . . . . SAMPLE
Default Weekly Activity . . . . *BKUPCY
Text. . . . . . . . . . . . . . Create sample backup control group.
Type information, press Enter.
Seq
Backup
Items
10
20
30
40
50
60
*EXIT
LIBA
LIBB
*EXIT
LIBC
LIBD
List
Type
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
*DFTACT
FFFFFFF
FFFFFFF
*NO
*NO
*SYNCLIB
*SYNCLIB
*LIB
*LIB
*DFTACT
*DFTACT
*YES
*YES
*SYNCLIB
*SYNCLIB
*LIB
*LIB
112
SWA
Message
Queue
You must ensure that the values for Retain object detail, Weekly activity, and the
Save-while-active fields are the same for each library in each set. However, you can
specify different weekly activity and object detail information for each set. If you
use generic names for the libraries such as A*, B*, C*, and specify *SYNCLIB,
BRMS groups all of the libraries together. Then BRMS performs a single save
operation and you receive a single synchronization message. A single save
command supports up to 300 libraries in a list. This is an OS/400 restriction. If you
have more than 300 libraries, BRMS issues another save command to process the
remaining libraries.
In this example, the SWA message queue value in the control group defaults to
*LIB. The SWA message queue name specified in the control group entry must
match the message queue name in the LIB parameter of the MONSWABRM
command. The MONSWABRM automatically creates and deletes the message
queue in library QUSRBRM. You cannot place it in a different queue. If you use a
name other than the first library name, the MONSWABRM command cannot
monitor for the SWA synchronization message. Instead, it continues to run for a
default of one hour before it ends. In the meantime, your control group finishes
processing without any benefit from the SWA message queue function.
Note: By default, the system issues the synchronization message after 3600 seconds
(one hour). Therefore, if your libraries require over an hour to reach
synchronization, you need to increase the SWA wait time in the
MONSWABRM command.
To use the Monitor Save While Active (MONSWABRM) display to set up a SWA
monitoring job, take the following steps:
1. Type MONSWABRM at a command line and press Enter.
Monitor Save While Active (MONSWABRM)
Type choices, press Enter.
Saved library . . . . . . . . .
Command to run . . . . . . . . .
LIB3
STRSBSBRM
Name, *MSGQ
Job description . . .
Library . . . . . .
Job queue . . . . . .
Library . . . . . .
Time limit in seconds
*USRPRF
Name, *USRPRF
Name, *LIBL, *CURLIB
Name, *JOBD
Name, *LIBL, *CURLIB
1-999999, *NOMAX
F3=Exit F4=Prompt
F24=More keys
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*JOBD
3600
F12=Cancel
Bottom
F13=How to use this display
2. At the Monitor Save While Active display, change the following fields as
required:
v Use the Saved library parameter to specify the library or message queue that
you want to review for synchronization during the SWA process.
v Use the Command to run parameter to issue a command after the
synchronization message arrives. In this example, we ran the Start Subsystem
using BRM command (STRSBSBRM) after the libraries reached
synchronization. BRMS can quiesce an application only prior to
synchronization.
Chapter 7. Tailoring Your Backup
113
Seq
Backup
Items
10
20
30
40
LIBA
LIBB
LIBC
LIBD
Weekly
Retain
List Activity Object
Type SMTWTFS Detail
*DFTACT
*DFTACT
*DFTACT
*DFTACT
*NO
*NO
*NO
*NO
Save
While
Active
SWA
Message
Queue
*SYNCLIB
*SYNCLIB
*SYNCLIB
*SYNCLIB
OPER01
*LIB
*LIB
*LIB
In this example, the system uses the OPER01 message queue to log the following
messages:
v 0 of 4 libraries processed. Started LIBA at 02/03/97 10:20:06.
v 1 of 4 libraries processed. Started LIBB at 02/03/97 10:20:07.
v 2 of 4 libraries processed. Started LIBC at 02/03/97 10:20:078.
v 3 of 4 libraries processed. Started LIBD at 02/03/97 10:20:09.
BRMS uses the first message queue (at LIBA) to monitor for the synchronization.
Even if you specify different message queues for each of the other libraries, the
SWA synchronization message still goes to message queue OPER01.
If you require synchronization messages to go to different message queues, you
must separate the control group entries for libraries with values such as *EXIT or
*LOAD. BRMS also separates the library groups if it detects a change of value in
the Retain object detail, Weekly activity, and Save-while-active fields.
For more detailed information on the SWA feature, see Backup and Recovery.
Console Monitoring
Use the console monitor to perform an unattended save, process a SAVSYS save, or
perform a function in a restricted state. Use the *SAVSYS value with the
STRBKUBRM command when you want BRMS to save the operating system and
114
related libraries. You can also use the console monitor to monitor selected
activities. You can temporarily suspend the monitoring function to enter OS/400
commands and then return the console to a monitored state.
Console monitoring allows users to submit the SAVSYS job to the job scheduler
instead of doing it interactively. Previously, the SAVSYS, SAVSYSBRM, or
STRBKUBRM with *SAVSYS command required interactive processing. Now you
can use the Submit to batch parameter on the STRBKUBRM command to enter
*CONSOLE as a value, thereby performing your saves in batch mode. Thus, you
do not have to be nearby when the system save processes. However, you must
issue this command from the system console because BRMS runs the job in
subsystem QCTL. If you attempt to start the console monitor from your own
workstation, BRMS sends a message indicating that you are Not in a correct
environment to start the console monitor.
Once you start the console monitor, the console waits for a BRMS command to
process. You can suspend the console to process commands. However, if you do
so, you must return the console to monitoring status before BRMS can start the
console monitor.
2. This starts the console monitor. You need to take no further action at the
console monitor at this time.
3. On the job scheduler, submit a job that performs the STRBKUBRM command.
Following is an example of an STRBKUBRM job you can submit to the job
scheduler.
Start Backup using BRM (STRBKUBRM)
Type choices, press Enter.
Control group . . . . . . . . . . *SYSGRP
Schedule time . . . . . . . . . .*IMMED
Submit to batch . . . . . . . . .*CONSOLE
Starting sequence:
Number . . . . . . . . . . . . . .*FIRST
Library . . . . . . . . . . . . .*FIRST
Append to media . . . . . . . . . *CTLGRPATR
Job description . . . . . . . . . *USRPRF
Library . . . . . . . . . . . . .
Job queue . . . . . . . . . . . . *JOBD
Library . . . . . . . . . . . . .
115
4. Type the name of the control group you want the console monitor to process in
the Control group field.
5. Ensure that the Schedule time is *IMMED.
6. Type *CONSOLE in the Submit to batch field.
7. Review and change the other parameters as needed.
8. Press Enter to process the request.
Concurrent Backups
If running concurrent backups, it is strongly suggested not to save media
information with either backup. It is recommended you run the Save Media
Information (SAVMEDIBRM) command after the concurrent backup control groups
have completed.
In a concurrent save operation, you send multiple save jobs to multiple tapes
devices to process at the same time (concurrently). For example, using a concurrent
116
backup strategy, you might send one library or group of libraries to one tape
device, and another set of libraries to a different tape device. Concurrent backup
support also allows multiple SAVDLO operations from the same auxiliary storage
pool (ASP). Anything that you can save concurrently, you can restore concurrently,
thereby reducing your down time after a system failure by recovering multiple
libraries or objects at the same time.
You set up the concurrent operation by specifying different device names inside
the individual control groups or save commands that you want BRMS to process
concurrently. You must try to evenly balance the contents of each job so that each
tape device completes at about the same time. This results in more efficient use of
your tape resources. If you want to use *INCR or *CUML saves, keep in mind that
processing time for each varies according to content size.
Parallel Backups
BRMS implements parallel support by utilizing two methods provided by the
OS/400. The first method, parallel save/restore support, spreads each object across
multiple resources. The second method, multiple-library parallel support, spreads
libraries across multiple resources, such that each library is backed up to a single
resource. Using these methods, BRMS will attempt to optimize performance and
balance resources. Items saved with the second method will have a sequential
restore behavior.
Notes:
1. Full backups of *ALLUSR , generic library names and other special values will
be saved using only multiple-library parallel support.
2. See Chapter 8. Performing Selected Recoveries for information on how to
perform recoveries using parallel support.
OS/400 cannot support parallel saves of DLO or Integrated File System objects
at this time.
v BRMS does not support parallel backup of media information. See Sample
Backup Scenarios: Working with Multiple Control Groups and Shared Devices
on page 118 for information on how to save media information when using
parallel support.
117
. . . . . . . . . . . . . . . . : SAMPLE
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2
4
*BKUPCY
*BKUPCY
*BKUPCY
*BKUPCY
F12=Cancel
2. At the Parallel device resources parameter, indicate the minimum and maximum
number of device resources you want to allocate to the processing of this
control group. In this example, we instructed BRMS to save the contents of the
SAMPLE control group to a minimum of 2 devices and a maximum of 4
devices.
3. Press Enter to save and return to the Work with Backup Control Groups
display.
You can find a more complex example involving the use of parallel and concurrent
saves in Sample Backup Scenarios: Working with Multiple Control Groups and
Shared Devices.
Note: You can also specify a parallel save when using the following commands:
v Save Library using BRM (SAVLIBBRM)
v Save Object using BRM (SAVOBJBRM)
v Save Object List using BRM (SAVOBJLBRM)
Use a job scheduler to assist you in scheduling parallel saves. You can find more
information on job scheduling in Chapter 10. Scheduling Backup and Recovery
Jobs on page 165.
118
rather than BRMS-configured ones such as *ALLUSR. In Scenario 2, you learn how
to shorten your save window still further by processing multiple control groups
through concurrent and parallel backups. In Scenario 3, you learn how process a
network backup by using shared devices.
119
can save the based-on physical files before their dependent logical files. This
way, BRMS can restore the objects in the correct sequence, thereby avoiding
lengthy access path rebuilds. However, you need to make sure that you save the
physical and logical files with the same underlying SAVxxx command. If you
save the logical and physical files with different SAVxxx commands, BRMS
cannot save the access paths , even if you specify ACCPTH(*YES).
You can also consider a compromise between these two strategies, especially if you
have smaller systems with fewer libraries. Under these circumstances, you can use
a combination of *ALLUSR and your own control groups. Use one or more control
groups for specific libraries, and another control group containing the *ALLUSR
libraries. If you choose this strategy, you need to omit the libraries in your own
control groups. This way, you can restore the items in your control groups
selectively, on an as-needed basis. You can save less critical libraries on a less
frequent basis.
If you save multiple control groups to single device, BRMS processes them serially,
one after another. Figure 8 on page 121 illustrates how you can design a number of
control groups to run in sequence.
120
121
When you process multiple control groups serially, keep the following
considerations in mind:
v Saving Media Information: BRMS usually saves media information at the end
of each control group. However, if you are running the control groups serially,
BRMS saves the media information files at the end of each control group. While
this is not a problem, it can extend the runtime for the control groups. In
addition, because BRMS saves the same media information in the last file in
each control group, you really need only the last group of media information
files. You may find it beneficial, then, not to save the media information at the
end of each control group. Instead, you can save it separately by using the
SAVMEDIBRM command. Whichever method you choose, you must save this
information on a regular basis as BRMS uses it to restore your data. In Figure 9
BRMS processes the SAVMEDIBRM command in a separate job.
v Appending to Media: By default, BRMS uses an expired tape for each control
group. Therefore, during serial operations, BRMS unloads the volume from the
previous group and uses a new volume for each subsequent control group.
However, you can add the later control groups to the end of the previous tape.
To do that, specify ENDOPT(*LEAVE) and APPEND(*NO) on the Change
Backup Control Group Attributes display for the first control group. Then
specify ENDOPT(*LEAVE) and APPEND(*YES) for the second and subsequent
control groups.
122
Suppose that the FINHST library in the FINANCE group contains 50 small objects
and 4 very large objects. At this point, you want to save the FINANCE group to
TAP01. Your main concern at this point is to balance the backup window for both
tape drives. For example, the size of the objects in the FINHST library might force
TAP01 to process longer than TAP02. Thus, the control group processing would
not end concurrently. To remedy this, you can split the FINHST library into two
control groups of approximately 25 small objects and 2 large objects each, as
shown in Figure 10 on page 124. By doing so, you can better balance the save
window for both devices.
123
Next suppose that the two FINHST libraries grow to contain 35 small and 3 large
objects each. In this case, you need to change your backup strategy, and
continually work to keep these jobs ending at the same time. Alternatively,
however, you could return all of the FINHST objects to one control group and
process it using a parallel backup. Figure 12 shows how BRMS can do this. The
parallel backup support feature makes this job easier because it balances the work
load for you, and sends the job to process at all available devices. By using the
parallel support feature, you do not need to revise your backup strategy if libraries
and objects grow, or if you add another tape drive to your system.
In this case, then, you can run the smaller jobs concurrently to TAP01 and TAP02,
while using parallel support to process FINSHT across both devices. Figure 11 on
page 125 shows how BRMS can perform concurrently and parallel saves
simultaneously.
124
In this case, the FINHST control group runs first to both TAP01 and TAP02 groups
in parallel. Then the FINANCE, PAYROLL, and ADHOC control groups run to
TAP01, while the MANUFACT, DISTRIBUTION, and DBNETWORK control groups
run concurrently to TAP02.
In addition, if you share tape devices with other systems, sometimes you may have
more or less resources available, depending on availability. Parallel backup support
makes the best use of available devices when you want to save a large library.
To process multiple control groups by using concurrent and parallel support, keep
the following in mind:
v Control job running time: In an environment such as described here, the timing
of some jobs might be dependent on the outcome of others. For example, to save
the media information, you need to run SAVMEDIBRM at the end of control
group processing. You do not want this command to run concurrent with the
control groups. To achieve this, consider using an advanced job scheduler such
as the IBM Job Scheduler for the OS/400 which allows you to define job
dependencies.
125
You can share any of the IBM tape libraries across multiple iSeries servers.
However, due to drive connectivity limitations, you cannot attach individual drives
to more than two systems at once. ATLs with more than two drives (3575 and
3494) can attach to more than two systems. When OS/400 uses a tape library, it
allocates a drive resource to the job. If a library has more than one drive, OS/400
selects one or more depending on the type of save operation (serial, concurrent or
parallel). If a resource is unavailable, OS/400 queues the request until one becomes
available or until the device timeout period elapses. You can find more information
on how to use devices in Chapter 8 of this manual. You can find more information
on ATLs in Automated Tape Library Planning and Management book (SC41-5309).
In this example, assume the use of a 3494 ATL with two 3590 B1A shared between
two iSeries servers. You have connected the two tape drives to two iSeries servers,
SYSTEMA and SYSTEMB. These two systems exist in a BRMS network, and share
a common tape pool. When working with tape libraries, you should have the
stand-alone device description varied off, and the library device varied on. The
tape drives appear as resources under the library device. With a 3494, although
each tape subsystem appears to OS/400 as a library device, all library devices can
access the resources for that library type. The OS/400 command Work with Media
Library Status (WRKMLBSTS) display illustrates this.
Work with Media Library Status
Type options, press Enter.
1=Vary on 2=Vary off 3=Reset resource
5=Allocate unprotected 6=Deallocate resource
Opt
Device/
Resource
TAPMLB01
TAP01
TAP02
TAPMLB01
Status
VARIED ON
OPERATIONAL
OPERATIONAL
VARIED OFF
SYSTEM A
4=Allocate resource
8=Work with description
Allocation
Job
name
UNPROTECTED
UNPROTECTED
This example shows the preferred way to run, which is with one library device
varied on and the other varied off. This way, both SYSTEMA and SYSTEMB can
run jobs simultaneously. Both would be using library device TAPMLB01. Although
only two tape resources (TAP01 and TAP02) are available, each system can run
more than two jobs at the same time. The OS/400 resource manager queues
requests for resources by allocating them as needed and as they become available.
To use one of the resources specifically (as you might in a more complex library
setup), you can change the allocation of the non-required resource to
DEALLOCATED. This makes the resource unavailable to that system. You can also
change the resource allocation manually by using the WRKMLBSTS display.
However, if you want to change the allocation dynamically, type the VRYCFG
command in an *EXIT command in your control group. For example, if we want
OS/400 to select TAPMLB02 to save the PAYROLL application, we could create the
following control group items:
126
Seq
10
20
30
40
Backup
Items
*EXIT
PAYDATA
PAYLIB
*EXIT
List
Type
Weekly
Retain Save
Activity Object While
SMTWTFS Detail Active
*DFTACT
*DFTACT
*ERR
*NO
*DFTACT
*ERR
*NO
*DFTACT
SWA
Message
Queue
127
SAVSYSBRM
The Save System using BRM command allows you to save a copy of the
operating system library in a format compatible with the installation
process. It does not save objects from any other library.
When used to perform backup functions, these commands do not automatically
save the recovery data or media information in the QUSRBRM library. After
completing one of these commands, you need to save media information with the
Save Media Information using BRM (SAVMEDIBRM) command.
Notes:
1. Do not use these commands with an *EXIT in a control group as the results
may be unpredictable.
2. If you have processed any backups to save files, you must run the Save Save
Files using BRM (SAVSAVFBRM) command with the appropriate control group.
Run the SAVMEDIBRM command after the SAVSAVFBRM command and then
print new recovery reports.
128
Many of the functions described in this chapter are available as part of a plug-in to
Operations Navigator. For detailed information on the BRMS plug-in to Operations
Navigator, see the iSeries Information Center.
Recovery Policy
Use the recovery policy to instruct BRMS on how to implement your recovery
plan. For example, you can use the recovery policy to select the types of media
and devices you want to use for the recovery. You can also use the recovery policy
to instruct BRMS to restore objects and libraries in specific ways.
To get to the recovery policy display, take the following steps:
1. Type WRKPCYBRM *RCY at a command line. Press Enter.
Change Recovery Policy
RCHAS400
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*SAV
.
.
.
.
*REWIND
*ALL
*ALL
*NONE
F5=Refresh
*SAME, *NEW
Name, *SAVLIB
Name, *SAVASP, 1-16...
F9=System policy
More...
129
v In the Recovery devices field, specify the device or devices that you want to
perform the recovery. You can specify a specific device name or *MEDCLS,
which instructs BRMS to select any available device that matches the media
class you plan to use.
Note: If you did not notify BRMS that you recently moved media from an
offsite to an onsite location, the *MEDCLS device search may fail. For
this reason, it is better to explicitly name the device you want BRMS
to use for the recovery.
v In the Parallel device resources field, specify whether you want to perform
parallel recoveries. In a parallel recovery, BRMS allocates multiple devices to
process one large job. You need multiple devices (at least two) to use this
option. BRMS can only perform parallel restores on information that was
saved with the parallel process. You can find more information about parallel
and concurrent (multiple jobs to multiple devices) recoveries later in this
chapter.
v Use the Database member option field to specify which members of database
files you want to restore to the database.
v In the Allow object differences field, you can instruct BRMS to allow differences
between saved and restored objects.
v In the Restore to library field, indicate whether to restore library contents to a
library different from the one in which they were saved. You should not
leave this as *SAVLIB. Instead, either name a specific default library (for
example, RESTORES) or use the system-provided QTEMP library. If you
leave the value at *SAVLIB, you run the risk of overwriting a production
library. To avoid this, you should change the default. If you want to restore
the original library at a later time, you can override the name you specify
here when you want to perform the recovery operation.
v In the Auxiliary storage pool ID field, indicate whether to restore libraries and
objects to the same auxiliary storage pool (ASP) in which they originated.
3. After reviewing and changing the parameters as needed, press Enter to save
and exit.
BRMS uses only one recovery policy to cover all of your recovery needs. You
should only need to set recovery policy parameters once. However, it is possible to
change recovery policy values on an item by item basis by using the Restore
Command Defaults display. Later in this chapter, you learn how to access and use
this display.
130
RCHAS400
Save Volume
Date
Time
Type Serial
10/15/98 15:12:36 *FULL 000C0D
F3=Exit F5=Refresh
F14=Submit to batch
F9=Recovery defaults
F16=Select all
File Seq
1
F12=Cancel
Exp
Objects
Date Saved
5/19/99
1
Bottom
131
*SYSTEM
F3=Exit F4=Prompt
F24=More keys
F12=Cancel
F5=Refresh
Bottom
F13=How to use this display
F3=Exit F4=Prompt
F24=More keys
. . .
. . .
*SYSTEM
*REPORT
. . .
. . .
*AVAIL
*BEGIN
Time, *AVAIL
Date, *CURRENT, *BEGIN
.
.
.
.
.
.
*AVAIL
*END
*NO
*SYSTEM
Time, *AVAIL
Date, *CURRENT, *END
*NO, *YES
Name, *SYSTEM, 1, 2, 3, 4...
Name, generic*
Name, *ALL
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*ALL
F12=Cancel
More....
F13=How to use this display
132
F3=Exit F4=Prompt
F24=More keys
. . .
. . .
*CTLGRP
*RESTORE
. . .
. . .
*AVAIL
*BEGIN
Time, *AVAIL
Date, *CURRENT, *BEGIN
.
.
.
.
.
.
*AVAIL
*END
*NO
*SYSTEM
Time, *AVAIL
Date, *CURRENT, *END
*NO, *YES
Name, *SYSTEM, 1, 2, 3, 4...
Name, generic*
Name, *ALL
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*ALL
F12=Cancel
F3=Exit F4=Prompt
F24=More keys
F5=Refresh
*SELECT
*NO
*NO
*ALL
*NO, *YES
*NO, *YES
*ALL, *HOME, TAPMLB01...
*DELETE
*LCL
*NO
*DELETE, *NONE
F12=Cancel
*NO, *YES
133
8. If you want to restore only one control group and know its name, type it into
the Control group field. Or you can use the *SELECT value to select from a list
of control groups. Since the *SELECT value is the default value for this
parameter, simply press Enter once to prompt the list.
Select and Sequence Control Groups
Type sequence number (1-99), press Enter.
Seq
1
2
F3=Exit
Control
Group
Text
*BKUGRP
*SYSGRP
PAYROLL
INVENTORY
MYLIB
YOURLIB
F12=Cancel
9. Place a number in the Seq column next to the control groups you want to
restore in the order in which you want BRMS to restore them.
10. Press Enter twice to get to the Select Recovery Items display.
Select Recovery Items
RCHAS400
Date
5/27/99
5/27/99
5/30/99
5/30/99
F3=Exit F5=Refresh
F14=Submit to batch
Time
16:51:56
13:20:26
17:00:27
17:15:10
Save
Type
*FULL
*FULL
*FULL
*FULL
Volume
Serial File Seq
172534
1
172534
1
1727C0
1
1727C0
1
F9=Recovery defaults
F16=Select all
F12=Cancel
Exp
Date
6/10/99
6/10/99
6/10/99
6/10/99
Objects
Saved
1
1
1
1
Bottom
11. A list of the items contained in the control groups you specified appears on
this display. Type a 1 (Select) next to the items you want BRMS to recover and
press Enter. Press F16 to instruct BRMS to restore all of the items on the
display.
12. Press Enter to confirm your selections at the Confirm Recovery Items display.
This returns you to the STRRCYBRM display.
13. Review and change the other parameters on the STRRCYBRM display as
needed.
14. To override any recovery policy values for this (or any other) specific job,
press F9 from this display. This takes you to the Restore Command Default
display, which contains most of the parameters and values from the recovery
policy display.
134
*REWIND
*ALL
*ALL
*NONE
*SAME
*SAVLIB
*SAVASP
*ALL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*SAV
Name, *MEDCLS
F12=Cancel
At this display, you can override recovery policy values to, for example,
specify a particular device or type of restore (for example, a parallel restore).
Change the parameters as needed and press Enter to return to the Select
Recovery Items display.
15. After reviewing and changing the parameters as needed, press Enter to begin
the restore. As STRRCYBRM processes your request, the Display Recovery
Items display keeps you informed of status of the recovery.
Select Recovery Items
RCHAS400
..............................................................................
:
Display Recovery Items
RCHAS400
:
:
17:20:05 :
:
Remaining items . . . . :
4
:
:
Remaining objects . . . :
4
:
:
Remaining size . . . . :
.1475 M 100.0 %
:
:
:
: Saved
Save Volume
Exp
Objects :
: Item
Date
Time
Type Serial File Seq
Date
Saved :
: 1 A/PAYABLE
5/27/99 16:51:56 *FULL 172534
1 6/10/99
:
: 1 A/REC
5/27/99 13:20:26 *FULL 172534
1 6/10/99
:
: 1 INV/DISKS
5/30/99 17:00:27 *FULL 1727C0
1 6/10/99
:
: 1 INV/DRIVES 5/30/99 17:15:10 *FULL 1727C0
1 6/10/99
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
: Press ATTN key to cancel recovery after current item completes.
:
: Restoring library LIB1 from volume 172534 sequence number 1.
:
:............................................................................:
When your recovery job completes, a message appears at the bottom of the
Select Recovery Items display that indicates the status of your recovery.
135
RCHAS400
Date
5/27/99
5/27/99
5/30/99
5/30/99
Time
16:51:56
13:20:26
17:00:27
17:15:10
Save
Type
*FULL
*FULL
*FULL
*FULL
Volume
Serial File Seq
172534
1
172534
1
1727C0
1
1727C0
1
Exp
Date
6/10/99
6/10/99
6/10/99
6/10/99
Objects
Saved
Bottom
16. After the recovery processing completes, check the job log to make sure that
the job completed successfully.
F3=Exit F4=Prompt
F24=More keys
136
. . .
. . .
*CTLGRP
*RESTORE
. . .
. . .
*AVAIL
*BEGIN
Time, *AVAIL
Date, *CURRENT, *BEGIN
.
.
.
.
.
.
*AVAIL
*END
*NO
*SYSTEM
Time, *AVAIL
Date, *CURRENT, *END
*NO, *YES
Name, *SYSTEM, 1, 2, 3, 4...
Name, generic*
Name, *ALL
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*ALL
F12=Cancel
More...
F13=How to use this display
3. Scroll down to the second page of the display. At the + for more values field
at the Control group selection parameter, press + to add more than one control
group to the command request.
Specify More Values for Parameter CTLGRP
Type choices, press Enter.
Control group selection:
Control group . . . . . . . . PAYROLL
Sequence number . . . . . . . 1
Control group . . . . . . . .
Sequence number . . . . . . .
Control group . . . . . . . .
Sequence number . . . . . . .
F3=Exit F4=Prompt
F24=More keys
F5=Refresh
F12=Cancel
4. Review and change the other parameters as needed, then press Enter to process
the command.
F3=Exit F4=Prompt
F24=More keys
. . . > *LIB
. . . > *RESTORE
. . .
. . .
*AVAIL
*BEGIN
Time, *AVAIL
Date, *CURRENT, *BEGIN
.
.
.
.
.
.
*AVAIL
*END
*NO
*SYSTEM
LIB10
*ALL
Time, *AVAIL
Date, *CURRENT, *END
*NO, *YES
Name, *SYSTEM, 1, 2, 3, 4...
Name, generic*
Name, *ALL
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
F12=Cancel
2. Type the name of the library you want BRMS to restore in the Library field. You
can also recover a string of libraries by using a generic library name. For
example, you can restore all libraries that begin with P by specifying P* at the
Library parameter. After you have specified the library you want to restore,
press Enter. This takes you to the Select Recovery Items display.
137
RCHAS400
Save Volume
Exp
Date
Time
Type Serial File Seq
Date
5/28/99 18:39:05 *FULL 172534
4
5/01/99
5/28/99 18:55:21 *INCR 172535
5
5/01/99
F3=Exit F5=Refresh
F14=Submit to batch
F9=Recovery defaults
F16=Select all
F12=Cancel
Objects
Saved
1
1
Bottom
138
F3=Exit F4=Prompt
F24=More keys
. . . > *LNKLIST
. . .
*RESTORE
. . .
. . .
*AVAIL
*BEGIN
Time, *AVAIL
Date, *CURRENT, *BEGIN
.
.
.
.
.
.
*AVAIL
*END
*NO
*SYSTEM
Time, *AVAIL
Date, *CURRENT, *END
*NO, *YES
Name, *SYSTEM, 1, 2, 3, 4...
Name, generic*
Name, *ALL
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
*ALL
F12=Cancel
More...
F13=How to use this display
The *LNKLIST special value restores all of the Integrated File System objects
that BRMS saved in the list between the start and end times you specify on this
display.
2. Change the other parameters as needed.
3. Override recovery policy parameters if needed by pressing F9, which takes you
to the Restore Command Defaults display. Or press Enter to process the
recovery.
4. Check the job log to make sure that the job completed successfully.
139
RCHAS400
Directory
/QLANSrv/NWS/RCHPID/DSK/K/edel_k
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/ADSMSERV
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/ADSMSERV/DLL
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/ADSMSERV/DOC
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/BRMS
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/PMSX
2. Type a 9 (Work with directory information) in front of the directory you want
to restore and press Enter. This takes you to the Work with Directory
Information display.
Work with Directory Information
RCHAS400
Directory . . . . :
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/BRMS
Type options, press Enter.
4=Remove 5=Display 7=Restore 9=Work with objects
Date
Time
Opt Saved Saved
__ 06/11/99 23:24:24
__ 06/12/99 17:04:34
__ 06/18/99 17:56:27
Save
Type
*FULL
*INCR
*FULL
Volume
Serial
DD0376
QRS188
ABC130
Expiration
Date
05/16/99
05/17/99
05/23/99
Objects
Saved
11
11
11
Not
Saved
0
0
0
3. The Work with Directory Information display lists the directory items that
BRMS saved in the directory you selected. If you do not want to restore the
entire directory, you can continue to drill down to the next level of information.
To do this, type a 9 (Work with Objects) next to the directory objects you want
to review and press Enter. This takes you to the Work with Objects display.
Work with Objects
Directory . . . . :
Saved date/time . :
RCHAS400
/QLANSrv/NWS/RCHPID/DSK/K/edel_k/BRMS
06/18/99 17:56:27
Object
ARC.SH
BACKUP.SH
BRM.EXE
BRM.SH
COST.SH
Volume
Serial
ABC130
ABC130
ABC130
ABC130
ABC130
Size
263213
220739
459040
688769
537927
4. You can remove, display, or restore an Integrated File System object from this
display. This example, however, generates the restore from the Work with
Directory Information display.
5. This takes you to the Select Recovery Items display.
140
RCHAS400
Save Volume
Date
Time
Type Serial
5/18/99 17:56:27 *FULL ABC130
File
Seq
1
Expiration Objects
Date
Saved
5/23/99
11
. . :
CPC370E
Severity . . . .
. . :
Completion
. . :
06/18/99
Time sent . . .
11 objects restored.
11 objects were restored from ABC130
The restore operation ended on volume
. . . :
00
. . . :
18:06:17
sequence number 1 at
ABC130.
6. After confirming your selection, you can press Enter to process the command.
/QFPNWSSTG
05/12/99 10:37:41
RCHAS400
Volume
Serial
ABC592
ABC592
Object
DRIVEK
DRIVEL
Size
34816
29184
RCHAS400
Saved
Save
Item
Date
Time
Type
LANSTGS 6/12/99 10:37:41 *FULL
LANSTGS 6/12/99 10:37:41 *FULL
Volume
Serial
ABC592
ABC592
141
4. Select the items you want to recover from the Select Recovery Items display
and press Enter.
5. Confirm the items you want to recover at the Confirm Recovery Items display.
6. Type a 9 (Work with objects) in front of the items you want to restore and press
Enter. The recovery process begins.
7. After the restore completes, you can vary on the Integrated PC server. This can
take several minutes. Once you activate the Integrated PC server, check your
LAN Server environment with the WRKLNK command. You should also try
out a few options from the Network Server Administration (NWSADM) menu
to ensure that everything is working correctly.
8. To verify that BRMS successfully completed the restore, use the Work with
Network Server Storage Spaces (WRKNWSSTG) command.
Work with Network Server Storage Spaces
Type options, press Enter.
1=Create 4=Delete 5=Display
Opt
___
___
___
Percent
Name
Used
__________
DRIVEK
7
DRIVEL
3
Size
500
500
6=Print
Server
10=Add link
Drive
Letter
RCHAS400
11=Remove link
TEXT
500 MB Server RCHPID /
500 MB Server RCHPID /
9. Link the storage names with the appropriate drive letters by using the Add
Server Storage Link (ADDNWSSTGL) command. You can also use option 10
from the Work with Network Storage Space (WRKNWSSTG) display to
perform the same task.
142
*REWIND
*ALL
*ALL
*ALL
*SAME
*SAVLIB
*SAVASP
*NONE
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*SAV
Name, *MEDCLS
F12=Cancel
11. Press Enter once to return to the Select Recovery Items display and again to
process the restore.
You can use the OS/400 command Restore User Profiles (RSTUSRPRF) to restore
individual user profiles.
143
RCHAS400
Position to Date . . . . .
Type options, press Enter.
2=Change 4=Remove 5=Display
9=Work with saved objects
Saved
Opt Item
9 FULL
INCR
MYFILE
Save Volume
Date
Time
Type Serial
05/01/99 8:24:14 *QBRM AN2
05/02/99 9:24:14 *FILE PRG002
05/02/99 10:24:14 *FULL SAM486
7=Restore
File
Sequence
2
1
1
Expiration
Date
05/25/99
05/15/99
12/01/99
Bottom
F3=Exit
F5=Refresh
F11=Object detail
F12=Cancel
2. Type a 9 (Work with Saved Objects) in front of the saved item from which you
want BRMS to perform the restore. If object level detail does not exist for that
item, BRMS sends a message stating that object level detail does not exist for
that entry.
3. Press Enter. This takes you to the Work with Saved Items display.
Work with Saved Objects
RCHAS400
Position to Object . . .
Type options, press Enter.
4=Remove 5=Display 6=Work with media
9=Work with saved members
Opt
7
7
7
Object
QA1ACN
QA1ADV
QA1AHS
QA1ALR
F3=Exit
Library
FULL
FULL
FULL
FULL
Type
*QBRM
*QBRM
*QBRM
*QBRM
7=Restore object
Save
Date
05/01/99
05/01/99
05/01/99
05/01/99
Save
Time
8:24:14
8:24:14
8:24:14
8:24:14
Volume
AN2
AN2
AN2
AN2
Message
ID
F12=Cancel
4. Type a 7 (Restore object) in front of the object you want to restore and press
Enter.
144
RCHAS400
Opt Object
1 QA1ACN
1 QA1ADV
1 QA1AHS
Library
INCR
INCR
INCR
F3=Exit F5=Refresh
F14=Submit to batch
Type
*FILE
*FILE
*FILE
Save
Date
05/02/99
05/02/99
05/02/99
F9=Recovery defaults
F16=Select all
Expiration
Date
05/15/99
05/15/99
05/15/99
F12=Cancel
Volume
AN2
AN2
AN2
Message
ID
Bottom
5. At the Select Recovery Items display, type a 1 (Select) in front of the objects you
want to restore. To restore all of the objects that are listed on the display, press
F16, which selects all of them for you.
6. Press Enter to confirm your selections at the Confirm Recovery Items display.
7. Press Enter to begin processing the restore. At the completion of the recovery,
BRMS sends a message that tells you how many objects it restored.
8. Check the job log to ensure that the job completed successfully.
145
. . . . . .
+ for
Saved library . . .
Device . . . . . . .
+ for
Object types . . . .
+ for
Volume identifier .
Sequence number . .
. . . . . .
more values
. . . . . .
. . . . . .
more values
. . . . . .
more values
. . . . . .
. . . . . .
MYFILE
> QUSRBRM
TAP01
Name
Name, *SAVF
> *ALL
> AN2
> 0000000002
F10=Additional parameters
F24=More keys
Bottom
F12=Cancel
4. At the Object parameter, type in the name of the object you want to restore.
5. Press Enter to process the restore.
Note: You can restore multiple objects from the Restore Objects display.
*ALL
Select dates:
From date . .
To date . . .
Save status . .
Sequence option
From system . .
Output . . . . .
*BEGIN
*END
*ALL
*DATE
*LCL
*
.
.
.
.
.
.
F3=Exit F4=Prompt
F24=More keys
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
F12=Cancel
Bottom
F13=How to use this display
146
RCHAS400
Save
Save
Date
Time
5/10/99 14:01:45
5/02/99 6:32:28
5/03/99 11:06:03
Opt Folder
7 TEST1
7 TEST2
TEST3
F3=Exit
7=Restore folder
DLO
Saved
1
8
19
Not
Saved
0
0
0
Volume
*VOL01
*VOL02
*VOL03
F12=Cancel
4. Type a 7 (Restore folders) in front of the folders you want to restore and press
Enter. This takes you to the Select Recovery Items display.
Select Recovery Items
RCHAS400
Opt Folder
1 TEST1
1 TEST2
F3=Exit F5=Refresh
F14=Submit to batch
Save
Date
5/10/99
5/02/99
Expiration
Date
6/30/99
7/01/99
F9=Recovery defaults
F16=Select all
DLO
Saved
19
8
F12=Cancel
Not
Saved
0
0
Volume
*VOL01
*VOL02
Bottom
5. Type a 1 (Select) in front of the folders you want to restore and press Enter.
6. Press Enter to confirm the items you want to recover at the Confirm Recovery
Items display.
7. Press Enter again to begin processing the command.
8. After the command completes, review the job log to make sure that your
restore completed successfully.
Note: You can also use the Work with Saved Folders display to remove folder
information from the media content information inventory. In addition, you
can review folder detail from this display.
147
. . . . . . *ALL
. . . . . . *ALL
. . . . .
*ALL
. . . . . . *ALL
. . . . . . *ALL
. . . . . . *ALL
. . . . . . *ALL
Name,
Name,
Name,
Name,
Name,
Name,
Name,
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. *ALL
. *ALL
. *ALL
. *DATE
. *LCL
. *
*ALL
*ALL
*ALL, *SYSTEM, 1, 2...
*ALL
*ALL
*ALL
*ALL
148
_________
Outq
QPRINT
QPRINT
File
Q1AASP
Q1ARMM
Job
Q1ARMM
Q1ARMM
User
USER1
USER1
Date
Time
5/28/99 9:43:32
5/28/99 9:48:44
4. At the Work with Saved Spooled Files display, type a 7 (Restore spooled file) in
front of the spooled file you want to restore and press Enter. This takes you to
the Select Recovery Items display
Select Recovery Items
RCHAS400
Outq
QPRINT
F3=Exit F5=Refresh
F14=Submit to batch
File
Q1AASP
Job
Q1ARMM
F9=Recovery defaults
F16=Select all
User
USER1
F12=Cancel
Volume
*VOL05
Bottom
5. Type a 1 (Select) in front of the spooled file you want to restore. Press F16 to
select all of the spooled files on the display.
6. Press Enter at the Confirm Recovery Items display to confirm the items you
want to restore.
7. Press Enter to process the restore.
8. After the restore completes, review the job log to ensure that the job completed
successfully.
Notes:
1. During the save and restore process, BRMS keeps the spooled file attributes,
file name, user name, user data field, and in most cases, the job name. IBM
Operating System/400 (OS/400) assigns a new job number, system date, and
time of the restore operation. You cannot restore the original time and date.
Once you have restored the output queue, you can use the WRKOUTQ
OPTION(*PRINT) to spool the contents of the output queue. You may want to
compare this report to the report you generated after the save.
2. Internally, BRMS saves the spooled files as a single folder, with multiple
documents (spooled members) within that folder. During the restore, it reads
the tape label for the folder, and restores all of the documents. If your spooled
file save spans multiple tape volumes, BRMS prompts you to load the first tape
to read the label information before restoring the documents on subsequent
tapes. Therefore, you should plan to save your spooled files on a separate tape
by using the *LOAD exit in the control group. Or you can split your spooled
files saves so that BRMS uses one tape at a time. This approach can help you
during the recovery of spooled files.
149
In addition to its restore capability, the Work with Saved Spooled Files display
allows you to remove folder information from the media content information. You
can also review save information, and work with the media that contains the saved
spooled files from this display.
150
RCHAS400
Save Volume
Exp
Objects
Date
Time
Type Serial File Seq
Date Saved
04/02/99 14:31:40 *FULL 1951E1
1 05/07/99
1
04/02/99 14:31:47 *FULL 1951E1
2 05/07/99
1
F3=Exit F5=Refresh
F14=Submit to batch
F9=Recovery defaults
F16=Select all
F12=Cancel
Bottom
Name, *MEDCLS
*REWIND
*ALL
*ALL
*NONE
*SAME
*SAVLIB
*SAVASP
*ALL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*SAV
F12=Cancel
151
*REWIND
*ALL
*ALL
*NONE
*SAME
*SAVLIB
*SAVASP
*ALL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*SAV
Name, *MEDCLS
F12=Cancel
152
F3=Exit F4=Prompt
F24=More keys
F5=Refresh
F12=Cancel
Bottom
F13=How to use this display
153
Recovery Planning
RCHAS400
Recovery contact
Jane Doe
Telephone number
555-6565
3. To add a name to the list, type a 1 in the Opt column and the contact name in
the Recovery contact field.
4. Then press Enter to access the remaining contact information.
154
5. In the Contact information field, the name of the contact you added appears.
On the other fields, add additional relevant contact information such as office
location, department name, phone number, and title.
6. Press Enter to add the name to the Recovery Contact list. Once you have
completed the list, you can access it again at any time to add, change, remove
or display contact names as needed.
Activity
________
Seq Text
___ ____
155
Activity
Seq Text
P/R
A/P
3 Accounts Payable related recovery instructions
A/R
2 Accounts Receivable related recovery instructions
G/L
3 General Ledger related recovery instructions
H/R
7 Human Resources related recovery instructions
Hardware Fail
1 Hardware Failure related recovery instructions
O/E
15 Order Entry related recovery instructions
Power Fail
1 Power failure related recovery instructions
3. From the Work with Recovery Activities field, you can add, remove, or display
activity-related information. You can also change recovery information. In this
example, use this display to create a recovery activity list.
List all of the activities you want employees to perform. Then type a 1 (Add) in
the Opt field next to the activity you want to work with and press Enter. This
takes you to the Add Recovery Activity display.
Add Recovery Activity
Type information, press Enter.
Activity
Recovery
Recovery
Recovery
Recovery
Recovery
Activity
Text . .
. . . . . . .
contact one .
contact two .
contact three
contact four.
contact five.
sequence . .
. . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. P/R
. John Hernandez
F4
. Michelle Syska
F4
. Kristen Taylor
F4
. Print-Rite Business Forms F4
. __________________________ F4
. ___1
1-999
. Payroll related recovery instructions
4. At this display, you can provide contact detail information to match each
activity.
Note: By placing your cursor and pressing Enter on any Recovery contact field
on this display, you can select a name from the list of contact names you
created earlier.
5. Press Enter to return to the Work with Recovery Activities display. Complete
and add contact names to the list as required.
Creating recovery contact and activity lists can be time-consuming. Only you can
best assess the relationship between the time it takes to create them and the value
that is gained by your organization.
You can print copies of your recovery activity lists by using the menu options
available on the Recovery Planning menu.
156
Command Description
RSTBRM
RSTDLOBRM
RSTLIBBRM
RSTOBJBRM
RSTAUTBRM
157
158
You can run maintenance as part of a backup using the BRMS plug-in to
Operations Navigator. For detailed information on the BRMS plug-in to Operations
Navigator, see the iSeries Information Center.
F5=Refresh
*YES
*YES, *NO
*EXP
*MEDCON
180
*NO
*ALL
*BEGIN
90
*YES
*YES
*NETGRP
*ALL,
Date,
Date,
*YES,
*YES,
*YES
*YES
*YES, *NO
*YES, *NO
F12=Cancel
More...
F13=How to use this display
159
*EXPMED
*YES
*ALL
*ALL
F3=Exit F4=Prompt
F24=More keys
F12=Cancel
F5=Refresh
Bottom
F13=How to use this display
The STRMNTBRM command can perform the following tasks and prints the
following reports when processed:
v
v
v
v
v
Expires media.
Removes history records for expired media.
Produces a report that lists expired media.
Determines which, if any, libraries did not save.
Produces a report on recovery activities (contact information).
160
161
Name, *JOBD
Frequency . . . . .
Schedule date, or .
Schedule day . . . .
+ for
Schedule time . . .
*CURRENT
*NONE
*CURRENT
Time, *CURRENT
. . . . . .
. . . . . .
. . . . . .
more values
. . . . . .
F10=Additional parameters
F24=More keys
Bottom
F12=Cancel
RCHAS400
F5=Refresh
*YES
*YES, *NO
*EXP
*MEDCON
180
*NO
*ALL
*BEGIN
90
*YES
*YES
*NETGRP
*ALL,
Date,
Date,
*YES,
*YES,
*YES
*YES
*YES, *NO
*YES, *NO
F12=Cancel
More...
F13=How to use this display
162
RCHAS400
F3=Exit
.
.
.
.
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
.
30
*EXIT
SMTWTFS
STRMNTBRM
F12=Cancel
5. At this display, type STRMNTBRM in the Command field and press Enter. The
STRMNTBRM command will now process at the end of this control group.
To ensure that the STRMNTBRM does not process until the control group has
completed, you should hold the batch job queue for the duration of the control
group processing. Use the Change Control Group Attributes display to hold the
batch job queue.
163
164
Many of the features in this chapter are available as part of a BRMS plug-in to
Operations Navigator. For detailed information on the BRMS plug-in to Operations
Navigator, see the iSeries Information Center.
Scheduling
System:
RCHAS400
Selection or command
===>
F3=Exit
F4=Prompt
F9=Retrieve
F10=Commands
F12=Cancel
F13=Functions
You can access the BRMS scheduling commands and tasks by using the menu
options or by commands. This chapter emphasizes the use of commands.
165
RCHAS400
Starting characters
*BKUPCY
SAVSYS
BRM3590
SAVF
*BKUPCY
SAVSYS
BRM3590
SAVF
F3=Exit
F5=Refresh
F9=Change backup policy
*BKUPCY
*BKUPCY
IFIIIFI
*DFTACT
2. At the Work with Control Groups display, place a 6 (Add to Schedule) in front
of the control groups you want to schedule and press Enter. This takes you to
the Add Job Schedule Entry (ADDJOBSCDE) display.
Add Job Schedule Entry (ADDJOBSCDE)
Type choices, press Enter.
Job name . . . . . . . . . . . . > QBRMBKUP
Name, *JOBD
Command to run . . . . . . . . . > STRBKUBRM CTLGRP(PAYTEST) SBMJOB(*NO)
Frequency . . . . .
Schedule date, or .
Schedule day . . . .
+ for
Schedule time . . .
. . . . . .
. . . . . .
. . . . . .
more values
. . . . . .
> *WEEKLY
> *NONE
> *ALL
> '00:01'
Time, *CURRENT
F10=Additional parameters
F24=More keys
More...
F12=Cancel
166
F10=Additional parameters
F24=More keys
Bottom
F12=Cancel
The Command to run field identifies the command that processes the control
group you added to the scheduler. In this case, BRMS uses the STRBKUBRM
CTLGRP(PAYTEST) SBMJOB(*NO) command.
3. At the Scheduled time parameter, specify the time on the scheduled date that
you want the job submitted.
4. Review or change the other parameters as needed.
5. Press Enter to apply your changes.
RCHAS400
Group . . . . . . . . . . : ETEST
Default activity . . . . . *BKUPCY
Text . . . . . . . . . . . *NONE
Type information, press Enter.
Seq
10
20
Backup
Items
LIB1
LIB2
F3=Exit
F11=Display exits
List
Type
Weekly
Retain
Activity Object
SMTWTFS Detail
Save
While
Active
F
FIIIIII
*NO
*NO
F5=Refresh
F12=Cancel
*ERR
*ERR
SWA
Message
Queue
F10=Change item
F24=More keys
Bottom
Suppose that the job scheduler submits the control groups to the same job queue
that is used by the month-end batch job. Should the month-end job overrun and
not complete before midnight, BRMS could misread the weekly activity field as
follows:
v A full rather than incremental LIB1.
v Not save LIB2.
In addition, when the scheduler submits the control group to run again at 23:00
Sunday night, BRMS may do another full save of LIB1.
167
Opt Job
QBRMBKUP
QBRMBKUP
QBRMBKUP
5=Work with
-----Schedule-----Status Date
Time
SCD
*ALL
0:01:00
SCD
*ALL
0:01:00
SCD
*ALL
0:01:00
RCHAS400
6=Release
Recovery
Frequency Action
*WEEKLY
*SBMRLS
*WEEKLY
*SBMRLS
*WEEKLY
*SBMRLS
Next
Submit
Date
10/23/98
10/23/98
10/23/98
Bottom
F3=Exit
F5=Refresh
F6=Add
F12=Cancel
The Work with BRM Job Schedule Entries display allows you to change, hold,
remove, work with, or release scheduled jobs. It is similar to the OS/400 Work
with Job Schedule display, but provides fewer options. You can, however, add a
new job to the schedule by pressing F6, which will take you to the Add Job
Schedule Entry display. Also note that if you choose option 4 (Remove) a
confirmation display does not appear and the selected entries are immediately
removed.
To review or work with all scheduled jobs, take option 2 (Work with all scheduled
jobs) from the BRMS Scheduling menu.
168
169
iSeries, select the *IJS special value that was created specifically for the Job
Scheduler for iSeries. For any other scheduler, you need to specify the *USRDFN
(User-defined) value.
v Add job command: Here you can change the command that is used to add a
scheduled item to the job scheduler. BRMS uses the add command that you
change to interface with the add function of the scheduler. To add a control
group to the job scheduler from the Work with Backup Control Groups display,
type a 6 (Add to schedule) in the Opt column. If you are using the *SYSTEM
default values that are supplied with BRMS, you will see the ADDJOBSCDE
command that is used by the OS/400 scheduler. If you are using Job Scheduler
for iSeries, you will see the ADDJOBJS command. If you changed the add
function at the Add a job command parameter, you can review it in the Add a job
command field.
Note: If you specified *NO at the Command prompt for add prompt, then you will
remain at the Work with Backup Control Groups display. The job
scheduler will process the job.
v List jobs command: Use this command to list jobs that are scheduled in the job
scheduler. BRMS uses the list command that you change to interface with the list
function of the scheduler. For example, if you are at the Scheduling menu and
you want to list all jobs in the job scheduler, take menu option 2 (Work with all
scheduled jobs). If you are using the default values that are supplied with
BRMS, you see the WRKJOBSCDE command that is used by the OS/400
scheduler. If you are using Job Scheduler for iSeries, you will see the WRKJOBJS
command. If you have changed the list function by using the List jobs
command parameter, you will see the list command that you specified.
v Select jobs command: You can change the command that is used to select jobs
from the job scheduler. BRMS uses the select command that you change to
interface with the select function of the scheduler. For example, if you are at the
Scheduling menu and you want to select all BRMS jobs in the job scheduler, take
menu option 1 (Work with all BRM scheduled jobs). If you are using the default
values that are supplied by BRMS, you will see the Work with BRM Job
Schedule Entries display. If you change the select function by using the Select
jobs command parameter, the display you specified will appear.
170
Note: Before you can use the &APPL variable, you need to set up the application
in the OS/400 job scheduler. To do this, select option 4 (Job Controls) from
the main OS/400 Job Scheduler menu. Then select option 6 (Work with
Applications) display.
Change Job Scheduler (CHGSCDBRM)
Type choices, press Enter.
Scheduler type . . . . . . . . . *USRDFN
*SYSTEM, *IJS, *USRDFN
Add a job command . . . . . . . 'ADDJOBOS JOB(&JOBNAME) APP(&APPL)
SCDCDE(*DAILY) TIME(2300) CMD(&REQUEST)'
_______________________________________________________________________________
_______________________________________________________________________________
Command prompt for add . . . . . *YES
*NO, *YES
List jobs command . . . . . . . 'WRKJOBOS'
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________
Command prompt for list. . . . . *NO
*NO, *YES
Select jobs command . . . . . . 'WRKJOBOS APP(&APPL)'
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________
Command prompt for select . . . *NO
*NO, *YES
Note: Although it is possible to use both the OS/400 job scheduler and a vendor
scheduler for BRMS, IBM does not recommend it. You will find it easier to
track and control scheduling activities when using only one scheduler.
171
172
173
174
175
Backup Function
In the backup area, the following usage levels are available:
Basic Backup Activities
This is the basic level of backup usage. Those with Basic Backup Activities
access can use and view the backup policy, control groups, and lists. Use
access also allows these users to process backups by using control groups
(through the STRBKUBRM command) or by libraries, objects, or folders
(SAVLIBBRM, SAVOBJBRM, or SAVFLRLBRM). A user without access to
basic backup activities cannot see backup menu options or command
parameter options.
Backup Policy
Users with access to the Backup Policy can change the backup policy, in
addition to using and viewing it. Users without access to the backup policy
cannot change it.
Backup Control Groups
Users with access to Backup Control Groups can change specific control
groups, in addition to using and viewing them. You can find a list of all of
your existing control groups under the backup control groups heading in
Operations Navigator. You can grant a user access to any number of
specific control groups. Users without access to the archive control groups
cannot change them.
Backup Lists
Users with access to Backup Lists can change specific backup lists, in
addition to using and viewing them. You can find a list of all of your
existing backup lists under the backup lists heading in Operations
Navigator. You can grant a user access to any number of specific backup
lists. Users without access to a backup list cannot change it.
Recovery Function
In the recovery area, the following usage levels are available:
Basic Recovery Activities
This is the basic level of recovery usage. Users with Basic Recovery
Activities access can use and view the recovery policy. In addition, they
can also use the WRKMEDIBRM command to process basic recoveries, and
the RSTOBJBRM and RSTLIBBRM commands to perform individual
restores. Users without access to basic recovery activities cannot see
recovery menu options or command parameter options.
176
Recovery Policy
Users with access to the Recovery Policy can change the recovery policy, in
addition to using and viewing it. Users without access to the recovery
policy cannot change it.
System-Related Functions
In the system area, the following usage options are available:
Basic System Activities
Users with basic system-related activities can use and view device displays
Chapter 11. The Functional Usage Model and BRMS Security Considerations
177
and commands. They can also view and display ASP displays and
commands. Users with this access level can also use and view the system
policy.
Devices
Users with device access can change device-related information. Users
without this access are unable to change device information.
Auxiliary Storage Pools
Users with access to ASP information can change information about BRMS
ASP management.
Maintenance
Users with maintenance access can schedule and run maintenance
operations.
System Policy
Users with access to the system policy can change system policy
parameters.
Log
Any user can display log information, but only those with Log access can
remove log entries.
Initialize BRM
Users with this access can use the INZBRM command.
178
name and tailor their access as needed. When you customize user access to any
of the functions or functional components, an X appears in the Customize
Access column on the Host Applications display.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . . FULL
. . . TAPMLB04
. . . *HOME
. . . CART3490E
. . . *NO
. . . 30
. . . *PRTF
. .
. . . 0:00:00
. . . *YES
. . . 60
. . . *NO
. . . *NO
. . . *NO
F12=Cancel
3. The value in the Default usage field specifies whether to give default access to
the specific BRMS object that you are creating, for example, a control group,
backup list, or policy.
4. Press Enter to save your changes and exit.
Chapter 11. The Functional Usage Model and BRMS Security Considerations
179
F3=Exit F4=Prompt
F24=More keys
F5=Refresh
*OPERATOR
F12=Cancel
Bottom
F13=How to use this display
2. In the User field, type in the name of an existing group or user profile or use
the *DEFAULT value. *DEFAULT means that the default user has access to the
functions associated with the job category that is specified in the Usage field.
3. In the Usage field, select either the *OPERATOR or the *ADMIN value. An
*OPERATOR can access the following activities:
v Basic backup activities
v Basic media activities
v Basic movement activities
If you select the *ADMIN value, the user named in the User field has use and
change access to all of the BRMS functions and functional components.
4. Press Enter to apply your changes.
Note: SETUSRBRM is a one time reset of access to functions. Information about
user job categories (*OPERATOR or *ADMIN) is not kept.
180
CONSOLE
Start the console monitor by signing on with this new user profile. Use F9 to enter
commands at this display only if you enter the CONSOLE profile password. Any
attempt to end the console monitor results in a sign off.
RMVMEDBRM
RSTAUTBRM
RSTxxxBRM
INZMEDBRM
IBM also recommends that you restrict access to the following OS/400 commands:
v SAVSTG
v INZTAP
Use the Grant Object Authority (GRTOBJAUT) command to grant users access to
these BRMS and OS/400 commands. Use the RMVOBJAUT (Remove Object
Authority) command to remove user access from these commands.
Chapter 11. The Functional Usage Model and BRMS Security Considerations
181
Notes:
1. IBM also recommends that you restrict user access to the QBRM library to
BRMS users.
2. IBM ships a default user profile that is called QBRMS as part of the basic
OS/400 package. Do not delete this profile. This profile resolves security and
authority issues between BRMS and OS/400 during a recovery, thereby
restoring the BRMS profile in advance of other user profiles. For more
information on QBRMS and network security, see Chapter 13. Networking
with BRMS on page 191.
182
Benefits
The BRMS Application Client for TSM provides the following benefits for one or
more systems at offsite locations:
v You can use BRMS policies to save non-system objects across a network for
storage on any server in the TSM family.
v You can reduce the amount of media that is required at the offsite location,
thereby increasing the level of backup automation.
v You can reduce the amount of time that is spent managing media.
v You can minimize device purchases on the offsite system.
Restrictions
Any user data that you can save to a save file, you can save to an TSM server by
using the BRMS Application Client. Typically, this data is created by the user and
is not required to restore OS/400 to a functional level. Therefore, security data,
configuration data, and licensed programs are excluded from save operations to
TSM servers.
Following is a list of additional restrictions that are placed on BRMS Application
Client operations.
v You cannot save iSeries system data to a TSM server. You must store system
data on local media so that it is available for system recovery.
v BRMS does not save *IBM type libraries to TSM servers.
Copyright IBM Corp. 1998, 2001
183
v BRMS does not save IBM-supplies libraries that are considered user data such as
QGPL, QUSRBRM or QUSRSYS libraries to TSM servers.
v You cannot schedule operations from a TSM server, though you can schedule
operations by using BRMS.
v BRMS uses its own media policies to manage the retention and expiration of
data that is stored on the TSM server. TSM policies are not used for this
purpose.
v You cannot save BRMS media information on a TSM server. You must save this
information to local media so that it is available for recovery.
AS400 will be the management class name that is used by the BRMS Application
Client.
184
If you downloaded the APIs from the Internet, use the following command:
RSTLICPGM LICPGM(5733197) DEV(*SAVF) SAVF (library-name/save-filename)
where the SAVF parameter specifies the library and the save file that contains
the TSM APIs.
2. Install BRMS
You can find information on how to install BRMS in Chapter 2. Installing and
Initializing BRMS on page 11.
3. Add a location for your TSM server
To get to the Work with Storage Locations display, type WRKLOCBRM at a
command line and press Enter.
Work with Storage Locations
Position to . . . . . .
Starting characters
Location
TSMSERVER
*HOME
VAULT
RCHAS400
Volumes
4=Remove
5=Display
Containers Text
97
0
1
0
Bottom
F3=Exit
F5=Refresh
F12=Cancel
F3=Exit
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
TSMSERVER
Name
Computer room, parent location.
Jennie Doe
.0
Hours
*NO
*YES, *NO
*NO
*YES, *NO
TSM server location
F12=Cancel
c. Use the address fields on this display to document the location of the TSM
server. You can use the contact information fields to identify the TSM
administrator and other important contacts.
Chapter 12. Setting Up BRMS as a TSM Client
185
d. Use the default values in the Allow volumes to expire and the Media slotting
fields.
e. In the Text field, type a description for this TSM location.
f. Press Enter to save the location information.
4. Create a media policy
A media policy for TSM servers is important because BRMS, rather than TSM,
manages the retention and expiration of data that is stored on TSM servers.
Take the following steps to create a media policy for your TSM server:
a. At the Work with Media Policies display, type a 1 in the Opt column.
b. Type a policy name in the Policy column.
c. Press Enter to prompt the Create Media Policy display.
Create Media Policy
Type choices, press Enter.
Media policy . . . . . . . . . . . TSM
Retention type . . . . . . . . . . 2
Retain media . . . . . .
Move policy . . . . . . .
Media class . . . . . . .
Storage location . . . . .
Save to save file . . . .
ASP for save files . . .
Save file retention type
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
F5=Refresh
Name
1=Date, 2=Days,
3=Versions, 4=Permanent
35
Date, Number
*ADSM
Name, *NONE, *ADSM, F4
*ADSM
Name, *SYSPCY, *ADSM, F4
TSMSERVER
Name, *ANY, F4 for list
*NO
*YES, *NO
*SYSTEM
Name, *SYSTEM, 1-32
4
1=Date, 2=Days,
3=Permanent, 4=None
*NONE
Date, Number, *NONE
*SYS
*SYS, 1-99
*ADSM
*YES, *NO, *ADSM
TSM media policy.
F12=Cancel
More....
d. In the Media policy field, specify the *ADSM value. This name indicates that
a TSM policy, rather than a BRMS policy, manages media movement.
e. Specify *ADSM in the Media policy field. This indicates that BRMS media
classes will not be associated with TSM devices.
f. Set the Storage location field to the value that you specified in Step 3.
g. Specify *ADSM in the Secure media field. This indicates that a TSM policy,
rather than a BRMS policy, secures your data.
186
F3=Exit
F5=Refresh
*NONE
*NO
*NONE, 1-9999
*NO, *YES
Bottom
F12=Cancel
h. In the Text field, type in a description for this TSM policy. Then page down
to the next Create Media Policy display.
i. Use the default value of *NONE in the Required volumes field, and *NO for
the Mark Volumes for Duplication field. The TSM policy, rather than the BRMS
policy, manages these activities.
j. Press Enter to review the additional fields:
Create Media Policy
Type choices, press Enter.
Required volumes . . . . . .
Mark volumes for duplication
TSM management class . . . .
TSM security:
TSM node . . . . . . . .
TSM password . . . . . .
F3=Exit
F5=Refresh
. . .
. . .
. . .
*NONE
*NO
AS400
. . .
. . .
APPN.RCHAS400
*NONE
Name, *NONE
F12=Cancel
*NONE, 1-9999
*NO, *YES
Bottom
k. In the TSM management class field, specify the AS400 management class
name provided by your TSM administrator. Use the default value of
STANDARD if you did not receive a management class name from the
administrator.
l. The TSM security parameter has two elements, TSM node and TSM password.
Specify the node name and password that identifies this system to the TSM
server. Use the *NONE value in the TSM password field only if the TSM
server does not require authentication of client operations.
m. Press Enter to create the media policy.
5. Create a TSM device
You can create a TSM device at the Work with Devices (WRKDEVBRM) display.
To get there, type WRKDEVBRM at a command line and press Enter. At the
Work with Devices display, take the following steps:
a. Type a 1 in the Opt field.
Chapter 12. Setting Up BRMS as a TSM Client
187
RCHAS400
Starting characters
5=Display
Opt
Device
TAPMLBBRM
TSMSERVER
*TAPMLB
*NET
3575/018
More...
F3=Exit
F5=Refresh
F12=Cancel
d. Press Enter to get to the next display. The title of the next display that you
see depends on which category you chose at the Work with Devices display.
For example, if you chose *NET, you will see the Add Net Device display.
Add Net Device
Net device
. . . . . . . . . . . :
TSMSERVER
. . . . . . . . . . . . . . .
Location
. . . . . . . . . . . . .
. . . . . . . . . .
Buffer size . . . . . . . . . . . .
Internet address . . . . . . . . .
Internet port . . . . . . . . . . .
F3=Exit
188
F4=Prompt
F12=Cancel
TSM Server
TSMSERVER
*LCL
*DEVTYPE
*DEVTYPE, 1-512 KB
123.345.567.890
1500
1-65534
F3=Exit
F4=Prompt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*NONE
*BKUPCY
*BKUPCY
*BKUPCY
*BKUPCY
F12=Cancel
d. Change the full and incremental media policy fields to reflect the name of
the TSM media policy you created in Step 4. You can use F4 from the media
policy fields to select from a list of media policies.
e. Change the Backup devices field to reflect the name of the TSM device you
created in step 5. Press F4 from the Backup devices field to select from a list
of devices. You can specify only one TSM device on this display.
f. Roll to the next page of this display and change the value Automatically
backup media information field to *NONE. This prevents BRMS from storing
the media information on the TSM server when the save of this control
group completes. BRMS will need this information to print a recovery report
that refers to TSM. For this reason, you need to issue a SAVMEDIBRM
command after the save to the TSM server.
g. Press Enter when you have finished with the control group updates.
189
You are now ready to perform saves to a TSM server while using this control
group. You can use the locations, media policies, and devices you just created with
other backup or archive control groups.
190
Container classes
Move policies
Storage locations
Network groups
Duplication references
191
In Figure 12, the Q1ABRMNET subsystem starts on all of the iSeries systems that
participate in the network. BRMS establishes this shared subsystem relationship
when you set up the network. BRMS stores job and subsystem descriptions, and
information on the job queue it used during network processing, in the QBRM
library.
To update data across a network, BRMS performs the following steps:
v BRMS journals the files that contain the shared resource information. These files
are QA1AMM for the media, and QA1A1RMT for the systems in the network
group. When SYSTEM01 updates media, a policy, or any shared resources, an
entry is logged in the QJ1ACM journal in the QUSRBRM library. BRMS captures
both before images and after images in the journal receiver for any changes that
relate to the media inventory on the networked systems. However, BRMS uses
only the after images to update the shared media inventory.
v The Q1ABRMNET subsystem then begins an autostart job that is called
QBRMNET. This job periodically monitors the QJ1ACM journal entries and
performs the following tasks:
Adds one record to the QA1ANET file for each change on each system.
Adds records to the QA1A2NET file for each file and system change that is
reflected in QA1ANET.
192
In this example, the network group consists of three systems. If you make
updates to SYSTEM01, the Q1ACNET program creates two entries in the
QA1ANET file. These entries instruct BRMS to send the updates to the
remaining two systems.
At regular intervals, the QBRMNET job in subsystem Q1ABRMNET checks to
see if BRMS should transfer any activity to other systems in the network. You
can change the interval value that BRMS uses to synchronize media
information at the Shared inventory delay parameter in the system policy. You
can set intervals between 30 and 9999 seconds.
v When there is data in file QA1ANET, the QBRMNET job submits the
QBRMSYNC job through the Q1ABRMNET job queue.
BRMS uses QA1A2NET as a key, and reads records from file QA1ANET. BRMS
establishes a distributed data management (DDM) link with the remote system
to update the corresponding file on the remote system.
Before performing the update, BRMS compares the date and time stamp of the
target record you want to update with the date and time stamp of the source
record. BRMS does not perform the update if the source record has the older
time stamp.
v Once this update completes, QBRMSYNC deletes the record from QA1ANET file
and continues with the next message. The QBRMSYNC job ends when the
QA1ANET file is empty.
To see if your network is working properly, display the QA1ANET file. When the
network is running properly, the number of records in QA1ANET file should be
none or decreasing. If the Q1A1ANET file contains any records or does not show a
decrease, there may be a problem with the network. In that case, check the
QSYSOPR message queue on all of the networked systems. You also need to
ensure that:
v Subsystem Q1ABRMNET starts properly.
v Job queue Q1ABRMNET releases properly.
v You vary on the APPC controllers.
v QBRMS user profile is not in a *DISABLED state.
Note: When performing network synchronization tasks, BRMS always attempts to
go through the Q1ABRMNET subsystem first. This subsystem contains a
default communications entry that uses the QBRM mode. You should not
create your own subsystem descriptions for synchronizing the BRMS
network.
193
In addition, with APPN, and auto configuration enabled, you do not need to
manually recreate the APPC controller and APPC device descriptions if you decide
to change your system name or your network identifier. You can simply vary off
and delete the old controller and device descriptions, and allow APPN to
automatically create the definitions for you.
If you use APPC communications, you need to create your own APPC controllers
and devices. You must ensure that you specify correct remote system information
when creating the controller description. For example, the Remote network
identifier, Remote Control point, and Remote System Name values relate to the
remote system. You must use the QBRM mode for the Mode parameter on the
APPC device description. The default for this value is *NETATR, which might use
the BLANK mode description.
If you use advanced program-to-program communications (APPC), you also need
to change your APPC controller device descriptions if you change the name of
your network or the local location name. You must do this because you cannot
delete and allow the system to automatically create your definitions, as you can in
APPN.
194
SYSTEM01
Status
c. Press Enter. BRMS searches the network for the system name that you
specified. Depending on the network configuration and the number of
systems in the network, this can take a few minutes. When BRMS finds the
system name (in our example, SYSTEM02), BRMS adds it to *MEDINV (the
BRMS network group name). SYSTEM02 is still an inactive member of the
network group and does not share its media files with other active systems
in the network. To change the inactive status to active, media files must be
copied to the system being added to the network group. The process to
copy media files and media content information occurs in Step 10.
8. On SYSTEM02, use the Work with Media (WRKMEDBRM) command to see if
any media information exists. If media information does not exist, go to step
9. Because BRMS is fully operational, media information exists on SYSTEM02.
Perform the following steps to copy media information from one file to
another:
a. Use the CPYMEDIBRM OPTION(*TOFILE) (Copy Media Information to
file) command to copy the contents of the media inventory file. You can
copy the information to a temporary file (QA1AMED) or to a file name
you create. BRMS creates this temporary file in your Current Library. You
can also copy media information from the Copy media information
parameter on the Copy Media Information display. Use the default value
of *NO unless you plan to restore media information to a non-networked
system.
Notes:
a. You do not have to perform step 8 if the system you want to add to the
network does not contain media information.
b. The CPYMEDIBRMcommand copys the files for the following: media class,
locations, media policy, containers, container classes, move policies, move
policy rules, media, and possibly history.
195
c. If you put the *FROMFILE value in the Type of copy field, BRMS changes
the system name for media and history records to the new system name.
The *TOFILE value copies the media and history records that are on the
current system.
9. You can now synchronize SYSTEM01 with SYSTEM02. Enter the INZBRM
OPTION(*NETSYS) FROMSYS(SYSTEM01) command from SYSTEM02. BRMS
clears the media management files on the inactive system (SYSTEM02) during
the copy process and replaces them with the network media management
files. BRMS sends a message when it overwrites the SYSTEM02 files with files
that come from SYSTEM01.
Display Program Messages
Job 047122/A960103D/QPADEV0001 started on 05/31/99 at 09:15:55 in subsystem:
Entries exist for Media. (R I C)
Entries exist for Media policy. (R I C)
Entries exist for Media class. (R I C)
Entries exist for Location. (R I C)
Entries exist for Move policy. (R I C)
F12=Cancel
BRMS copies the following media management files to the inactive system:
v QA1AMM: Media inventory
v
v
v
v
v
v
v
v
v
v
If you specify *LIB in the Receive media information field on the Change
Network Group display, BRMS synchronizes media content information with
the system you want to add. After BRMS copies the network media
management files to the inactive system (SYSTEM02), the status of the inactive
system changes to active. Then its media files become network media files.
On SYSTEM02, select the option to ignore all of the messages by replying with
an I. These messages indicate that you are about to overwrite files on
SYSTEM02.
196
Note: You need to ensure that the QBRM and QUSR user profiles are not in a
*DISABLED state. Communication entries in subsystem Q1ABRMNET
use the QBRM user profile, and if it is disabled, you cannot establish a
DDM connection.
After you add the new system to the network the Status for SYSTEM01 shows
active status. Because this example uses only two systems, you can only see
the status for system you are currently adding, in this case SYSTEM01. This
display does not show an entry for the system you are on.
Change Network Group
SYSTEM02
4=Remove
8=Set time
Remote
Receive
System
Network ID Media Info
________ ______________
SYS01
APPN
*NONE
Status
Active
SYSTEM01
Opt Subsystem
__ QBATCH
__ QCMN
__ QCTL
__ QINTER
__ QSERVER
__ QSNADS
__ QSPL
__ QSYSWRK
__ Q1ABRMNET
Total
Storage (K)
0
0
0
0
64000
0
0
0
0
1
2
2
2
2
2
2
2
2
2
-----------Subsystem Pools-----------2 3 4 5 6 7 8 9 10
4
5
3
10. On SYSTEM02, check the system value QDATE and make corrections as
needed.
11. On SYSTEM01, check the system value QDATE and make corrections as
needed.
12. Go to SYSTEM02. Now you can merge the media inventory data that BRMS
saved prior to adding the system to the network under Step 9. Enter the
following command on SYSTEM02: CPYMEDIBRM OPTION(*FROMFILE).
Note: You must perform this step if the old system contained BRMS media
inventory.
197
BRMS ignores media information that is inconsistent with the new network
level media information. BRMS adds all entries except duplicates to the
network media inventory. If duplicate media contains active files, you must
keep track of the information. If the media does not contain active files, you
should re-initialize the tape with a new volume ID.
Note: When you copy the media inventory from the temporary file
(QA1AMED or a file name you created), review the common classes for
inconsistencies. For example, the media class SAVSYS on one system
might use a media density of *QIC120, while the same media class on
another system uses *FMT3490E. All media density now belongs to the
network class SAVSYS.
13. Enter the WRKMEDBRM command on SYSTEM02. There you can see the
media inventory for SYSTEM01 and SYSTEM02.
14. Enter the WRKMEDBRM command on SYSTEM01. There you can see the
media inventory for SYSTEM02 and SYSTEM01.
198
NEWSYS APPN
NEWSYS
OLDSYS
F3=Exit
F5=Refresh
APPN
APPN
*NONE
*NONE
Status
ACTIVE
ACTIVE
F12=Cancel
5. Select option 4 (Remove) to remove the old name. Press Enter to confirm the
name you want to remove.
6. On the Confirm Remove of Network Systems display, specify *RENAME on the
Remove media field so that BRMS can transfer ownership of the media inventory
from the old system to the new one.
199
RCHAS400
SYSTEM04
ITSCNET
Receive
Media Info
*LIB
Status
Inactive
F3=Exit
F5=Refresh
F12=Cancel
System SYSTEM04 network group ITSCNET added.
3. Change the value in the Receive media information field to *LIB. The default
value for this field is *NONE, which indicates that BRMS can share only media
information with this system. Thus, to review the contents of a volume
belonging to another system on this system, BRMS must use DDM to retrieve
the information. In this case, then, BRMS must have an active communications
link to DDM.
The system does not require DDM to retrieve this information if you use the
*LIB option. To do so, select option 13 (Display contents) from the Work with
Media display. Option 13 takes you to the Work with Media Information
display. If a failure occurs, you can use synchronized media information to
build a recovery report for the failed system. You can use this local database to
recover objects that belong to another system.
4. Press Enter to apply your changes.
You can change the Receive media information field at any time. The synchronization
process may take longer if your network contains a large number of media
information records. Therefore, you should not change the Receive media information
field frequently.
If you want to add a previously networked system that still contains media
information, ensure that you do not move media files from the old system to an
existing one. Specifically, do not run the INZBRM *NETSYS command on the
existing system when you add the old system to the network. Instead, run the
INZBRM *NETSYS command on the new system to the existing system by using
the FROMSYS parameter.
Note: If you share a 3494 tape library device with multiple iSeries servers in a
BRMS network, you must use identical library names throughout the
network systems.
Once the network is operational, you should regularly verify that it is working
properly. For more information about how to verify your network, see Verifying
the BRMS Network on page 203.
200
Figure 14 on page 202 shows the correct way to join two networks. In this example,
the administrator set up a network between SYSTEM01 (NETWORK2) to
SYSTEMA (NETWORK1). By using this approach, SYSTEM02 remains unknown to
all of the systems in NETWORK1. The INZBRM OPTION(*NETSYS) command that
you ran on SYSTEM01 erased its knowledge of SYSTEM02. To avoid this, you must
split one of the networks before joining them so that all of the systems in the
network have knowledge of each other.
201
202
value when you copy a control group, which means that BRMS copies the control
group to another name on your local system. You can also specify a remote system
name and the network identifier for the remote system. This copies the control
group to the target system that you specified. BRMS uses DDM to copy the
information across to the QA1ACM file. Though this is a useful option, you should
keep the following limitations in mind:
v BRMS copies control group attributes across to the target system. These
attributes revert to the system defaults. However, BRMS does not copy the
subsystems and job queues as part of the control group if you issue the copy
command from a V3R7 or newer BRMS system. This support is not available on
releases prior to V3R7.
v Though you can copy entries in the control group across systems, you cannot
copy backup lists. If the entry in the control group is a list, you must manually
create the backup list on the target system for the control group to work
successfully. Use the WRKLBRM command to create any missing backup lists.
v If your control group has data inappropriate for the new system (for example,
an unknown library), BRMS does not issue a warning message at the time of the
copy. If the target system does not support a backup item, you need to remove
them. In such cases, you need to edit the control group to make the appropriate
changes.
v BRMS does not copy the control group text across the system. You must
manually add the text on the target system.
Because of these limitations, you should review the control group after the copy to
ensure that BRMS copied it correctly. You may need to tailor the values to fit the
operational requirements for that particular system.
203
Starting characters
Expired
*YES
*YES
*YES
*YES
SYSTEM01
5=Display
8=Move
10=Reinitialize ...
Creation Expiration
Date
Date
Location
xx/xx/xx *NONE
xxxxxxxx
xx/xx/xx *NONE
xxxxxxxx
07/06/99 *NONE
*HOME
07/06/99 *NONE
*HOME
07/06/99 *NONE
*HOME
07/06/99 *NONE
*HOME
xx/xx/xx *NONE
xxxxxxxx
Move
Date
xx/xx/xx
xx/xx/xx
*NONE
*NONE
*NONE
*NONE
xx/xx/xx
Media
Class
xxxxxxx
xxxxxxx
NETCHK
NETCHK
NETCHK
NETCHK
xxxxxxx
Dup
Sts
Press F11 to view the owning system. Reviewing the following display, you might
conclude that SYSTEM01 did not receive the SYSTEM04 media update.
Work with Media
Position to . . . . . .
Starting characters
5=Display
8=Move
10=Reinitialize ...
Creation Expiration
Expired Date
Date
Location
*YES
*YES
*YES
*YES
07/06/99
07/06/99
07/06/99
07/04/99
SYSTEM01
*NONE
*NONE
*NONE
*NONE
*HOME
*HOME
*HOME
*HOME
Move
Date
*NONE
*NONE
*NONE
*NONE
Media
Class
Dup
Sts
NETCHK
NETCHK
NETCHK
NETCHK
204
QAPPNRMT
*APPNRMT
Locations-------------------Remote
Control
Control Point
Secure
Point
Net ID
Loc
SYSTEM01 APPN
*YES
SYSTEM06 APPN
*YES
SYSTEM07 APPN
*YES
If you are using a non-secured network, you need to ensure that the QBRMS,
QUSER, and QPGMR user profiles are enabled.
If you are using a secured APPN network, you need to configure the system you
want to add as a secured location.
SYSTEM02
System
SYSTEM03
SYSTEM04
SYSTEM05
Remote
Network ID
ITSCNET
ITSCNET
ITSCNET
Receive
Media Info
*NONE
*NONE
*NONE
Status
Active
Active
Active
205
SYSTEM02
System
SYSTEM01
SYSTEM02
Remote
Network ID
ITSCNET
ITSCNET
Receive
Media Inf
*NONE
*NONE
Status
Active
Active
3. Delete the system name that you are removing from the other systems that
remain in the network from the Change Network Group display. Type an
option 4 (Remove) next to the systems remaining in the network and press
Enter. At the Confirm Remove of Network Systems display, select *YES at the
Remove media field and press Enter. The system should now be completely free
of the network.
206
BRMS supports an online backup of Lotus servers (ie., Domino and QuickPlace).
Online backup implies that Lotus Server databases on the iSeries server can be
saved while they are in use with no save while active synchronization points. This
is true online backup support.
|
|
You can direct your online backups to a tape device, media library, save files, or a
TSM server.
|
|
|
|
|
It is important that you do not replace your complete system backup with only Lotus
Server online backups. Lotus Server online backups only backup the Lotus server databases.
There are are other important Lotus server data objects including libraries and files in the
Lotus server IFS directories, and other non-Lotus server system data that should be backed
up on some regular basis (ie. QUSRSYS, QGPL, etc).
|
|
|
|
|
|
Online backup of a Lotus servers consist of two files, the databases and the
transaction logs which contain the changes to the databases while they were being
backed up. These files must be bound together during the backup in order to
properly restore the databases in the event of a recovery.
|
|
|
|
|
|
Lotus Server backups use a BRMS concept called a package to bind the backup of
the databases to the associated transaction logs. When the online backup is run, the
Lotus Server uses the PKGID parameter on the SAVBRM command to specify the
package association between the databases and the transaction logs. At the time of
backup, the Lotus Server also uses the RCYEXITPGM parameter to specify a Lotus
Server exit program which BRMS calls whenever the package is recovered.
|
|
|
|
When a user requests BRMS to recover a Lotus Server database that was saved as
a package, BRMS restores the entire package - the database files and the
transaction logs. Then BRMS calls the Lotus Server exit program which in turn
applies the transaction log changes to the restored databases.
|
|
|
|
|
|
Work with media information (WRKMEDIBRM) will hide all but the initial element
in packages. The number of elements in the package is displayed immediately to
the right of the Saved Items name on the Work with Media Information display. In the
case of Lotus Server online backups, this value is 2. Recovery reports for online
Lotus Server backups show both elements of a package for a saved item because
the databases may be on a different volume than the transaction logs.
|
|
|
|
|
|
BRMS will automatically configure the control groups and media policies you need
to perform online backup of the Lotus Server databases. The Lotus Notes server
databases backed up by these control groups are files that have extensions of .ns*
and.nt*.
|
|
|
BRMS also creates a backup link list named QLTSEXCL which should be used to
exclude the Lotus Server databases when performing your periodic full system
backups. To use this link list, replace the *LINK backup item entry from control
Copyright IBM Corp. 1998, 2001
207
|
|
group you use for the full system save with the QLTSEXCL link list entry. Your
Lotus Servers must be ended when performing these full system backups.
|
|
|
|
|
The following table list the BRMS objects which are automatically created for you
by BRMS. These objects along with your BRMS system and backup policies
determine whether your backup will be directed to a device, a save file, or a TSM
server. These BRMS objects will automatically be updated to included new Lotus
Servers when you run the STRMNTBRM or INZBRM *DATA commands.
||
Name
Object type
Description
|
|
QLTSSVR
Control group
|
|
QLTSDOMnn
Control group
|
|
QLTSQPLnn
Control group
|
|
QLTSSVR
Media policy
|
|
|
|
QLTSEXCL
|
|
|
|
Attention: Backing up your Lotus Servers should not replace your regular complete
system backups.
|
|
|
The Domino and QuickPlace Lotus Servers provide commands (SAVDOMBRM and
SAVLQPBRM) which are used by BRMS to back up your Lotus servers while
online.
|
|
|
|
BRMS initialization has created the required setup to enable you to perform online
backups of Lotus Servers using the Lotus Server backup commands. A control
group named QLTSSVR has been created for you that when used, will result in
you backing up all the Lotus Server databases on your system.
The following steps must be performed before you can back up your Lotus servers.
|
|
|
|
|
During the installation process, BRMS chooses a default device based on the fastest
and most automated tape drive that is attached to your system. BRMS also creates
media classes based upon the density/formats supported by the devices attached
to your system.
|
|
|
Adding media to a BRMS media class allows the use, tracking, and protection of
active data on the media by BRMS. You should add media to the media class.
|
|
208
|
|
Once media is added to a media class of available media, BRMS will drive backup
operations and use this media, asking you to load tapes as necessary.
|
|
|
|
|
|
|
|
|
|
To add media, refer to either Enrolling Media into BRMS for use by a
Stand-Alone Tape Device on page 17 or Enrolling Media into BRMS for use by a
Media Library on page 17. If you are unsure of what kind of device you have, a
media library would be an enclosed unit holding multiple media cartridges that
allows access to media cartridges using a robotic loader.
|
|
To start the online backup of your Lotus server, enter the following command after
loading the media into the devices:
|
|
|
Note: The control group (CTLGRP) QLTSSVR specified in the command is the
name of the control group that was created for you by BRMS to backup all
your Lotus Servers.
|
|
|
|
|
During the backup processing, you may encounter certain messages that require
user intervention such as loading a tape. A message at the bottom of the screen
may appear indicating that a message has been sent to the system operator for a
reply. Pressing the F1 key allows you to see more information on how to handle
the message.
|
|
|
The processing time of the backup will depend on system processor size, device
capabilities, amount of data being saved, and activity associated with your Lotus
Server.
|
|
After completion of the backup, review the job log to ensure that the backup
completed successfully. To display the job log, enter the following command:
DSPJOBLOG
|
|
On the display, press function key F10 and page up to see the details of any
messages logged during backup processing.
|
|
|
|
Note: BRMS catalogs the save information and will automatically back up this
information at the end of the save processing for the Lotus Server data. This
data is saved because it is necessary for BRMS to successfully recovery the
data.
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: The Work with Media Information (WRKMEDIBRM) command can also be
used from any command line to get the same view. This command also
supports many filtering options you can use to limit the amount of entries
on the display.
|
|
|
|
|
BRMS helps you plan for a complete recovery of your system by allowing you to
print a complete disaster recovery plan which automatically includes any Lotus
Server backups you performed.
|
|
|
|
You should use BRMS to backup the remainder of your system on a regular basis.
Refer to Chapter 3. Backing Up Your Entire System on page 15, Printing Your
Recovery Reports on page 19, and Chapter 4. Recovering Your Entire System on
page 21 .
|
|
|
|
|
Use the RSTBRM command to recover a specific Lotus Server database. For
example, to restore a Lotus Server database called names from device TAP01, you
would enter the following command:
|
|
|
Note: You do not need to specify the media identifier on RSTBRM because BRMS
knows what media contains the most current version of the data and will
ask a system operator if the media is not currently loaded in TAP01.
|
|
After the recovery completes, review the job log to ensure that the recovery was
successful. To display the job log, enter the following command:
DSPJOBLOG
|
|
On the display, press F10 and page up to see the details of any messages that were
logged during recovery processing.
|
|
Note: Multiple objects are associated with online backup of a Lotus Server
database. Therefore, multiple messages are typical during recovery.
|
|
Restrictions
v A media policy retention type of VERSIONS is not supported.
210
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Recommendations
v Do complete system backups routinely (once per week at the very least).
v Do not attempt to use the SAVDOMBRM or SAVLQPBRM commands outside of
a control group. These commands should only be used with *EXIT entries within
a BRMS control group.
Limitations
v No incremental support exists for Lotus Server online backup.
v Lotus Servers use subsystem descriptions. These subsystem descriptions must
exist on the system prior to recovering the Lotus Servers.
|
|
|
|
|
|
|
|
|
|
|
|
|
As you increase the number of databases in a group, your Lotus Server is backed
up more quickly. However, all databases in the group will be journaled during the
backup with the changes backed up separately. Because all the databases in the
group are journaled until all databases in the group are backed up, the time during
which changes to the databases can occur is increased and the size of the changes
backed up will increase. When the databases are recovered, the changes to the
database that occurred during the backup will be re-applied. This process takes
longer as the number of changes increases.
|
|
|
|
If your server is being backed up during heavy server usage, you will want to
keep this group value relatively small (3 to 7), so that fewer changes occur to the
database during backup operation. As a result, recovery of the database can occur
in a reasonable amount of time.
211
|
|
|
If your server is being backed up during off hours when server use is low, you can
set the group value higher (10 to 20 or even higher) to speed up the backup
operation, while keeping the recovery time reasonable.
|
|
|
|
|
|
|
|
The control groups that are created by BRMS for online backup on Lotus Servers
include one or more *EXIT entries which contain either a SAVDOMBRM or
SAVLQPBRM command. The control group (CTLGRP) parameter on these
commands needs to be changed if one of these control groups is copied to another
control group. The value for the CTLGRP parameter must contain the same name
as the control group it is contained in.
|
|
Failure to change the CTLGRP parameter will result in an exception when the
control group is run.
|
|
|
|
|
|
|
|
If the last entry in a control group is an *EXIT, it is processed after any subsystem
or job queue processing following the end of the saves. This is referred to as the
post-processing exit.
|
|
|
|
|
|
Because SAVDOMBRM and SAVLQPBRM commands use *EXIT entries, the BRMS
control groups supplied for Lotus server backups contain an empty pre-processing
*EXIT and empty post-processing *EXIT to ensure that the Lotus server *EXITs
occur in the correct order relative to any pre-processing and post-processing. You
can change the pre-processing and post-processing *EXIT if you need to perform
some operation around the Lotus Server backups.
|
|
|
|
||
212
*EXIT
*EXIT SAVDOMBRM SERVER(DOM1) CTLGRP(QLTSSVR)
*EXIT SAVLQPBRM SERVER(DOM2) CTLGRP(QLTSSVR)
*EXIT
This chapter describes the methods that you can use with BRMS to use devices
such as a 3494 Automated Tape Library Dataserver or a Magstar MP 3570 Tape
Library. BRMS refers to this class of automated tape libraries as media libraries.
|
|
|
|
|
|
|
If you were using BRMS before installing a media library, you need to make a few
adjustments. If you use BRMS to manage and control daily operations, you will
not notice many changes when you begin to use a media library. Once the media
library is set up and the media is appropriately enrolled, BRMS assumes control of
the media library. You do not need to alter your BRMS control groups, scheduling,
or reporting. As part of your initial setup, you may need to adjust the following:
|
|
|
v
v
v
v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
v Locations
Devices
Move policies
Media policies
Control group attributes
You should review your backup and archive strategy, when using a media library.
For example you may want to:
v Alter the size of backup groups
v
v
v
v
213
OS/400 for the other media library devices. From the iSeries, you can view this
information by using the Work with Media Library BRM (WRKMLBBRM)
command. This command lists all media library devices on your system that are
enrolled in BRMS. If you select option 8 (Work with MLB Media), the status of the
volumes that are currently in the media library are displayed as shown below. The
WRKMLMBRM command can also be used to go directly to this display. When
setting up a media library for the first time, the Media Class is *NONE because the
volume is not enrolled in BRMS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Volume
BCD161
BCD164
BCD165
BCD166
BCD167
BCD168
BCD170
BCD173
RCHAS400
Starting characters
5=Initialize
9=Demount
---BRM Information--Category
Media Class Expired Status
*SHARE400 CART3490E
*YES
Available
*SHARE400 *NONE
Available
*SHARE400 CART3490E
*YES
Available
*SHARE400 *NONE
Available
*SHARE400 *NONE
Available
*SHARE400 *NONE
Available
*INSERT
*NONE
Available
*INSERT
*NONE
Available
More...
Other options from this display; including mount, demount, and eject; can be used
to manipulate the volumes within a media library. BRMS communicates changes in
its media inventory to be reflected in the media library media inventory. For
example, when you change the shared media attribute of a media class, BRMS runs
the CHGTAPCTG command to change the category of all volumes of that media
class in the media library.
|
|
|
|
|
|
From the Work with Media Libraries display (WRKMLMBRM) command, select
option 11 (Add MLB media) against the media library device that is attached to
your system. The ADDMLMBRM prompt display as shown below.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
You can enroll all newly-inserted volumes into the BRMS media inventory. If you
use the default value for the VOL parameter (*INSERT) and change the Add
volume to BRM field to *YES, all volumes that were previously in the *INSERT
category (from the Work with MLB Media display) are enrolled into the BRMS
media inventory and are available for use.
|
|
|
|
|
214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215
I/O area. If the volume is off-site, the operator can cancel the restore operation
from this message. Once the volume is in either the convenience or high-capacity
I/O areas, the media library places it in a storage cell, and BRMS mounts it in the
drive to complete the restore operation.
|
|
|
|
|
|
Ensure that your media library device is in stand-alone mode before starting
STEP: Recover Licensed Internal Code during BRMS System Recovery. See the
documentation on your device to learn how to properly change the mode for your
media library device.
|
|
|
|
|
|
|
|
|
When the restricted state portion of the recovery is complete, tape automation can
be used when the following conditions are met:
v The 3494 device and communication configurations are restored or re-created.
v The media library configuration data has been restored or re-created.
|
|
|
|
|
|
|
|
|
|
|
|
When you use tape automation with BRMS, this opens more opportunities for
archiving. Full tape automation allows archiving to be performed quickly and
effortlessly while appearing seamless in its operation. The introduction of dynamic
retrieval further enhances archiving potential.
|
|
Consult the OS/400 Hierarchical Storage Management book, for more information
about archive, dynamic retrieval, and other storage management features of BRMS.
|
|
|
|
|
|
|
To provide the most acceptable recall performance, you must minimize the tape
location and the load delays. You will probably keep a large portion of your
archived data within the tape automation. This uses a large amount of capacity.
When establishing a move policy, you should consider the following:
v How often will you access your data?
v How long will you need to have access to your data?
|
|
|
|
|
For example, you might access a monthly report only up until the time that the
next months report is created. You might have other information that you need to
access at all times yet access only occasionally. Your move policy will be based on
the needs of your business. If you adjust the movement delay periods, this changes
the population levels of the media library.
To further improve your archive and retrieval performance, use the dynamic
retrieval function within BRMS. This function allows on-demand retrieval of the
file members that have been archived and now need to be accessed again.
|
|
|
216
|
|
|
|
To accomplish this, change your archive control group such that the archiving
requested keeps the object descriptions. This is known as save with storage free. To
do this, change the retain object description parameter on either the archive
control-group options or the archive policy to *YES.
|
|
|
|
You must set up your BRMS retrieval policy with the appropriate retrieval modes
(*VERIFY, *NOTIFY, *DELAY or *SBMJOB), preferred devices, restore options, and
authorities. The OS/400 Hierarchical Storage Management book contains more
information on these modes.
|
|
|
|
|
|
When BRMS operations such as Add media or Confirm move required media to be
moved to or from a media library, BRMS prompts operators as needed. It instructs
them to place media into, or remove media from the media library and then uses
CL commands to verify that the operation is successful.
|
|
|
|
|
|
For devices such as 3494 Media Library Dataserver, a move policy or manual move
of media causes the library manager to eject the tape into the convenience I/O
station or the high-capacity I/O area. Additional prompting and verification is
done when media, ejected from one media library location, are inserted into
another. When a volume is moved into the media library, the library manager
shows that the volume is in *INSERT category.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217
218
This application requires a tape file object to be created such that the program can
address the tape drive. You create this with the CRTTAPF command as follows:
219
> TAPFIL
>
BRMTAPF
*NONE
Name
Name, *CURLIB
Name, *NONE
*NONE
*SL
*SL, *NL, *NS, *BLP, *LTM
1
1-255
1
1-9999, *END, *NEXT
> TAPEFILEXMP
*DATA
*DATA, *SRC
> 'Tape File Example'
Once you create the tape file, you can process the program. However, for
flexibility, you may have noticed that we have not specified a tape device name. So
before you process the program TAPFIL, we need to perform an override of the
tape file with the OVRTAPF command, as follows:
Override with Tape File (OVRTAPF)
Type choices, press Enter.
File being
Overriding
Library
Device . .
Name
Name, *FILE
Name, *LIBL, *CURLIB
Name
Character value, *NONE
*SL, *NL, *NS, *BLP, *LTM
1-255
1-9999, *END, *NEXT
Number, *CALC
1-32767, *CALC
Number, *BLKDSC
*F, *FB, *V, *VB, *D, *DB...
More...
F10=Additional parameters F12=Cancel
F24=More keys
This associates the tape file name to the tape device. Notice that the volume ID
field is not specified.
Next we can call the program, as follows:
CALL BRMTAPF/TAPFIL
220
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*SAME
.
*SAME
.
*SAME
. > REEL
. > TAPEFILE
.> *NO
. . . . . .
. . . . . .
. . . . . .
. . . . . .
duplication
. . . . . .
.
.
.
.
.
.
.> *VERSION
*SAME, *DATE, *DAYS ...
. > 3
*SAME, Date, Number
.
*SAME
Name, *SAME, *NONE...
.
*SAME
Name, *SAME, *NONE, *BKU...
.
*NO
*SAME, *NO, *YES
. > Tape File Example
1-999,
*SAME,
*SAME,
*SAME,
*SAME,
*SAME, *CURRENT
*YES, *NO
*NONE, QIC120...
*NONE, OFFSITE...
*YES, *NO
Volume security
Retention information
File group information
Associated Text
This command works a little like the OVRTAPF. You do not see any output. It
registers the values you enter, and when an application writes to a tape file, these
values are applied to the tape operation.
In this example, TFIL01 was the volume on the tape drive during the processing of
the program.
The result is that a record is added to the media management information that is
recorded with the tape volume, as follows:
221
Starting characters
Expired
RCHAS400
5=Display
8=Move
10=Reinitialize...
Creation Expiration
Date
Date
Location
12/14/95
*VER 003
*HOME
Move
Date
*NONE
Media
Class
Dup
Sts
QIC120
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
TFIL01
REEL
*VER 003
*NONE
0
*HOME
*NONE
*NONE
*NONE
*NONE
TAPEFILE
12/14/95
*NO
TFIL01
21
RCHAS400
Tape File Example
WRKMEDIBRM also shows that some save operations have occurred, as follows:
Work with Media Information
RCHAS400
Position to Date . . . . .
Type options, press Enter.
2=Change 4=Remove 5=Display
9=Work with saved objects
Saved
Opt Item
5 *LABEL
Save Volume
Date
Time
Type Serial
12/14/95 14:59:46 *FILE TFIL01
7=Restore
File Expiration
Seq
Date
1 *VER003
Use option 5 (Display) to see the following screen that presents a record of writing
the data to the tape.
222
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
SAVSPLF
*SAVSPLF
12/14/95
14:59:46
TAP03
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
1
:
0
:
0
:
0
: TAPEFILEXMP
:
:
More...
Due to the nature of the method used to get the data on the tape, option 7 to
restore will not allow you to restore this object. Similarly, there are no saved objects
to work with if you use option 9.
Recovery
As the file on the tape is never intended to be restored to the iSeries server, you
never see the tape file record on a Recovery Analysis Report.
223
FTAPFIL IF F
26
SEQ
FTAPRPT O
F
26
PRINTER
F*******************************************************************
F*
Program: TAPFIL2
F*
Purpose: This program will read the letters of the alphabet
F*
from a file on tape through a tape file. The program
F*
will read the 100 records created with the other
F*
example and dump them to the printer
F*******************************************************************
IALPHA
DS
26
I*******************************************************************
C
DO
100
Loop 100 times
C
READ TAPFIL
ALPHA
99Read alphabet
C
EXCPTALFOUT
Write alphabet
C
END
End of loop
C
SETON
LR
End the program
O*******************************************************************
O* Exception output defining the alphabet to be printed
O*
O*******************************************************************
OTAPRPT E
ALFOUT
O
ALPHA
26
Figure 22. Program to Read Records from Tape and Print
This example also requires a printer file object such that the records are printed.
Use the CRTPRTF command.
The same processing would occur, namely:
1. Use the program above
2. Use the same tape file
3. Issue OVRTAPF to specify the device name as before
4. Issue SETMEDBRM as shown in Figure 23
5. Run the program when you specify:
CALL BRMTAPF/TAPFIL2
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. > TAPEFILEXMP
. > *CURRENT 1-999,
. > *NO
*SAME,
.
*SAME
*SAME,
.
*SAME
*SAME,
.
*SAME
*SAME,
. . . . . .
. . . . . .
. . . . . .
. . . . . .
duplication
. . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
*SAME
*SAME
*SAME
*SAME
*NO
*SAME
*SAME, *CURRENT
*YES, *NO
*NONE, QIC120...
*NONE, OFFSITE...
*YES, *NO
224
BRMS will look for an open of a tape file called TAPFIL, and will prompt the
operator to insert the tape volume corresponding to the most recent version of this
file. If this file were in ASCII format, we could specify that we do not want
OS/400 to convert the record to EBCDIC automatically. Specify Allow conversion
Yes to do this.
tapfil
brmtapf
*NONE
Name
Name, *CURLIB
Name, *NONE
*NONE
*SL
*SL, *NL, *NS, *BLP, *LTM
1
1-255
1
1-9999, *END, *NEXT
tapefilexmp
*DATA
*DATA, *SRC
Tape File Example
F10=Additional parameters
F24=More keys
Bottom
F12=Cancel
225
tapfil2
brmtapf
*NONE
Name
Name, *CURLIB
Name, *NONE
*NONE
*SL
*SL, *NL, *NS, *BLP, *LTM
1
1-255
1
1-9999, *END, *NEXT
tapefilexmp
*DATA
*DATA, *SRC
Tape File Example
F10=Additional parameters
F24=More keys
Bottom
F12=Cancel
226
F5=Refresh
Name
Name, *FILE
Name, *LIBL, *CURLIB
Name
Character value, *NONE
*SL, *NL, *NS, *BLP, *LTM
1-255
1-9999, *END, *NEXT
Number, *CALC
1-32767, *CALC
Number, *BLKDSC
*F, *FB, *V, *VB, *D, *DB...
More...
F12=Cancel F13=How to use this display
Name
Name, *FILE
Name, *LIBL, *CURLIB
Name
Character value, *NONE
*SL, *NL, *NS, *BLP, *LTM
1-255
1-9999, *END, *NEXT
Number, *CALC
1-32767, *CALC
Number, *BLKDSC
*F, *FB, *V, *VB, *D, *DB...
More...
F10=Additional parameters F12=Cancel
F24=More keys
Volume R00009 contains the alphabet that is written 100 times by the previous
example. T00009 is an expired tape of the media class we want to use.
227
Starting characters
Expired
RCHAS400
5=Display
8=Move
10=Reinitialize...
Creation Expiration
Date
Date
Location
5/31/95
5/31/95
5/31/95
8/01/95
7/04/95
7/04/95
7/04/95
8/01/95
*YES
*YES
*YES
*PERM
*PERM
*PERM
8/06/95
*NONE
7/04/95
*VER 002
8/01/95
VAULT
*HOME
*HOME
*HOME
*HOME
*HOME
*HOME
*HOME
Move
Date
Media
Class
7/06/95
*NONE
*NONE
*NONE
*NONE
*NONE
7/04/95
*NONE
Dup
Sts
QIC120
NOSHARE
QIC525
QIC120
QIC120
QIC525
QIC525
QIC120
Bottom
F3=Exit
F5=Refresh
F11=Volume statistics
F12=Cancel
F23=More options
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
TAPEFILEXMP
*CURRENT
*YES
REEL
OFFSITE
*NO
. . . . . .
. . . . . .
. . . . . .
. . . . . .
duplication
. . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
*DAYS
30
*NONE
*NONE
*NO
*NONE
F3=Exit F4=Prompt
F24=More keys
228
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F5=Refresh
F12=Cancel
1-999,
*SAME,
*SAME,
*SAME,
*SAME,
*SAME, *CURRENT
*YES, *NO
*NONE, BRMLAB...
*NONE, BRMLAB...
*YES, *NO
Bottom
F13=How to use this display
System:
RCHAS400
User tasks
Office tasks
General system tasks
Files, libraries, and folders
Programming
Communications
Define or change the system
Problem handling
Display a menu
Information Assistant options
Client Access tasks
F9=Retrieve
F12=Cancel
F13=Information Assistant
Results
After you run the program, the BRMS media inventory is updated to reflect that
volume T00009 is now in use with expiration characteristics as specified in the
SETMEDBRM command. (The volume still shows as being in the *HOME location
as media movement has not yet been run.)
Work with Media
Position to . . . . . .
Starting characters
Expired
*YES
*YES
RCHAS400
5=Display
8=Move
10=Reinitialize...
Creation Expiration
Date
Date
Location
5/31/95
5/31/95
5/31/95
8/01/95
7/04/95
7/04/95
7/04/95
8/01/95
*PERM
*PERM
*PERM
8/06/95
*NONE
7/04/95
*VER 002
8/31/95
VAULT
*HOME
*HOME
*HOME
*HOME
*HOME
*HOME
*HOME
Move
Date
Media
Class
7/06/95
*NONE
*NONE
*NONE
*NONE
*NONE
7/04/95
*NONE
Dup
Sts
QIC120
NOSHARE
QIC120
QIC525
QIC525
QIC120
QIC525
*NONE
Bottom
F3=Exit
F5=Refresh
F11=Volume statistics
F12=Cancel
F23=More options
229
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
T00009
REEL
8/31/95
*NONE
0
*HOME
*NONE
*NONE
*NONE
*NONE
OFFSITE
8/01/95
T00009
0
RCHAS400
*NONE
More...
F12=Cancel
Starting characters
Expired
*YES
*YES
RCHAS400
5=Display
8=Move
10=Reinitialize...
Creation Expiration
Date
Date
Location
5/31/95
5/31/95
5/31/95
8/01/95
7/04/95
7/04/95
7/04/95
8/01/95
*PERM
*PERM
*PERM
8/06/95
*NONE
7/04/95
*VER 002
8/31/95
VAULT
*HOME
*HOME
*HOME
*HOME
*HOME
*HOME
*HOME
Move
Date
Media
Class
7/06/95
*NONE
*NONE
*NONE
*NONE
*NONE
7/04/95
*NONE
Dup
Sts
QIC120
NOSHARE
QIC525
QIC525
QIC120
QIC120
QIC525
*NONE
Bottom
F3=Exit
230
F5=Refresh
F11=Volume statistics
F12=Cancel
F23=More options
RCHAS400
Position to Date . . . . .
Type options, press Enter.
2=Change 4=Remove 5=Display
9=Work with saved objects
Saved
Opt Item
5
5
Date
Save
Type
Time
Volume
Serial
7=Restore
File Expiration
Seq
Date
1
1
8/31/95
*VER003
Bottom
F3=Exit
F5=Refresh
F12=Cancel
The save type column in the screen above shows *FILE, being direct tape file I/O,
rather than a normal save, which would show *FULL, *INCR, or *CUM.
Display Media Information
Save command
Saved item .
Save date. .
Save time. .
Device(s) .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
: TAPEFILEXMP
: 8/01/95
: 14:48:24
: TAP03
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
F10=Volume list
.
.
.
.
.
.
.
:
1
:
0
:
0
:
0
: TAPEFILEXMP
:
:
More...
F12=Cancel
231
Messages
No messages are written to the BRMS log when the tape is either written to or
read in this manner.
232
Part 4. Appendixes
233
234
235
236
Note: If you cannot reconcile the information that is provided in the report,
contact level 2 IBM support.
237
v Capacity is measured in the number of media volumes that this container class
can hold.
v The Media class field indicates the name of the media class that can be stored in
this container class. You can have from one to four media classes assigned to a
container class.
238
Severity
Select lowest severity code for messages to be printed
Type
239
v A summary shows the number of active, expired and the total number of
volumes in the inventory.
v The System ID field shows the system which wrote the first file to the tape. Do
not use a tape for active files from more than one system.
240
v The Objects saved field indicates the total number of objects that are saved as a
result of this save operation.
v The Not saved field indicates the number of objects that you were not able to
save. You cannot save objects that are locked at the time the save operation takes
place.
v The Type save field indicates the type of save that was specified for this save
item. For instance:
*INCR indicates that the save was an incremental (save changed objects),
*CUML indicates that the save was an incremental save (cumulative save
changed objects),
*FULL indicates that the save was of the entire library,
*RCY indicates that BRMS was saved when processing a control group,
*ARC indicates that the media information was the result of an archive
operation.
You can sequence the report using the following:
v Save Date
v Library Name
v Volume Serial Number
241
v
v
v
v
*NL indicates that you can use the media as a non-labeled tape.
*CNV indicates that the media is convenience station media.
*SYSGEN indicates that the media is *SYSTGEN media
Category-name indicates that the media is in a user-defined category.
242
media in its media class, you should take it out of service and replace it with a
newer volume. You can review the Usage threshold value in the Work with
Media Classes display.
The following fields are the sizes of the disk files that were written to or read from
tape. You should use these as an approximation as they do not reflect any data
compression or compaction that may have been performed.
v The Bytes read indicates the number of bytes that are read from the volume since
its creation date.
v The Bytes written field indicates the number of bytes that are currently written
on the media volume.
v The Current bytes written field indicates the number of bytes that are currently
written on the media volume.
v The Maximum bytes on volume field indicates the maximum number of bytes that
you have written to this tape.
243
244
245
246
247
248
Input
Char(*)
Dec
Type
Binary(4)
4
5
22
32
36
116
196
276
4
5
16
20
24
74
C4
114
Char(1)
Char(17)
Char(10)
Char(4)
Char(80)
Char(80)
Char(80)
Char(24)
Field
Length of operational
information
Volume operation
Volume label
Device name
Device type
Volume VOL1 label
Volume HDR1 label
Volume HDR2 label
Reserved
249
Field Descriptions
Device name. The name of the device on which the volume is loaded.
Device type. The type of tape device.
Length of operational information. The length of the data in the structure.
Volume HDR1. The header from the standard label.
Volume HDR2. The second header from the standard label volume.
Volume label. The volume label identifier of the volume.
Volume operation. The type of operation being performed on the volume. The values are:
O
Output
An output operation is performed on the volume.
Input
An input operation is performed on the volume.
Input
Char(*)
250
Dec
0
Type
Binary(4)
4
10
18
19
29
35
45
51
61
69
79
89
99
4
0A
12
13
1D
23
29
33
3D
45
4F
59
63
Char(6)
Char(8)
Char(1)
Char(10)
Char(6)
Char(10)
Char(6)
Char(10)
Char(8)
Char(10)
Char(10)
Char(10)
Char(1)
Field
Length of operational
information
Volume ID
Expiration date
Expired indicator
Current location
To slot
Previous location
From slot
Volume next location
Move date/time
Media class
Container ID
Move policy
Move verification
pending
Field Descriptions
Container ID. The identifier of the container if you are using containers to move media. A special value *NONE is
returned if you are not using containers.
Expiration date. The date that the volume expires. The format of the date that is returned is job date format. The
values are:
*NONE
There is no expiration date. The volume is expired.
*VER EXP
The volume is under version control and has expired.
*VER nnn
The volume is under version control.
*PERM
The volume has a permanent retention date.
From slot. The slot from which the volume came.
Length of operational information. The length of the data in the structure.
Media class. The media class of the volume that is being moved. A special value *NONE is returned if a media
class is not found.
Move policy. The move policy associated with the volume that you are moving. A special value *NONE is returned
if you are not using a move policy.
Move verification pending. Indicates whether BRMS marked the volume for movement and based on the move
policy specified above, whether the move must be verified before it can actually occur. The values are:
0
Verification in effect
The volume has not moved yet, verification of moves is in effect and the location shows the current location
of the volume. The next location shows where BRMS intends to move the volume.
Appendix B. Programs and APIs
251
Input
Char(*)
Input
Output
Char(*)
Char(*)
252
Dec
0
Type
Bin(4)
Bin(4)
Bin(4)
12
22
32
42
52
59
65
71
81
85
89
0C
16
20
2A
34
3B
41
47
51
55
59
Char(10)
Char(10)
Char(10)
Char(10)
Char(7)
Char(6)
Char(6)
Char(10)
Char(4)
Bin(4)
Bin(4)
93
5D
Char(2)
95
5F
Char(50)
Field
Length of object
description
information
Length of media
information
Length of control
value information
Object name
Object library
Member name
Object owner
Saved date
Saved time
Saved release
Media class
File sequence
Member size
Member size
multiplier
Auxiliary storage
pool
Member text
Field Descriptions
Length of object description information. The length, in bytes, of the object description information.
Length of media information. The length, in bytes, of the media information.
Length of control value information. The length, in bytes, of the control value information.
253
Dec
0
4
14
24
0
-
Type
Bin(4)
Char(6)
Char(10)
Char(6)
Field
Number of volumes
Volume ID
Volume location
Volume retrieval time
Note: The Volume ID, Volume location and Volume retrieval time fields in the
previous table are repeated based on the number specified in the Number of
volumes field.
Field Descriptions
Number of volumes. The number of volumes required for the object retrieval.
Volume ID. The volume ID or IDs of the volumes required for the object retrieval.
Volume location. The location or locations of the volumes required for the object retrieval.
Volume retrieval time. The length of time in hours to return the volume from an off site storage location to the
home location. Volume retrieval time is expressed in hhhhmm (hours, minutes) format.
254
Dec
0
Type
Char(1)
Field
Return information
Field Descriptions
Return information. The return information for the object that is to be recalled. The values are:
0
*VERIFY
Process the recall as if the exit program were not called.
*NOTIFY
Process the recall immediately and notify the user about the recall.
*DELAY
Mark the object/member to be restored later.
*SBMJOB
Submit the restore to batch.
*NONE
Do not recall the object.
Receiver variable
Length of receiver
Format name
Control value
information
5 Error code
Output
Input
Input
Input
Char(*)
Binary(4)
Char(8)
Char(26)
I/O
Char(*)
The BRMS retrieve media information API lets you retrieve BRMS media
information for a specific volume or select an expired volume.
255
Dec
256
0
6
10
20
0
06
0A
14
Type
Char(6)
Char(4)
Char(10)
Char(13)
33
43
53
60
70
77
21
2B
35
3C
46
4D
Char(10)
Char(10)
Char(7)
Char(10)
Char(7)
Char(1)
78
85
89
95
145
153
161
171
177
187
197
204
214
220
230
4E
55
59
5F
91
99
A1
AB
B1
BB
C5
CC
D6
DC
E6
Char(7)
Char(4)
Char(6)
Char(50)
Char(8)
Char(8)
Char(10)
Char(6)
Char(10)
Char(10)
Char(7)
Char(10)
Char(6)
Char(10)
Char(1)
Field
Volume serial
Secure volume
Media group type
Media group
identification
Media class
Location
Move date
Move policy
Expiration date
Volume expired
indicator
Creation date
Volume sequence
Beginning volume
Volume description
Registered system
System using volume
Job name
Job number
User
Next location
Next move date
Container ID
Slot number
Previous location
Move verification
pending
Field Descriptions
Beginning volume. The first volume of a multi-volume set.
Container ID. The container ID of the container in which the volume is stored, if you are using containers.
Creation date. The date that the most current data was written on the media.
Expiration date. The date that the media expires and can be used as scratch media.
Job name. The name of the job that created the media.
Job number. The number of the job that created the media.
Location. The location where the media is currently stored.
Media group type. A grouping factor assigned by BRMS to handle *GRPnnn moves.
Media group identification. A sub-grouping to bundle like volumes in the same group.
Media class. The media class assigned to the volume.
Move date. The date that the media is scheduled to move.
Move verification pending. Indicates whether BRMS marked the volume for movement and based on the move
policy specified below, whether the move must be verified before it can actually occur. The values are:
0
Verification in effect
The volume has not moved yet, verification of moves is in effect and the location shows the current location
of the volume. The next location shows where BRMS intends to move the volume.
Move policy. The name of the move policy associated with the volume.
Next location. The next location to which the media will move.
Next move date. The date on which the media is scheduled to move next.
Previous location. The location the media moved from to arrive at its current location.
Registered system. The system whose License Manager was used to register the media.
Secure volume. Whether the media requires special authority for read access.
Slot number. The slot number assigned to the media.
System using volume. The system name of the system that last wrote data on the tape.
User. The identification of the user who is assigned to the volume.
Volume expired indicator. Indicates whether or not the volume is expired. The values are:
| Y
Expired
The volume is expired.
| N
Active
The volume is active.
257
Dec
0
6
16
0
06
10
Type
Char(6)
Char(10)
Char(10)
Field
Volume serial
Media class
Location
Field Descriptions
Volume serial. The volume serial ID for the media volume to be retrieved. The values are:
ID
volume-serial-ID
A six character media volume serial.
*EXP
Expired
A special value used to request that a scratch volume be located.
*ACT
Active
A special value used to request that an active volume with space available for write operations be located.
Media class. A media class name that will be used to locate an expired media volume. This value is needed only
when the volume serial of *EXP is specified. The values are:
*ANY
Any media class that is specified can be used to locate an expired volume.
media-class
Specify the media class that is to be used to locate an expired volume.
Location. A location name that will be used to locate an expired media volume. This value is needed only when a
volume serial of *EXP is specified. The values are:
*ANY
Any location that is specified can be used to locate an expired volume.
location-name
Specify the location that is to be used to locate an expired volume.
Error Messages
BRM1147 E Volume not found.
BRM1480 E No media of class &1; available.
CPF24B4 E Severe error while addressing parameter list.
CPF3CF1 E Error code parameter not valid.
CPF3C19 E Error occurred with receiver variable specified.
CPF3C21 E Format name &1; is not valid.
CPF3C24 E Length of receiver variable is not valid.
258
Output
Input
Char(*)
Binary(4)
Input
Input
Char(8)
Char(47)
I/O
Char(*)
The BRMS select device API lets you select a device to allocate or deallocate, or to
select search values such as location and media class to locate and allocate an
available device for BRMS media input or output operations.
259
Dec
0
10
20
0
0A
14
Type
Char(10)
Char(10)
Char(10)
Field
Device name
Location
Media class
Field Descriptions
Device name. The name of the selected device.
Location. The location of the selected device.
Media class. The name of the media class used to select the device that supports the required density.
Dec
0
10
20
30
40
0
0A
14
1E
28
Type
Char(10)
Char(10)
Char(10)
Char(10)
Char(7)
Field
Device name
Media class
Location
Device action
Operation
Field Descriptions
Device name. The name of a valid tape device. A special value of *MEDCLS will instruct the API to locate an
available tape device from the BRMS device information.
Location. A location name that will be used to locate an expired media volume. This value is needed only when a
device special value of *MEDCLS is specified. The values are:
*ANY
Any location can be used to locate an expired volume.
location-name
Specify the name of the location used to locate an expired volume.
Media class. A media class name that will be used to locate an expired media volume. This value is needed only
when a device special value of *MEDCLS is specified.
Device action. Specifies the device action that you want to used for the device. The values are:
*ALCDEV
The device is allocated.
*DLCDEV
The device is not allocated. This choice is not valid for device *MEDCLS.
Note: BRMS shared device support is implied in device selection since *ALCDEV will vary on a shared
device and *DLCDEV will vary it off.
Operation. Specifies the type of device operation. Since input and output densities for a particular device may be
different, the type of device operation will be used to ensure that the device selected for the specified media class is
compatible with the operation being requested. The values are:
260
Error Messages
BRM1877 E Devices with density &3; are not available
BRM1883 E Devices with density &3; are not available
CPF1002 E Cannot allocate device
CPF24B4 E Severe error while addressing parameter list.
CPF3CF1 E Error code parameter not valid.
CPF3C19 E Error occurred with receiver variable specified.
CPF3C21 E Format name &1; is not valid.
CPF3C24 E Length of receiver variable is not valid.
261
262
Index
Special Characters
*BKUGRP control group 15, 93
backing up with 19
*EXIT special value 107
*LNKLIST 139
/QLANSrv
restoring IFS objects to 139
*SAVSYS special value
using 90
*SYSGRP control group 15, 92
backing up with 18
*SYSTEM control group 15, 91
backing up with 18
*USRMLB 48
A
access paths 86
Add Media Information Using BRMS
(ADDMEDIBRM) command 55
Add Media Library Media to BRMS
(ADDMLMBRM) command 56
Add Media to BRMS (ADDMEDBRM)
command 17, 56
adding
devices 43
automatically 43
manually 44
media contents to the history file
from an enrolled volume 55
ADDLICKEY (Add License Key
Information) command 13
ADDMEDBRM (Add Media to BRMS)
command 17, 56
ADDMEDIBRM (Add Media Information
Using BRMS) command 55
ADDMLMBRM 54
ADDMLMBRM (Add Media Library
Media to BRMS) command 56
advanced functions feature
hierarchical storage management
(HSM) 3
HSM (hierarchical storage
management) 3
removing 13
uninstalling 13
and policies 6
APIs 184
appending to media 87
application program interfaces
(APIs) 184
BRMS Object Retrieval Exit
Program 252
BRMS Select Device
(Q1ASLTDEV) 259
Retrieve Media Information 255
Tape Information Exit Program 249
Tape Movement Exit Program 250
Apply Journal Changes (APYJRNCHG)
command 34
applying
program temporary fixes (PTFs) 37
Copyright IBM Corp. 1998, 2001
applying (continued)
PTFs (program temporary fixes) 37
applying journal changes 34
APYJRNCHG (Apply Journal Changes)
command 34
archiving 216
ASP Information Report 235
authorities
*SAVSYS special authority 90
authorization information, recovering 35
auto enroll media 45
automated tape library 25
auxiliary storage pools
security 178
B
backing up
access paths 86
control groups 108
entire system 15
full system
with the *SYSTEM control
group 18
journaled objects 86
libraries 97
Lotus servers 207
media information 86
object level detail 86
resuming 109
retaining object level detail 86
spooled files 34
system data
with the *SYSGRP control
group 18
user data
with the *BKUGRP control
group 19
with the *SYSGRP control group 18
with the *SYSTEM control group 18
with the*BKUGRP control group 19
backup
restrictions for *SAVSYS 90
Backup, Recovery, and Media Services
(BRMS)
advanced functions feature 3
removing 13
uninstalling 13
changing presentation controls 84
customizing the look 84
functional authority 27
functional usage model 175
hardware requirements 11
installation instructions 12
introduction 3
libraries
QGPL 29
QSYS2 29
QUSRBRM 23
QUSRSYS 23, 29
recovering 25, 29
263
backups (continued)
ending subsystems
with *SAVSYS 91
entire system 15
full
retention 61
full system 15, 18
incremental
retention 61
specifying type 85
types 61
Lotus server online 207
media information 78
parallel 117
multiple-library parallel 117
parallel save/restore 117
restrictions 117
setting up 117
when to use 117
performing 18
planning 81
resuming 109
retention
full backups 61
incremental backups 61
scenarios 118
performing a backup across a
network with shared
devices 125
using multiple control groups in a
serial backup 119
using multiple control groups in
parallel and concurrent
backups 122
scheduling 90, 115, 165
serial 116
special considerations for
*SAVSYS 90
starting subsystems
with *SAVSYS 91
strategy 81
system data
with the *SYSGRP control
group 18
tailoring 81
types of 61
unattended 114
user data
with the *BKUGRP control
group 19
block size 45
BRMS 3, 4
BRMS Application Client for TSM 183
C
Calendar Report 236
calendars, move management
defining exceptions 71
establishing 71
exceptions 71
for move days 71
for working days 71
names 72
reference calendar 71
specifying dates 71
Centralized Media Audit Report
264
236
Commands 11 (continued)
DSPJOBLOG (Display Job Log) 12,
19, 37
DSPSYSVAL (Display System
Values) 12
Duplicate Media using BRMS
(DUPMEDBRM) 76
DUPMEDBRM (Duplicate Media
using BRMS) 76
End Subsystems (ENDSBS) 19
ENDSBS (End Subsystems) 19
EXTMEDIBRM (Extract Media
Information Using BRMS) 55
Extract Media Information Using
BRMS (EXTMEDIBRM) 55
Initialize BRMS (INZBRM) 11, 27
Initialize Media Using BRMS
(INZMEDBRM) 56
Initialize Media Using BRMS
(INZMEDBRM ) 56
INZBRM (Initialize BRMS) 11, 27
INZMEDBRM (Initialize Media Using
BRMS) 56
Monitor Save While Active for BRMS
(MONSWABRM) 111
MONSWABRM (Monitor Save While
Active for BRMS) 111
Move Media Using BRMS
(MOVMEDBRM) 66, 72
MOVMEDBRM (Move Media Using
BRMS) 66, 72
Restore Authority using BRMS
(RSTAUTBRM) 157
Restore Authority Using BRMS
(RSTAUTBRM) 35
Restore DLO using BRMS
(RSTDLOBRM) 157
Restore Library using BRMS
(RSTLIBBRM) 157
Restore Object using BRMS
(RSTBRM) 157
Restore Object using BRMS
(RSTOBJBRM) 157
RSTAUTBRM (Restore Authority
using BRMS) 157
RSTAUTBRM (Restore Authority
Using BRMS) 35
RSTBRM (Restore Object using BRMS)
command 157
RSTDLOBRM (Restore DLO using
BRMS) 157
RSTLIBBRM (Restore Library using
BRMS) 157
RSTOBJBRM (Restore Object using
BRMS) 157
SAVBRM (Save BRMS) 127
SAVDLOBRM (Save DLO using
BRMS) 127
SAVDOMBRM 211
Save BRMS (SAVBRM) 127
Save DLO using BRMS
(SAVDLOBRM) 127
Save Folder List using BRMS
(SAVFLRLBRM) 127
Save Library using BRMS
(SAVLIBBRM) 127
Commands 11 (continued)
Save Media Information using BRMS
(SAVMEDIBRM) 127
Save Object List using BRMS
(SAVOBJLBRM) 127
Save Object using BRMS
(SAVOBJBRM) 127
Save Save File with BRMS
(SAVSAVFBRM) command 98
Save Save Files using BRMS
(SAVSAVFBRM) 127
Save System using BRMS
(SAVSYSBRM) 128
SAVFLRLBRM (Save Folder List using
BRMS) 127
SAVLIBBRM (Save Library using
BRMS) 127
SAVLQPBRM 211
SAVMEDIBRM (Save Media
Information using BRMS) 127
SAVOBJBRM (Save Object using
BRMS) 127
SAVOBJLBRM (Save Object List using
BRMS) 127
SAVSAVFBRM (Save Save File with
BRMS) command 98
SAVSAVFBRM (Save Save Files using
BRMS) 127
SAVSYSBRM (Save System using
BRMS) 128
scheduling backups of BRMS save
commands 167
Set User Usage for BRMS
(SETUSRBRM) 175
SETUSRBRM (Set User Usage for
BRMS) 175
Start Backup using BRMS
(STRBKUBRM) 19
Start Backup Using BRMS
(STRBKUBRM) 18, 19
Start Maintenance for BRMS
(STRMNTBRM) 72, 159
Start Recovery using BRM
(STRRCYBRM) 131
Start Recovery using BRMS
(STRRCYBRM) 22, 23
Start Recovery Using BRMS
(STRRCYBRM) 20, 28
STRBKUBRM (Start Backup using
BRMS) 19
STRBKUBRM (Start Backup Using
BRMS) 18, 19
STRMNTBRM (Start Maintenance for
BRMS) 72, 159
STRRCYBRM (Start Recovery using
BRM) 131
STRRCYBRM (Start Recovery using
BRMS) 22, 23
STRRCYBRM (Start Recovery Using
BRMS) 20, 28
Work with Configuration Status
(WRKCFGSTS) 43
Work with Containers Using BRMS
(WRKCNRBRM) 65
Work with Device
Descriptions(WRKDEVD) 27
Commands 11 (continued)
Work with Devices using BRMS
(WRKDEVBRM) 27
Work with License Information
(WRKLICINF) 13
Work with Link Information
(WRKLNKBRM) 141
Work with Media Information Using
BRMS (WRKMEDIBRM) 55
Work with Media Libraries using
BRMS (WRKMLBBRM) 27, 30
Work with Media Libraries Using
BRMS (WRKMLBBRM) 47
Work with Media Library Status
(WRKMLBSTS) 25, 47
Work with Media using BRMS
(WRKMEDBRM) 17
Work with Spooled Files
(WRKSPLF) 20
Work with Spooled Files Using BRMS
(WRKSPLFBRM) 34
Work with Storage Locations Using
BRMS (WRKLOCBRM) 63
Work with Subsystems (WRKSBS) 19
Work with System Values
(WRKSYSVAL) 13
WRKCFGSTS (Work with
Configuration Status) 43
WRKCLSBRM 53
WRKCNRBRM (Work with Containers
Using BRMS) 65
WRKDEVBRM (Work with Devices
using BRMS) 27
WRKDEVD (Work with Device
Descriptions) 27
WRKLICINF (Work with License
Information) 13
WRKLNKBRM (Work with Link
Information) 141
WRKLOCBRM (Work with Storage
Locations Using BRMS) 63
WRKMEDBRM (Work with Media
using BRMS) 17
WRKMEDIBRM (Work with Media
Information Using BRMS) 55
WRKMLBBRM (Work with Media
Libraries using BRMS) 27, 30
WRKMLBBRM (Work with Media
Libraries Using BRMS) 47
WRKMLBSTS (Work with Media
Library Status) 25, 47
WRKSBS (Work with Subsystems) 19
WRKSPLF (Work with Spooled
Files) 20
WRKSPLFBRM (Work with Spooled
Files Using BRMS) 34
WRKSYSVAL (Work with System
Values) 13
communications
APPC 194
APPN 193
in a BRMS network 193
concurrent backups 116
when to use 117
concurrent recoveries 150
configuration data
recovering 30
265
D
device pooling 45
Device Report 238
devices
adding 43
automatically 43
manually 44
auto enroll media 45
changing configuration 46
changing device information
media libraries 46
changing information 44
auto enroll media 45
density 46
optimum block size 45
shared device 45
standalone devices 44
changing name 46
266
devices (continued)
configuration 46
density 46
initializing 43
last active 49
optimum block size 45
pooling 45
security 178
sharing 45
varying on 43, 44
working with 43
directory objects, recovering 34
Display ASP Information Report 22
Display Job Log (DSPJOBLOG) 12
Display Job Log (DSPJOBLOG)
command 19, 37
Display System Values (DSPSYSVAL) 12
DLOs (document library objects) 33
document library objects (DLOs),
recovering 33
DSPJOBLOG (Display Job Log)
command 19, 37
Duplicate Media using BRMS
(DUPMEDBRM) command 76
duplicating media 76
limitations 76
saving media information 78
Tivoli Storage Manager (TSM)
servers 77
DUPMEDBRM (Duplicate Media using
BRMS) command 76
dynamic retrieval 216
E
End Subsystems (ENDSBS) command 19
ENDSBS (End Subsystems) command 19
enrolling media 54
automatically 54
existing 55
multiple volumes
for media libraries 54
for stand-alone devices 54
EXTMEDIBRM (Extract Media
Information Using BRMS)
command 55
Extract Media Information Using BRMS
(EXTMEDIBRM) command 55
F
file groups 69
folders
recovering 146
saving with object detail 146
functional authority 27
functional usage model 175
backup usage levels 176
backup control groups 176
backup lists 176
backup policy 176
basic backup activities 176
how it works 175
implementing
using Operations Navigator 178
media management usage levels 177
advanced media activities 177
H
hierarchical storage management
HSM 3
I
IBM Content Manager onDemand for
iSeries, recovering 37
IBM product libraries, recovering 31
independent disk pools 23
initial program load (IPL)
performing 38
Initialize BRMS (INZBRM) command 27
Initialize Media Using BRMS
(INZMEDBRM ) command 56
Initialize Media Using BRMS
(INZMEDBRM) command 56
initializing
BRMS 11
BRMS for online backups 207
device information 27
devices 43
Initialize BRMS (INZBRM)
command 27
media library information 27
volumes 56
for use by media libraries 56
how many 57
installing
BRMS 11
hardware requirements 11
instructions 12
software requirements 11
Integrated File System
recovering objects 131
with STRRCYBRM 138
restoring objects to /QLANSrv 139
INZBRM 43
INZBRM (Initialize BRMS) command 27
J
job log, printing 37
job queues
holding 100
releasing 100
job scheduler
changing 169
substitution variables 170
journal changes
applying 34
recovering 34
L
labels
customizing 79
external 78
media 78
printing 78
LAN servers
restoring IFS objects to 139
last active device 49
libraries
IBM product 31
omitting from a backup 97
QGPL 29
QSYS2 29
QUSRSYS 29, 97
recovering 29, 131
IBM product 31
user 32
with STRRCYBRM 137
special considerations when
saving 97
user 32
Library Backup Analysis Report 238
license, BRMS 13
Licensed Internal Code, recovering 24
Link Information Report 238
Location Analysis Report 239
Log Report 239
Lotus server online backups 207
M
maintenance 159
Backup Activity Report 160
Centralized Media Audit Report 161
messages 163
reports
Backup Activity Report 160
BRMS Recovery Reports 160
Centralized Media Audit
Report 161
Save Strategy Exceptions
Report 160
Tape Volume Report 161
Volume Statistics Report 161
Volume Threshold Report 161
running as an *EXIT 163
media (continued)
creating 61
defaults 61
home location 62
how BRMS uses 62
media policy 62
move policy 62
system policy 62
uses of 62
Work with Storage Locations
(WRKLOCBRM) display 63
storing 8, 59
tape I/O from a program 219
tracking 8, 75
verifying movement 73
Media and Storage Extensions,
installing 11
media class
adding 53
creating 53
definition 16, 52
description 53
determining 16
security 177
working with 52
Media Class Report 240
Media Expiration Report 240
Media Information Report 240
media inventory 75
media libraries
adjustments to BRMS when
using 213
advantages 47
archiving 216
automating recovery with 25
basic setup 213
changing device information 46
Configure Device Media Library
(CFGDEVMLB) command 25
creating on your system 213
definition 46
determining status 25
enrolling media in 214
enrolling multiple volumes 54
how BRMS uses 46
initializing volumes for 56
model 3494
attaching through an RS232
connection 30
configuring communications 25
varying on LAN line
description 23
varying on the LAN line
description 30
moving volumes 217
non-IBM 48
performing a normal save
operation 215
recovering an entire system 216
recovery process 215
recovery without using random
mode 25
releasing 44
resetting information 30
save and restore tasks 215
saving licensed programs 215
saving storage 215
Index
267
268
N
network feature 3
networking 191
changing a system name 198
copying control groups 202
how networks communicate 193
joining two BRMS networks 201
receiving media information 199
removing a system from a
network 205
removing network feature 206
security considerations 204
setting up 194
sharing media inventory 191
synchronizing media inventory 191
verifying the network 203
next volume message prompt, setting
up 58
O
object level detail 86
objects in directories, recovering 34
omitting
libraries from a backup 97
online backups
adding media 208
choosing the device 208
choosing the media class 208
copying Lotus server control
groups 212
enrolling media 208
how they work 207
initializing BRMS for 207
limitations 211
Lotus server 207
performance tuning 211
Domino servers 211
QuickPlace servers 211
performing 208
planning for disaster recovery 210
recommendations 211
restrictions 210
starting 209
viewing saved items 209
operating system, recovering 24
Operations Navigator
implementing the functional usage
model 178
optimum block size 45
P
parallel backups 117
restrictions 117
setting up 117
when to use 117
parallel recoveries 150
performing 151
policies
and control groups 6
backup 5, 84
how they work 5
media 5, 59, 62
move 5, 62
recovery 5, 129
policies (continued)
system 5
types 5
pooling devices 45
preparing
media 52
presentation controls 84
defaults 84
printing
customized labels 79
external labels 78
job log 37
labels 53, 78
media labels 78
media status reports 76
movement-related reports 74
recovery reports 19, 22
profiles 28
program temporary fixes (PTFs) 37
applying 37
reloading latest cumulative 12
programs 249
PTF 37
Q
QALLSPLF spooled file list 104
QALWUSRDMN system value 13
QATACGY file 97
QATADEV file 97
QATAMID file 97
QGPL library 29
QP1A2RCY spooled file 20, 22
QP1AASP spooled file 20, 22
QP1ARCY spooled file 20, 22
QSYS2 library 29
QUSRBRM library 23, 26
generating a Recovering Your Entire
System report from 153
QUSRSYS library 23, 29
QATACGY file 97
QATADEV file 97
QATAMID file 97
R
recovering 21
authority 35
authorization information 35
automating your recovery 25
BRMS libraries 25
BRMS product 25
configuration data 30
control groups
multiple 136
with STRRCYBRM 133
creating a recovery activities list 155
creating a recovery contact list 154
Cryptographic Access Provider for
iSeries 37
directory objects 34
Display ASP Information Report 22
DLOs (document library objects) 33
document library objects (DLOs) 33
entire system 21
including LAN Server
environment 142
recovering 21 (continued)
entire system 21 (continued)
using a media library 216
folders 146
generating a Recovering Your Entire
System report from the QUSRBRM
data files 153
IBM Content Manager onDemand for
iSeries 37
IBM product libraries 31
IFS objects
with STRRCYBRM 138
independent disk pools 23
integrated file system objects
with STRRCYBRM 138
iSeries Integration for Windows
Server 35
journal changes 34
libraries
with STRRCYBRM 137
Licensed Internal Code 24
Lotus server databases 210
media information 26
multiple control groups 136
multiple control groups
concurrently 150
objects in directories 34
objects with object detail 144
objects without object detail 145
operating system 24
printing recovery reports 22
Recovering Your Entire System 21
recovery reports 21
Recovery Volume Summary
Report 22
remaining system data 31
remaining user data 31
restarting a recovery 38
resuming a recovery 152
scheduling 165
selected items 129
spooled files 34, 148
Start Recovery using BRMS
(STRRCYBRM) 22
Start Recovery using BRMS
(STRRCYBRM) command 23
storage spaces 141
STRRCYBRM (Start Recovery using
BRMS) 22
system libraries 29
testing 38
tips 38
recovery reports 39
restarting a recovery 38
using OS/400 38
to a different system 28
allowing object differences 28
to a system in a different network 28
to the same system 28
user libraries 32
user profiles 28, 143
using OS/400 to assist 38
with the recovery policy 129
without the Recovery Analysis
Resport 153
identifying the tapes you
need 153
269
reports (continued)
Media Volume Threshold 243
Move Policy 243
movement-related 74
printing 19
media status 76
movement-related 74
recovery 22
Recovering Your Entire System 21
using to recover LAN Server
environment 142
Recovering Your Entire System Report
using 23
recovery 21
Recovery Activities 244
Recovery Analysis 244
Recovery Analysis Report 21
Recovery Policy 244
Recovery Volume Summary 244
Recovery Volume Summary
Report 22
Save Files 245
Save Strategy Exceptions 245
Save Strategy Exceptions Report 160
Saved Folders 245
Saved Objects 245
Saved Spooled Files by Date 245
Storage Location 246
summary of 235
System Policy 246
Tape Volume Report 161
Version Control 246
Volume Movement 247
Volume Statistics Report 161
Volume Threshold Report 161
resetting device and media library
information 30
Restore Authority using BRMS
(RSTAUTBRM) command 157
Restore Authority Using BRMS
(RSTAUTBRM) command 35
Restore DLO using BRMS (RSTDLOBRM)
command 157
Restore Library using BRMS
(RSTLIBBRM) command 157
Restore Object using BRMS (RSTBRM)
command 157
Restore Object using BRMS
(RSTOBJBRM) command 157
restoring 141
retaining object level detail 86
retention, media 60, 61
full backups 61
incremental backups 61
RSTAUTBRM (Restore Authority using
BRMS) command 157
RSTAUTBRM (Restore Authority Using
BRMS) command 35
RSTBRM (Restore Object using BRMS)
command 157
RSTDLOBRM (Restore DLO using BRMS)
command 157
RSTLIBBRM (Restore Library using
BRMS) command 157
RSTOBJBRM (Restore Object using
BRMS) command 157
270
S
SAVBRM (Save BRMS) command 127
SAVDLOBRM (Save DLO using BRMS)
command 127
SAVDOMBRM 211
Save BRMS (SAVBRM) command 127
Save DLO using BRMS (SAVDLOBRM)
command 127
Save Files Report 245
Save Folder List using BRMS
(SAVFLRLBRM) command 127
Save Library using BRMS (SAVLIBBRM)
command 127
Save Media Information using BRMS
(SAVMEDIBRM) command 127
Save Object List using BRMS
(SAVOBJLBRM) command 127
Save Object using BRMS (SAVOBJBRM)
command 127
Save Save File with BRMS
(SAVSAVFBRM) command 98
Save Save Files using BRMS
(SAVSAVFBRM) command 127
Save Strategy Exceptions Report 245
Save System using BRMS (SAVSYSBRM)
command 128
save-while-active feature 109
activating 110
advantages 109
message queue 114
messages 114
monitoring for synchronization
checkpoints 111
using *ALLPROD special value
with 110
using *ALLUSR special value
with 110
using without commitment
control 109
using without journaling 109
Saved Folders Report 245
Saved Objects Report 245
Saved Spooled Files by Date Report 245
SAVFLRLBRM (Save Folder List using
BRMS) command 127
SAVLIBBRM (Save Library using BRMS)
command 127
SAVLQPBRM 211
SAVMEDIBRM (Save Media Information
using BRMS) command 127
SAVOBJBRM (Save Object using BRMS)
command 127
SAVOBJLBRM (Save Object List using
BRMS) command 127
SAVSAVFBRM (Save Save File with
BRMS) command 98
SAVSAVFBRM (Save Save Files using
BRMS) command 127
SAVSYSBRM (Save System using BRMS)
command 128
scheduling
*SAVSYS backups 90
backups 165
with *SAVSYS in them 90
BRMS save command backups 167
changing the job scheduler 169
substitution variables 170
scheduling (continued)
control group backups 165
restrictions 167
maintenance 161
recoveries 165, 168
scheduling an *SAVSYS with console
monitoring 91
selected recoveries 168
viewing scheduled jobs 169
working with scheduled jobs 168
security
console monitor 180
functional usage model 175
backup function 176
how it works 175
in a network 204
media 182
recommendations 181
working with OS/400 security
controls 181
recommendations 181
serial backups 116
serial recoveries 150
Set User Usage for BRMS (SETUSRBRM)
command 175
setting up
BRMS network 194
media inventory system 57
media management 51
next volume message prompt 58
SETUSRBRM (Set User Usage for BRMS)
command 175
sharing devices 45
signing off interactive users 7
special operations 89
exit programs 89
tape loading 89
special values 89
*ALLDLO 89
*ALLPROD 89
*ALLTEST 89
*ALLUSR 89
*ASPnn 89
*DLOnn 89
*EXIT 107
*IBM 89
*LINK 89
*QHST 89
*SAVCAL 89
*SAVCFG 89
*SAVSECDTA 89
*SAVSYS 90
authority needed 90
restrictions 90
special considerations 90
using 90
spooled files
backing up 103
creating spooled file lists 103
list 34
QALLSPLF spooled file list 104
QP1A2RCY 20, 22
QP1AASP 20, 22
QP1ARCY 20, 22
recovering 34, 148
saving 34
T
tape automation 213
tape input/output 219
input processing 223
messages 232
processing techniques 231
tape file processing 221
with multiple devices 225
calling the program 229
compiling the program 226
creating tape file objects 225
indicating which drives to
use 226
managing the media 228
results 229
tape library 25
third party media libraries 48
Tivoli Storage Manager (TSM) 23
adding a location 185
benefits 183
Create a media policy 186
duplicating items saved to 77
overview 183
restrictions 183
setting up 184
TSM (ADSM) Server 184
TSM Client 184
TSM application program interfaces
(APIs) 184
TSM 23
U
uninstalling BRMS 13
updating
license information 13
user exits
definition 107
in control groups 107
in Lotus server backups 212
postprocessing activities 108
processing 107
user libraries, recovering 32
user profiles
allowing object differences 28
QSECOFR
changing 38
recovering 28, 143
V
varying on
device 43
varying on (continued)
media library 43
verifying system information 35
Version Control Report 246
Volume Movement Report 247
W
Work with Configuration Status
(WRKCFGSTS) command 43
Work with Containers Using BRMS
(WRKCNRBRM) command 65
Work with Device Descriptions
(WRKDEVD) command 27
Work with Devices using BRMS
(WRKDEVBRM) command 27
Work with Link Information
(WRKLNKBRM) command 141
Work with Media Classes Using BRMS
(WRKCLSBRM) command 53
Work with Media Information Using
BRMS (WRKMEDIBRM) command 55
Work with Media Libraries using BRMS
(WRKMLBBRM) command 27, 30
Work with Media Libraries Using BRMS
(WRKMLBBRM) command 47
Work with Media Library Status
(WRKMLBSTS) command 25, 47
Work with Media using BRMS
(WRKMEDBRM) command 17
Work with Spooled Files (WRKSPLF)
command 20
Work with Spooled Files Using BRMS
(WRKSPLFBRM) command 34
Work with Storage Locations
(WRKLOCBRM) display 63
Work with Storage Locations Using
BRMS (WRKLOCBRM) command 63
Work with Subsystems (WRKSBS)
command 19
Work with System Values
(WRKSYSVAL) 13
working with devices 43
WRKCFGSTS (Work with Configuration
Status) command 43
WRKCLSBRM 53
WRKCLSBRM (Work with Media Classes
Using BRMS) command 53
WRKCNRBRM (Work with Containers
Using BRMS) command 65
WRKDEVBRM (Work with Devices using
BRMS) command 27
WRKDEVD (Work with Device
Descriptions) command 27
WRKLICINF (Work with License
Information) command 13
WRKLNKBRM (Work with Link
Information) command 141
WRKLOCBRM (Work with Storage
Locations Using BRMS) command 63
WRKMEDBRM (Work with Media using
BRMS) command 17
WRKMEDIBRM (Work with Media
Information Using BRMS)
command 55
WRKMLBBRM (Work with Media
Libraries using BRMS) command 27,
30
Index
271
19
272
Overall satisfaction
Very Satisfied
Satisfied
Neutral
Dissatisfied
Very
Dissatisfied
h
How satisfied are you that the information in this book is:
Accurate
Complete
Easy to find
Easy to understand
Well organized
Applicable to your tasks
Very Satisfied
Satisfied
Neutral
Dissatisfied
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
h
Very
Dissatisfied
h
h
h
h
h
h
h Yes
h No
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any
way it believes appropriate without incurring any obligation to you.
Name
Company or Organization
Phone No.
Address
SC41-5345-02
___________________________________________________________________________________________________
Cut or Fold
Along Line
_ _ _ _ _ _ _Fold
_ _ _and
_ _ _Tape
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please
_ _ _ _ _do
_ _not
_ _ staple
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Fold
_ _ _and
_ _ Tape
______
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
IBM CORPORATION
ATTN DEPT 542 IDCLERK
3605 HWY 52 N
ROCHESTER MN 55901-7829
_________________________________________________________________________________________
Fold and Tape
Please do not staple
Fold and Tape
SC41-5345-02
Cut or Fold
Along Line
SC41-5345-02